summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pmdb/examples/tst-paras.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-28 03:00:29 +0000
committerNorbert Preining <norbert@preining.info>2019-12-28 03:00:29 +0000
commit1d29cc334a5a588ee0a0678be215be65df74d6aa (patch)
treee9a2aa82a482862f09a47184a1db0a57a16415cd /macros/latex/contrib/pmdb/examples/tst-paras.tex
parent9e5fd640685233da79d1b74327f9fe3edf173471 (diff)
CTAN sync 201912280300
Diffstat (limited to 'macros/latex/contrib/pmdb/examples/tst-paras.tex')
-rw-r--r--macros/latex/contrib/pmdb/examples/tst-paras.tex40
1 files changed, 40 insertions, 0 deletions
diff --git a/macros/latex/contrib/pmdb/examples/tst-paras.tex b/macros/latex/contrib/pmdb/examples/tst-paras.tex
new file mode 100644
index 0000000000..550e58dbe7
--- /dev/null
+++ b/macros/latex/contrib/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}
+