summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/pmdb/examples/tst-paras.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-28 16:13:03 +0900
committerNorbert Preining <norbert@preining.info>2019-12-28 16:13:03 +0900
commitee61edfd06a1aa466f473bc5b5ee0f44760e0bb6 (patch)
treebf59d44319b4d5eac2cb998b0c06c816595eee2d /texmf-dist/doc/latex/pmdb/examples/tst-paras.tex
parentc4f0f121c75a50c8edd889c3518271a6ac1842e2 (diff)
new pmdb
Diffstat (limited to 'texmf-dist/doc/latex/pmdb/examples/tst-paras.tex')
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/tst-paras.tex40
1 files changed, 40 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/pmdb/examples/tst-paras.tex b/texmf-dist/doc/latex/pmdb/examples/tst-paras.tex
new file mode 100644
index 00000000..550e58db
--- /dev/null
+++ b/texmf-dist/doc/latex/pmdb/examples/tst-paras.tex
@@ -0,0 +1,40 @@
+% Requires Version 1.7 of aeb_pro.js
+% Checkbox: Maintain an array of paths selected; unchecking removes that item from the path.
+\documentclass{book}
+\usepackage{eforms}
+\usepackage[dbmode]{pmdb}
+
+%\usepackage{srcltx}
+
+%\previewOn\pmpvOn
+
+% The default input mode
+%\InputParas
+
+\def\cs#1{\texttt{\eqbs#1}}
+
+\begin{document}
+
+\chapter*{Preface}
+
+In this package, \cs{pmInput} is defined. This package command places a checkbox
+in the margins and executes an \cs{input} command.
+
+\medskip\noindent\textbf{Rules to live by}\begin{itemize}
+ \item Always include the extension: \texttt{doc1.tex} not \texttt{doc1}.
+ \item If the path contains spaces, enclose the path in double quotes, like so,
+ \texttt{"my doc1.tex"}, not \texttt{my doc1.tex}.
+\end{itemize}
+
+
+% Adjust paths as needed
+\pmInput{chapters/doc1.tex}
+
+%\input{"my doc2.tex"}
+\pmInput{"C:/Users/Public/Documents/My TeX Files/tex/latex/aeb/pmdb/examples/chapters/doc2.tex"}
+
+\medskip\noindent
+\displayChoices{}{11bp}\cgBdry[1em]\clrChoices{}{11bp}
+
+\end{document}
+