diff options
author | Norbert Preining <norbert@preining.info> | 2023-07-15 03:00:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-07-15 03:00:53 +0000 |
commit | f506889527fff6570e2878d55abbacf7227f2b3e (patch) | |
tree | cd24fedd1e37c61b098b38f95487b69d29e37397 /macros/latex/contrib/naive-ebnf | |
parent | d4f9602cb865c2132ad3893fdb906be0f87f4d06 (diff) |
CTAN sync 202307150300
Diffstat (limited to 'macros/latex/contrib/naive-ebnf')
-rw-r--r-- | macros/latex/contrib/naive-ebnf/naive-ebnf.dtx | 8 | ||||
-rw-r--r-- | macros/latex/contrib/naive-ebnf/naive-ebnf.pdf | bin | 717939 -> 718356 bytes |
2 files changed, 5 insertions, 3 deletions
diff --git a/macros/latex/contrib/naive-ebnf/naive-ebnf.dtx b/macros/latex/contrib/naive-ebnf/naive-ebnf.dtx index 0fee1be6a5..804e2121b9 100644 --- a/macros/latex/contrib/naive-ebnf/naive-ebnf.dtx +++ b/macros/latex/contrib/naive-ebnf/naive-ebnf.dtx @@ -50,7 +50,7 @@ %<package>\NeedsTeXFormat{LaTeX2e} %<package>\ProvidesPackage{naive-ebnf} %<*package> -[2023-07-13 0.0.12 EBNF in Plain Text] +[2023-07-14 0.0.13 EBNF in Plain Text] %</package> %<*driver> \documentclass{ltxdoc} @@ -185,7 +185,7 @@ % \DescribeMacro{\EbnfRegex} % A regular expression is possible too: -% \docshotOptions{firstline=6,lastline=11} +% \docshotOptions{firstline=6,lastline=12} % \begin{docshot} % \documentclass{article} % \pagestyle{empty} @@ -197,6 +197,7 @@ % <bool> := "TRUE" | "FALSE" \\ % <integer> := /(+\char`\|-)?[0-9]+/ \\ % <byte> := /[0-9a-f]\char`\{2\char`\}/ \\ +% <number> := /[1-9]+/ /[0-9]+/ % \end{ebnf} % \end{document} % \end{docshot} @@ -406,7 +407,8 @@ \regex_replace_all:nnN { ([^\s])\|([^\s]) } {\1\\textbar{}\2} \ebnf_tmp% % - \regex_replace_all:nnN { \s/(.+?)/\s }% + \regex_replace_all:nnN + { /(.+?)/ }% {\c{ebnf@regexp}{\1}} \ebnf_tmp% \cs_new:Npn\ebnf_curled{% \regex_replace_all:nnNT diff --git a/macros/latex/contrib/naive-ebnf/naive-ebnf.pdf b/macros/latex/contrib/naive-ebnf/naive-ebnf.pdf Binary files differindex 14ab57dbd2..ee1c39c6b9 100644 --- a/macros/latex/contrib/naive-ebnf/naive-ebnf.pdf +++ b/macros/latex/contrib/naive-ebnf/naive-ebnf.pdf |