summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-08-10 20:37:00 +0000
committerKarl Berry <karl@freefriends.org>2022-08-10 20:37:00 +0000
commitfbeb579eec660c36b0a6fa06abfe7527cd99de78 (patch)
tree061344e8f396c46325a4d54237e1ed0292997eea /Master/texmf-dist/doc
parentb1d7ac49bdf78678d5defce43a67afcf8dd7a8a1 (diff)
simplebnf (10aug22)
git-svn-id: svn://tug.org/texlive/trunk@64091 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/simplebnf/LICENSE2
-rw-r--r--Master/texmf-dist/doc/latex/simplebnf/simplebnf-doc.tex23
2 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/simplebnf/LICENSE b/Master/texmf-dist/doc/latex/simplebnf/LICENSE
index 3a0de6d06fd..720f8374bac 100644
--- a/Master/texmf-dist/doc/latex/simplebnf/LICENSE
+++ b/Master/texmf-dist/doc/latex/simplebnf/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright © 2019-2020 Jay Lee <jaeho.lee@snu.ac.kr>
+Copyright © 2019-2022 Jay Lee <jaeho.lee@snu.ac.kr>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the "Software"),
diff --git a/Master/texmf-dist/doc/latex/simplebnf/simplebnf-doc.tex b/Master/texmf-dist/doc/latex/simplebnf/simplebnf-doc.tex
index 30ea889f18b..99ac96780b2 100644
--- a/Master/texmf-dist/doc/latex/simplebnf/simplebnf-doc.tex
+++ b/Master/texmf-dist/doc/latex/simplebnf/simplebnf-doc.tex
@@ -32,10 +32,10 @@
\title{%
\textsf{simplebnf} --- A simple package to format Backus-Naur form%
- \footnote{This file describes v0.3.0.}}
+ \footnote{This file describes v0.3.1.}}
\author{Jay Lee\footnote{E-mail: %
\href{mailto:jaeho.lee@snu.ac.kr}{\texttt{jaeho.lee@snu.ac.kr}}}}
-\date{2022/05/07}
+\date{2022/05/08}
\begin{document}
\maketitle
@@ -43,9 +43,24 @@
This package provides a simple way to typeset grammars written in Backus-Naur form (BNF).
\begin{presentcommand}
- \cmd{bnfexpr} \cmd{bnfannot}
+ \cmd{SimpleBNFDefEq}
\end{presentcommand}
-These commands are wrappers around \cmd{texttt} and \cmd{textit} respectively.
+This command is used to typeset the definition symbol separate a nonterminal from its productions. It defaults to \SimpleBNFDefEq. It can be redefined to customized output using \verb|RenewDocumentCommand|.
+
+\begin{presentcommand}
+ \cmd{SimpleBNFDefOr}
+\end{presentcommand}
+This command is used to typeset the separator symbol between productions. It defaults to \SimpleBNFDefOr. It can be redefined to customized output using \verb|RenewDocumentCommand|.
+
+\begin{presentcommand}
+ \cmd{bnfexpr}
+\end{presentcommand}
+This command is used when typesetting the BNF nonterminal and productions. It defaults to a wrappers around \cmd{texttt}. It can be redefined to customized output using \verb|RenewDocumentCommand|.
+
+\begin{presentcommand}
+ \cmd{bnfannot}
+\end{presentcommand}
+This command is used when typesetting the annotations on nonterminals and productions. It defaults to a wrappers around \cmd{textit}. It can be redefined to customized output using \verb|RenewDocumentCommand|.
\begin{presentcommand}
\env{bnfgrammar}{text}