Font problems
From Metapost
(→PS) |
(→Viewing non-standalone MPS-files) |
||
(12 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | Sometimes, text in the diagrams produced by MetaPost might look ugly. The most common reason, lack of sufficient font information in Metapost output, is dealt with on this page. You might also want to read more about different [Text|methods of typesetting text] in Metapost. | + | Sometimes, text in the diagrams produced by MetaPost might look ugly. The most common reason, lack of sufficient font information in Metapost output, is dealt with on this page. You might also want to read more about different [[Text|methods of typesetting text]] in Metapost. |
- | By default, files produced by Metapost are | + | By default, files produced by Metapost are PostScript fragments, which are not self-contained. This is fine, as long as you don't plan to view them directly but embed in other files or/and do some post-processing (see the first two sections). If you want to be able to view your Metapost output directly, see the last section. |
- | For more information, see [ | + | For more information, see [ftp://cam.ctan.org/tex-archive/info/metafp.pdf] |
== Standalone output == | == Standalone output == | ||
Line 23: | Line 23: | ||
== Standalone output with latex == | == Standalone output with latex == | ||
- | Prepare a [Latex] file <code>mydocument.tex</code> that embeds your diagrams. If you just want to see your diagrams, use the standard <code>mproof.tex</code>: | + | Prepare a [[Latex]] file <code>mydocument.tex</code> that embeds your diagrams. If you just want to see your diagrams, use the standard <code>mproof.tex</code>: |
tex mproof mydiagrams.1 mydiagrams.2 ... | tex mproof mydiagrams.1 mydiagrams.2 ... | ||
Line 37: | Line 37: | ||
=== PDF === | === PDF === | ||
- | PDFLatex can handle [Glossary#MPS|MPS] files directly. See the [Latex] page for examples and more information. | + | PDFLatex can handle [[Glossary#MPS|MPS]] files directly. See the [[Latex]] page for examples and more information. |
mpost mydiagrams.mp | mpost mydiagrams.mp | ||
pdflatex mydocument.tex | pdflatex mydocument.tex | ||
- | + | Hello! | |
+ | Excellent site, but most of messages here are not related to its contents... | ||
- | + | [http://www.url4.net/ABA121 mature lesbians] | | |
- | + | [http://www.url4.net/514E15 gay boys] | | |
- | + | [http://www.url4.net/CC4DC4 lesbian movie] | | |
- | + | [http://www.url4.net/BD5231 adult home videos] | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Current revision as of 02:19, 23 June 2007
Sometimes, text in the diagrams produced by MetaPost might look ugly. The most common reason, lack of sufficient font information in Metapost output, is dealt with on this page. You might also want to read more about different methods of typesetting text in Metapost.
By default, files produced by Metapost are PostScript fragments, which are not self-contained. This is fine, as long as you don't plan to view them directly but embed in other files or/and do some post-processing (see the first two sections). If you want to be able to view your Metapost output directly, see the last section.
For more information, see [1]
Contents |
[edit] Standalone output
[edit] PS
mps2eps converts a given MPS to a self-contained EPS file with the necessary fonts included.
mpost mydiagrams.mp mps2eps mydiagrams.1 > mydiagrams-1.eps
[edit] PDF
The following will produce mydiagrams-1.pdf
:
mpost mydiagrams.mp mptopdf mydiagrams.1
[edit] Standalone output with latex
Prepare a Latex file mydocument.tex
that embeds your diagrams. If you just want to see your diagrams, use the standard mproof.tex
:
tex mproof mydiagrams.1 mydiagrams.2 ...
[edit] PS
Use the "-j0" option of dvips:
mpost mydiagrams.mp latex mydocument.tex dvips -j0 mydocument.dvi > mydocument.ps
[edit] PDF
PDFLatex can handle MPS files directly. See the Latex page for examples and more information.
mpost mydiagrams.mp pdflatex mydocument.tex
Hello! Excellent site, but most of messages here are not related to its contents...
mature lesbians | gay boys | lesbian movie | adult home videos