diff options
author | ax006ho <j.hoffmann@fh-aachen.de> | 2019-04-15 18:04:55 +0200 |
---|---|---|
committer | ax006ho <j.hoffmann@fh-aachen.de> | 2019-04-15 18:04:55 +0200 |
commit | 27b0fa4c882693880c05233cc9db0b3cff1dce56 (patch) | |
tree | 02718553173ac9b66439c4e2d8b39b066e09a167 | |
parent | 57726e69e11a84cc907c198c88d67f040396b7b3 (diff) | |
download | listings-27b0fa4c882693880c05233cc9db0b3cff1dce56.tar.gz listings-27b0fa4c882693880c05233cc9db0b3cff1dce56.tar.bz2 |
enhanced the documentation
-rw-r--r-- | listings.dtx | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/listings.dtx b/listings.dtx index d5c9d88..39df19b 100644 --- a/listings.dtx +++ b/listings.dtx @@ -3465,7 +3465,7 @@ % \end{table} % % -% \paragraph{Strings} +% \paragraph{Strings}\label{uStrings} % \begin{syntax} % \item[0.12] % \rkeyname{string}|=|\oarg{\alternative{b,d,m,bd,s}}\marg{delimiter @@ -9751,7 +9751,8 @@ % \end{macrocode} % % \begin{macro}{\lst@stringtypes} -% is the list of \ldots\space string types? +% is the list of \ldots\space string types? The several valid string +% types are defined on page~\pageref{uStrings}. % \begin{macrocode} \gdef\lst@stringtypes{d,b,m,bd,db,s} % \end{macrocode} @@ -13607,8 +13608,16 @@ % \end{lstkey}\end{lstkey}\end{lstkey}\end{macro} % The following code is just copied from the current development version, and % from the |lstpatch.sty| file that Carsten left in version 1.3b for doing -% line ranges with numbers and range markers. +% line ranges with numbers and range markers. It uses some more keys: % +% \begin{lstkey}{linerange} +% \begin{lstkey}{rangeprefix} +% \begin{lstkey}{rangesuffix} +% \begin{lstkey}{rangebeginprefix} +% \begin{lstkey}{rangebeginsuffix} +% \begin{lstkey}{rangeendprefix} +% \begin{lstkey}{rangeendsuffix} +% \begin{lstkey}{includerangemarker} % First, the options that control the line-range handling. % \begin{macrocode} \lst@Key{linerange}\relax{\lstKV@OptArg[]{#1}{% @@ -13689,6 +13698,9 @@ % \begin{macrocode} \lst@AddToHookExe{DeInit}{\global\let\lst@DefRange\@empty} % \end{macrocode} +% \end{lstkey}\end{lstkey}\end{lstkey} +% \end{lstkey}\end{lstkey}\end{lstkey} +% \end{lstkey}\end{lstkey} % % Actually defining the marker (via |\lst@GLI@|, |\lst@DefRange|, % |\lst@CArgX| as seen above) is similar to |\lst@DefDelimB|---except that |