summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpsrc/mptopdf.tlpsrc
blob: adbe8d9df0870b075ad8347391e835bf55a703e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
shortdesc mpost to PDF, native MetaPost graphics inclusion

longdesc The mptopdf script does standalone conversion from mpost to
longdesc PDF, using the supp-* and syst-* files.  They also allow native
longdesc MetaPost graphics inclusion in LaTeX (via pdftex.def) and
longdesc ConTeXt.  They can be used independently of the rest of
longdesc ConTeXt, yet are maintained as part of it.  So in TeX Live we
longdesc pull them out to this separate package for the benefit of LaTeX
longdesc users who do not install the rest of ConTeXt.
longdesc 
longdesc This can be found on CTAN in macros/pdftex/graphics.

execute AddFormat name=mptopdf engine=pdftex \
          options="-translate-file=cp227.tcx mptopdf.tex" \
          fmttriggers=mptopdf,plain

runpattern f texmf-dist/tex/context/base/supp-mis.mkii
runpattern f texmf-dist/tex/context/base/supp-mpe.mkii
runpattern f texmf-dist/tex/context/base/supp-pdf.mkii
runpattern f texmf-dist/tex/context/base/syst-tex.mkii
runpattern f texmf-dist/scripts/context/perl/mptopdf.pl
runpattern f texmf-dist/scripts/context/stubs/mswin/mptopdf.exe
runpattern f texmf-dist/tex/generic/context/mptopdf/mptopdf.tex
#
binpattern f bin/${ARCH}/mptopdf
#
docpattern +f texmf-dist/doc/man/man1/mptopdf.*
docpattern +f texmf-dist/doc/context/scripts/mkii/mptopdf.man

# more info:
# - supp-pdf is the main thing; it needs supp-mis for helper macros.
# 
# - supp-mpe is for ConTeXt extensions (i.e., certain MetaPost
# specials), according to pdftex.def (it is loaded by
# \LoadMetaPostSpecialExtensions).
# 
# - mptopdf (the script) is for turning MetaPost files into stand-alone
# PDF.  mptopdf.pl relies on a format created from mptopdf.tex, which in
# turn reads all the above *.mkii files.