diff options
Diffstat (limited to 'graphics/circuit_macros/doc')
-rw-r--r-- | graphics/circuit_macros/doc/Circuit_macros.pdf | bin | 950156 -> 973887 bytes | |||
-rw-r--r-- | graphics/circuit_macros/doc/Circuit_macros.tex | 10 | ||||
-rw-r--r-- | graphics/circuit_macros/doc/Makefile | 4 | ||||
-rw-r--r-- | graphics/circuit_macros/doc/Version.tex | 2 | ||||
-rw-r--r-- | graphics/circuit_macros/doc/body.tex | 14 |
5 files changed, 19 insertions, 11 deletions
diff --git a/graphics/circuit_macros/doc/Circuit_macros.pdf b/graphics/circuit_macros/doc/Circuit_macros.pdf Binary files differindex 6e50fe8ba6..a9c34834ce 100644 --- a/graphics/circuit_macros/doc/Circuit_macros.pdf +++ b/graphics/circuit_macros/doc/Circuit_macros.pdf diff --git a/graphics/circuit_macros/doc/Circuit_macros.tex b/graphics/circuit_macros/doc/Circuit_macros.tex index 49e6570970..fcd9e09fa6 100644 --- a/graphics/circuit_macros/doc/Circuit_macros.tex +++ b/graphics/circuit_macros/doc/Circuit_macros.tex @@ -58,6 +58,8 @@ \let\@@tmp\@svsec\def\@svsec{\llap{\@@tmp}}% }} +\renewcommand\contentsname{Contents, \Version} + \makeatother \hypersetup{ @@ -70,11 +72,17 @@ \begin{document} \title{M4 Macros for Electric Circuit Diagrams in \LaTeX\ Documents} \author{Dwight Aplevich} +\enlargethispage{\baselineskip} \date{% -\input Version +%\input Version \vspace*{-\baselineskip} } \maketitle +% \pdfbookmark[section]{\contentsname}{toc} + \pdfbookmark[section]{Contents}{toc} +\begin{multicols}{2} + \tableofcontents +\end{multicols} \input body diff --git a/graphics/circuit_macros/doc/Makefile b/graphics/circuit_macros/doc/Makefile index fb7ed9bc93..1abd51504e 100644 --- a/graphics/circuit_macros/doc/Makefile +++ b/graphics/circuit_macros/doc/Makefile @@ -67,7 +67,7 @@ M4LIBS = $(MODE).m4 $(DOC).pdf: touch mode.tex -if grep -q tikz mode.tex ; then true ; else \ - make clean ; printf "\\usepackage{tikz}\n" > mode.tex ; fi + rm mode.tex; make MODE=tikz clean mode.tex ; fi make MODE=pgf PIC="dpic -g" LATEX=pdflatex SFX=pdf \ POST="; printf '\\\\vspace*{-0.5\\\\baselineskip}\\n'" \ $(DOC).pdf @@ -113,6 +113,8 @@ mode.tex: -if test "$(MODE)" = "pstricks" ; then \ printf "\\usepackage{pstricks}\n" > mode.tex ; else \ printf "\\usepackage{tikz}\n" > mode.tex ; fi + printf "\\def\\Version{" >> mode.tex + sed -e 's/$$/}/' Version.tex >> mode.tex heading.tex: printf '\\documentclass{article}\n' > heading.tex diff --git a/graphics/circuit_macros/doc/Version.tex b/graphics/circuit_macros/doc/Version.tex index 9d14ec204e..ccce7cfa86 100644 --- a/graphics/circuit_macros/doc/Version.tex +++ b/graphics/circuit_macros/doc/Version.tex @@ -1 +1 @@ -Version 9.4 +Version 9.5 diff --git a/graphics/circuit_macros/doc/body.tex b/graphics/circuit_macros/doc/body.tex index ac8db93ef5..0afb23e5be 100644 --- a/graphics/circuit_macros/doc/body.tex +++ b/graphics/circuit_macros/doc/body.tex @@ -41,10 +41,10 @@ % \newcommand{\Example}[1]{\vspace{\parsep}\noindent {\bf Example #1:}} % - \pdfbookmark[section]{\contentsname}{toc} -\begin{multicols}{2} - \tableofcontents -\end{multicols} +% \pdfbookmark[section]{\contentsname}{toc} +%\begin{multicols}{2} +% \tableofcontents +%\end{multicols} % \xection{Introduction\label{Introduction:}} \begin{quotation}\noindent @@ -55,10 +55,8 @@ gratifying to try with a computer~\cite{Landauer95}. \end{quotation} -This manual -%\footnote{% -%This manual is best viewed with a reader that shows bookmarks -%for easy navigation and for exploring the list of defined macros.}% +This manual\footnote{% +This document is best displayed with a reader that shows bookmarks.} describes a method for drawing electric circuits and other diagrams in \latex and web documents. The diagrams are defined in the simple \pic drawing language~\cite{KRpic} |