diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-30 20:30:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-30 20:30:02 +0000 |
commit | 8624a5d970faf95011e4ab23ae9e567bc93a8575 (patch) | |
tree | feec6bb6fe5a35bbece9b29e82b64e2b947294c4 /Master/texmf-dist/doc/latex/circuit-macros/INSTALL | |
parent | a63a0445b5ba9dafe9858cdc6f18f3b3711b35b1 (diff) |
circuit_macros (30nov22)
git-svn-id: svn://tug.org/texlive/trunk@65149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/INSTALL')
-rw-r--r-- | Master/texmf-dist/doc/latex/circuit-macros/INSTALL | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/INSTALL b/Master/texmf-dist/doc/latex/circuit-macros/INSTALL index 42b11ff402d..1157799c118 100644 --- a/Master/texmf-dist/doc/latex/circuit-macros/INSTALL +++ b/Master/texmf-dist/doc/latex/circuit-macros/INSTALL @@ -29,35 +29,34 @@ INSTALLATION: "make psdefault" to set the default processor to dpic with PSTricks "make gpicdefault" to restore gpic as the default. +Installation on a Mac: + For a nice outline of how to install on a Mac, go to + https://www.hamish.science/2020/06/24/circuitmacros + +CUSTOM MACROS: You might develop your own set of macros that are combinations or variations of those provided here. You can put them in a file, mymacros.m4 say, and copy it to the installation directory. Then the - line include(mymacros.m4) in a diagram source will you make your - macros available. + line include(mymacros.m4) in a diagram source will make your macros + available. +TESTING: In case of difficulty, go to the examples directory, look at debug1.tex and debug2.m4, and follow instructions. -Installation on a Mac: - For a nice outline of how to install on a Mac, go to - https://www.hamish.science/2020/06/24/circuitmacros - -TESTING: To test your installation, go to the examples directory (or copy the files Makefile, tst.tex, and any .m4 sources you might like to test - to a working directory) and create a test circuit in the - file test.m4. Copy ex01.m4, for example, or quick.m4 from the doc - directory into test.m4. + from the examples directory to a working directory) and create a test + circuit in the file test.m4. Copy ex01.m4 for example, or quick.m4 + from the doc directory, into test.m4. On a system with a "make" facility, first check the definitions at the top of the Makefile, and then type "make tst1" to produce the file tst.ps. If the source requires processing twice, type "make - tst" instead. To process one of the example .m4 files in the - examples directory, simply type "make name.ps" to process name.m4. - If these tests work to your satisfaction, try typing simply "make" to - produce examples.ps. To test .pdf files, go to the pgf directory, - copy name.m4 there, and type either "make name.ps" or "make name.pdf" - to test the file under pdflatex and TikZ PGF. + tst" instead. To process one of the example .m4 files in the examples + directory (let's call it name.m4), simply type "make name.pdf" or "make + name.ps". If these tests work to your satisfaction, try typing simply + "make" to produce examples.pdf. The .m4 files in the examples directory can serve as models for your diagrams but keep in mind that some of them contain details that allow @@ -66,10 +65,6 @@ TESTING: You might also wish to browse some of the included files that are not used to make examples.ps. - A few of the sources in the examples directory are copies of files - from the doc directory. They are duplicated to provide flexibility - of directory structure and independency of sources. - No "make" facility? You have to test by hand (but see the README file for diagram production software). Copy a test file as above into test.m4. Assuming you have dpic installed, type the following: |