summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-29 21:23:09 +0000
committerKarl Berry <karl@freefriends.org>2023-01-29 21:23:09 +0000
commit0d39815152532111e22cc57db55c73fda1939fa9 (patch)
tree11768c5776093912cdc5dd2483b1db7bfa7cb0f3 /Master/texmf-dist/doc/latex
parentefd04c4c2b49f26b1240861e3ce3d274d8014183 (diff)
naive-ebnf (29jan23)
git-svn-id: svn://tug.org/texlive/trunk@65674 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/naive-ebnf/DEPENDS.txt3
-rw-r--r--Master/texmf-dist/doc/latex/naive-ebnf/LICENSE.txt21
-rw-r--r--Master/texmf-dist/doc/latex/naive-ebnf/README.md33
-rw-r--r--Master/texmf-dist/doc/latex/naive-ebnf/naive-ebnf.pdfbin0 -> 443528 bytes
4 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/naive-ebnf/DEPENDS.txt b/Master/texmf-dist/doc/latex/naive-ebnf/DEPENDS.txt
new file mode 100644
index 00000000000..489f2ded15f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/naive-ebnf/DEPENDS.txt
@@ -0,0 +1,3 @@
+hard pgfopts
+hard filecontentsdef
+hard expl3 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/naive-ebnf/LICENSE.txt b/Master/texmf-dist/doc/latex/naive-ebnf/LICENSE.txt
new file mode 100644
index 00000000000..412bdfe98eb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/naive-ebnf/LICENSE.txt
@@ -0,0 +1,21 @@
+(The MIT License)
+
+Copyright (c) 2023 Yegor Bugayenko
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the 'Software'), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/Master/texmf-dist/doc/latex/naive-ebnf/README.md b/Master/texmf-dist/doc/latex/naive-ebnf/README.md
new file mode 100644
index 00000000000..6e02dfc45c6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/naive-ebnf/README.md
@@ -0,0 +1,33 @@
+[![l3build](https://github.com/yegor256/naive-ebnf/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/naive-ebnf/actions/workflows/l3build.yml)
+[![CTAN](https://img.shields.io/ctan/v/naive-ebnf)](https://ctan.org/pkg/naive-ebnf)
+[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/naive-ebnf/blob/master/LICENSE.txt)
+
+This LaTeX package helps you typeset an
+[Extended Backus-Naur Form](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form) (EBNF)
+using plain text format.
+
+First, [install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages)
+from [CTAN](https://ctan.org/pkg/naive-ebnf)
+and then use in the preamble:
+
+```text
+\documentclass{article}
+\usepackage{naive-ebnf}
+\begin{document}
+\begin{ebnf}
+<Expression> := <Variable>
+ | "$\lambda$" <Variable> "." <Expression>
+ | "(" <Expression> <Expression> ")"
+\end{ebnf}
+\end{document}
+```
+
+Otherwise, you can download [`naive-ebnf.sty`](https://raw.githubusercontent.com/yegor256/naive-ebnf/gh-pages/naive-ebnf/naive-ebnf.sty) and add to your project.
+
+## How to Contribute
+
+If you want to contribute yourself, make a fork, then create a branch,
+then run `l3build ctan` in the root directory.
+It should compile everything without errors. If not, submit an issue and wait.
+Otherwise, make your changes and then run `l3build ctan` again. If the build is
+still clean, submit a pull request.
diff --git a/Master/texmf-dist/doc/latex/naive-ebnf/naive-ebnf.pdf b/Master/texmf-dist/doc/latex/naive-ebnf/naive-ebnf.pdf
new file mode 100644
index 00000000000..fdf6d14f902
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/naive-ebnf/naive-ebnf.pdf
Binary files differ