From ad12df29258b19e1cd67bc08152c35cc8784b713 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 19 Feb 2011 00:38:02 +0000 Subject: fragmaster (18feb11) git-svn-id: svn://tug.org/texlive/trunk@21460 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/support/fragmaster/AUTHORS | 2 +- Master/texmf-dist/doc/support/fragmaster/Changes | 16 ++++++++ Master/texmf-dist/doc/support/fragmaster/README | 41 ++++++++++++++++----- Master/texmf-dist/doc/support/fragmaster/README.de | 24 +++++++----- .../doc/support/fragmaster/fragmaster.pdf | Bin 0 -> 9609 bytes 5 files changed, 62 insertions(+), 21 deletions(-) create mode 100644 Master/texmf-dist/doc/support/fragmaster/Changes create mode 100644 Master/texmf-dist/doc/support/fragmaster/fragmaster.pdf (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/support/fragmaster/AUTHORS b/Master/texmf-dist/doc/support/fragmaster/AUTHORS index d7b66a80553..4a9c614b30b 100644 --- a/Master/texmf-dist/doc/support/fragmaster/AUTHORS +++ b/Master/texmf-dist/doc/support/fragmaster/AUTHORS @@ -1,2 +1,2 @@ Tilman Vogel (dot at dot) - +Agustin Martin (dot at dot) diff --git a/Master/texmf-dist/doc/support/fragmaster/Changes b/Master/texmf-dist/doc/support/fragmaster/Changes new file mode 100644 index 00000000000..bbb8ef4d28c --- /dev/null +++ b/Master/texmf-dist/doc/support/fragmaster/Changes @@ -0,0 +1,16 @@ +* 1.6 (2011-02-17) Agustin Martin (dot at dot) + + - Really calculate Bounding Box using ghostscript bbox device. + - Preliminary support for per-directory control files. + - --debug and --force options. + - Add a pod section. + - Be kind to miktex by looking also for mgs.exe. + - Use a single root tempdir for all graphics files. + +* 1.4 (2011-01-13) Agustin Martin (dot at dot) + + - Get rid of some UNIXisms for win32 portability. + +* 1.3 (2009-03-19) Tilman Vogel (dot at dot) + + - First upload to CTAN diff --git a/Master/texmf-dist/doc/support/fragmaster/README b/Master/texmf-dist/doc/support/fragmaster/README index e6e4b9ab2f3..f50720f1224 100644 --- a/Master/texmf-dist/doc/support/fragmaster/README +++ b/Master/texmf-dist/doc/support/fragmaster/README @@ -2,7 +2,7 @@ Using psfrag with pdflatex ====================================================================== -German version: README.de +German (not up to date) version: README.de psfrag is a LaTeX package which allows to replace text elements in included EPS graphics by arbitrary LaTeX output. E.g. you can make fonts @@ -12,7 +12,7 @@ formulae in your graphics. For example: \psfrag{x}{$x$} \psfrag{y}{$y = x^2$} \includegraphics{diagram} - + When using latex (not pdflatex) the file diagram.eps will be included. The extension is appended automatically. While doing this, every occurrence of "x" in the diagram is replaced by "x" using math font and @@ -41,12 +41,12 @@ converter script epstopdf. To use the script you have to create two files per graphic: * _fm.eps: the EPS file itself, - * _fm: a fragmaster control file. + * _fm: a fragmaster control file. From these files the psfragged graphics will be created: * .eps, - * .pdf + * .pdf The control file is basically a LaTeX file (with optionally special comments) and can look like this: @@ -55,7 +55,7 @@ comments) and can look like this: % % A special comment: % fmopt: width=6cm -% +% % Another special comment: % head: % \usepackage{amsmath} @@ -64,7 +64,7 @@ comments) and can look like this: % psfrag commands: \psfrag{x}{$x$} \psfrag{y}{$y = x^2$} - + The special comment fmopt: will be evaluated such that the following text will by passed as optional argument to \includegraphics. This way @@ -84,7 +84,7 @@ necessary (a little like "make" would do it). In your LaTeX document you can include the produced graphics using \includegraphics{} - + conveniently omitting the file extension. latex will choose the EPS, pdflatex will choose the PDF. @@ -112,7 +112,7 @@ The following example files are included: example PS, * parabel_fm.pdf PDF version of the raw EPS graphics (only necessary for the - example!). + example!). ====================================================================== @@ -133,7 +133,7 @@ behave nicer by specifying the following line in (or a local equivalent inside /usr/local/share/texmf): @ custom 0pt 0pt - + In the likely case that you're wondering why, I'd recommend the dvipsk sources warmly to you... @@ -142,13 +142,34 @@ Have fun with the script! Feedback is very much appreciated. Tilman Vogel (fill in: dot at dot) +====================================================================== +Bugs and more info +====================================================================== + +For further details, please see "fragmaster -m" in UNIX systems (needs +perldoc) or fragmaster man page if available. If directly downloaded +from CTAN or used the one included in a win32 TeX distribution, please +see fragmaster.pdf if available. Both are derived from fragmaster.pl +pod section, located at the end of the script. Look there if the other +formats are not available. + +Send bug reports to: + + Agustin Martin (fill in: dot at dot) + +In particular, the use of directory control files is a recent addition +that still needs extensive checking. + +Your feedback is appreciated. + +Enjoy. ====================================================================== Pointers to other solutions ====================================================================== * Pdfrack - * unpsfrag + * unpsfrag Last modified: Thu Mar 19 20:52:45 CET 2009 diff --git a/Master/texmf-dist/doc/support/fragmaster/README.de b/Master/texmf-dist/doc/support/fragmaster/README.de index b28b3d99664..2bf47e2876e 100644 --- a/Master/texmf-dist/doc/support/fragmaster/README.de +++ b/Master/texmf-dist/doc/support/fragmaster/README.de @@ -13,7 +13,7 @@ Grafik einbringen. Bsp.: \psfrag{x}{$x$} \psfrag{y}{$y = x^2$} \includegraphics{diagramm} - + Benutzt man latex (nicht pdflatex) wird die Datei diagramm.eps eingebunden. Die Endung wird automatisch angefügt. Dabei wird jedes Vorkommen von "x" im Diagramm durch "x" im Mathe-Font ersetzt und jedes @@ -43,20 +43,20 @@ EPS nach PDF das Programm epstopdf. Um das Skript zu verwenden legt man je Grafik zwei Dateien an: * _fm.eps: die EPS-Grafik selbst, - * _fm: eine fragmaster-Steuerdatei. + * _fm: eine fragmaster-Steuerdatei. Daraus werden dann die Grafiken mit Ersetzung erzeugt: * .eps, - * .pdf + * .pdf Die Steuerdatei ist eine LaTeX-Datei und kann so aussehen: % Ein normaler Kommentar. % -% Ein spezieller Kommentar: +% Ein spezieller Kommentar: % fmopt: width=6cm -% +% % Ein anderer spezieller Kommentar: % head: % \usepackage{amsmath} @@ -65,7 +65,7 @@ Die Steuerdatei ist eine LaTeX-Datei und kann so aussehen: % psfrag-Befehle: \psfrag{x}{$x$} \psfrag{y}{$y = x^2$} - + Der spezielle Kommentar fmopt: wird so ausgewertet, dass das Nachfolgende als Option an \includegraphics weitergegeben wird. So kann @@ -85,7 +85,7 @@ automatisch (in etwa so wie "make" es tun würde). Im LaTeX-Dokument kann man diese Dateien dann mit \includegraphics{} - + ohne die Dateiendung einbinden. latex wählt die EPS-Datei, pdflatex wählt die PDF-Datei. @@ -113,7 +113,7 @@ Die folgenden Beispieldateien sind beigefügt: * document.ps Beispiel-PS, * parabel_fm.pdf - PDF-Version der Roh-EPS-Datei (nur für das Beispiel notwendig!). + PDF-Version der Roh-EPS-Datei (nur für das Beispiel notwendig!). ====================================================================== @@ -130,7 +130,7 @@ kann man das dvips abgewöhnen, indem man folgende Zeile in /usr/share/texmf/dvips/config/config.pdf einträgt: @ custom 0pt 0pt - + Wen's genauer interessiert, dem seien die Quellen von dvipsk ans Herz gelegt... @@ -138,13 +138,17 @@ Viel Spaß mit dem Skript! Tilman +===== +Bemerkung: Bitte lesen auch English README für aktualisiertes info. + -- Agustin Martin. +===== ====================================================================== Links zu anderen Lösungen ====================================================================== * Pdfrack - * unpsfrag + * unpsfrag Letzte Änderung: Do 19. Mär 20:57:37 CET 2009 diff --git a/Master/texmf-dist/doc/support/fragmaster/fragmaster.pdf b/Master/texmf-dist/doc/support/fragmaster/fragmaster.pdf new file mode 100644 index 00000000000..0870bf5dbac Binary files /dev/null and b/Master/texmf-dist/doc/support/fragmaster/fragmaster.pdf differ -- cgit v1.2.3