Imported Upstream version 2012.20121124
Norbert Preining
11 years ago
13 | 13 | |
14 | 14 | autoconf (GNU Autoconf) 2.69 |
15 | 15 | |
16 | automake (GNU automake) 1.12.4 | |
16 | automake (GNU automake) 1.12.5 | |
17 | 17 | |
18 | 18 | ltmain.sh (GNU libtool) 2.4.2 |
19 | 19 |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * kpse-poppler-flags.m4: Require poppler-0.18 or better. | |
3 | ||
0 | 4 | 2012-10-19 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * kpse-poppler-flags.m4 [WIN32]: Add '-lgdi32' to POPPLER_LIBS. |
32 | 32 | # ---------------------- |
33 | 33 | AC_DEFUN([KPSE_POPPLER_SYSTEM_FLAGS], |
34 | 34 | [AC_REQUIRE([_KPSE_CHECK_PKG_CONFIG])[]dnl |
35 | if $PKG_CONFIG poppler --atleast-version=0.12; then | |
36 | POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"' | |
37 | POPPLER_INCLUDES="$POPPLER_VERSION `$PKG_CONFIG poppler --cflags`" | |
35 | if $PKG_CONFIG poppler --atleast-version=0.18; then | |
36 | POPPLER_INCLUDES=`$PKG_CONFIG poppler --cflags` | |
38 | 37 | POPPLER_LIBS=`$PKG_CONFIG poppler --libs` |
39 | 38 | elif test "x$need_poppler:$with_system_poppler" = xyes:yes; then |
40 | AC_MSG_ERROR([did not find poppler-0.12 or better]) | |
39 | AC_MSG_ERROR([did not find poppler-0.18 or better]) | |
41 | 40 | fi |
42 | 41 | ]) # KPSE_POPPLER_SYSTEM_FLAGS |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-03-12 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * afm2pl.c (readargs): Correct the fdims array size (3 => 5). |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/afm2pl/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009, 2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) | |
8 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
9 | 9 | |
10 | 10 | bin_PROGRAMS = afm2pl |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-10-11 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * utils.c (c8read_csf): DEFAULT_BIBTEX_CSFILE is set to |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/bibtex8/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) | |
8 | AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSUPPORT_8BIT | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA -DSUPPORT_8BIT | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | |
11 | 10 | bin_PROGRAMS = bibtex8 |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-10-11 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * utils.c (c8read_csf): DEFAULT_BIBTEX_CSFILE is set to |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/bibtexu/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) $(ICU_INCLUDES) | |
8 | AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSUPPORT_8BIT | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) $(ICU_INCLUDES) -DUNIX -DKPATHSEA -DSUPPORT_8BIT | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | |
11 | 10 | bin_PROGRAMS = bibtexu |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-05-11 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | Import cjk-4.8.3/utils as cjkutils-4.8.3. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/cjkutils/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
25 | 25 | |
26 | 26 | DISTCLEANFILES = config.force |
27 | 27 | |
28 | INCLUDES = $(KPATHSEA_INCLUDES) | |
29 | AM_CPPFLAGS = $(XX_CPPFLAGS) | |
28 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) $(XX_CPPFLAGS) | |
30 | 29 | AM_CFLAGS = $(XX_CFLAGS) |
31 | 30 | |
32 | 31 | bin_PROGRAMS = \ |
42 | 41 | $(CJKUTILS_TREE)/hbf2gf/hbf.c \ |
43 | 42 | $(CJKUTILS_TREE)/hbf2gf/hbf.h \ |
44 | 43 | hbf2gf.c |
45 | hbf2gf_CPPFLAGS = -I$(srcdir)/$(CJKUTILS_TREE)/hbf2gf -Dunix -DHAVE_LIBKPATHSEA $(AM_CPPFLAGS) | |
44 | hbf2gf_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/$(CJKUTILS_TREE)/hbf2gf -Dunix -DHAVE_LIBKPATHSEA | |
46 | 45 | hbf2gf_DEPENDENCIES = $(KPATHSEA_DEPEND) |
47 | 46 | hbf2gf_LDADD = $(KPATHSEA_LIBS) |
48 | 47 | |
72 | 71 | gbklatex_LDADD = $(KPATHSEA_LIBS) |
73 | 72 | |
74 | 73 | gbkpdflatex_SOURCES = $(gbklatex_SOURCES) |
75 | gbkpdflatex_CPPFLAGS = -DLATEX=\"pdflatex\" $(AM_CPPFLAGS) | |
74 | gbkpdflatex_CPPFLAGS = $(AM_CPPFLAGS) -DLATEX=\"pdflatex\" | |
76 | 75 | gbkpdflatex_DEPENDENCIES = $(gbklatex_DEPENDENCIES) |
77 | 76 | gbkpdflatex_LDADD = $(gbklatex_LDADD) |
78 | 77 |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2010-09-24 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * Remove detex-2.7/ and detex-2.7-PATCHES/. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/detex/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
13 | 13 | dist-hook: |
14 | 14 | rm -rf `find $(distdir) -name .svn` |
15 | 15 | |
16 | INCLUDES = -I$(top_srcdir)/$(DETEX_TREE) $(KPATHSEA_INCLUDES) | |
17 | AM_CPPFLAGS = -DNO_MALLOC_DECL -DKPATHSEA -Dlint | |
16 | AM_CPPFLAGS = -I$(top_srcdir)/$(DETEX_TREE) $(KPATHSEA_INCLUDES) -DNO_MALLOC_DECL -DKPATHSEA -Dlint | |
18 | 17 | AM_CFLAGS = $(WARNING_CFLAGS) |
19 | 18 | |
20 | 19 | ## The Makefile.in from 2002 by Thomas Esser applied the sed script |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-04-25 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * dvi2tty.test: Add a copyright statement. |
16 | 16 | dist-hook: |
17 | 17 | rm -rf `find $(distdir) -name .svn` |
18 | 18 | |
19 | INCLUDES = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) | |
20 | AM_CPPFLAGS = -DKPATHSEA | |
19 | AM_CPPFLAGS = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) -DKPATHSEA | |
21 | 20 | AM_CFLAGS = $(WARNING_CFLAGS) |
22 | 21 | |
23 | 22 | LDADD = $(KPATHSEA_LIBS) |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-05-29 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * dvidvi.c: Drop the problematic prototype for isatty(), |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/dvidvi/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) | |
8 | AM_CPPFLAGS = -DKPATHSEA -DUNIX | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DKPATHSEA -DUNIX | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | |
11 | 10 | bin_PROGRAMS = dvidvi |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-10-03 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * dvi2xx.c [WIN32]: Avoid segmentation fault for missing WINDIR. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/dviljk/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) | |
8 | AM_CPPFLAGS = -DKPATHSEA | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DKPATHSEA | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | |
11 | 10 | noinst_LIBRARIES = libdvilj.a |
31 | 30 | dvi2xx.c \ |
32 | 31 | dvi2xx.h |
33 | 32 | |
34 | dvilj_CPPFLAGS = -DKPATHSEA -DLJ | |
33 | dvilj_CPPFLAGS = $(AM_CPPFLAGS) -DLJ | |
35 | 34 | dvilj_SOURCES = $(dvi2xx_sources) |
36 | 35 | $(dvilj_OBJECTS): libdvilj.a |
37 | 36 | |
38 | dvilj2p_CPPFLAGS = -DKPATHSEA -DLJ2P | |
37 | dvilj2p_CPPFLAGS = $(AM_CPPFLAGS) -DLJ2P | |
39 | 38 | dvilj2p_SOURCES = $(dvi2xx_sources) |
40 | 39 | $(dvilj2p_OBJECTS): libdvilj.a |
41 | 40 | |
42 | dvilj4_CPPFLAGS = -DKPATHSEA -DLJ4 | |
41 | dvilj4_CPPFLAGS = $(AM_CPPFLAGS) -DLJ4 | |
43 | 42 | dvilj4_SOURCES = $(dvi2xx_sources) |
44 | 43 | $(dvilj4_OBJECTS): libdvilj.a |
45 | 44 | |
46 | dvilj4l_CPPFLAGS = -DKPATHSEA -DLJ4 -DLJ4L | |
45 | dvilj4l_CPPFLAGS = $(AM_CPPFLAGS) -DLJ4 -DLJ4L | |
47 | 46 | dvilj4l_SOURCES = $(dvi2xx_sources) |
48 | 47 | $(dvilj4l_OBJECTS): libdvilj.a |
49 | 48 |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-07-15 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * dvipos.c: Pass program name string to kpse_set_program_name. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/dvipos/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) | |
8 | AM_CPPFLAGS = -DKPATHSEA | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DKPATHSEA | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | |
11 | 10 | bin_PROGRAMS = dvipos |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-08-10 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * ptexmac.h: Drop unused definition of M_PI & Co. |
6 | 6 | |
7 | 7 | SUBDIRS = squeeze |
8 | 8 | |
9 | INCLUDES = $(KPATHSEA_INCLUDES) | |
10 | AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSHIFTLOWCHARS | |
9 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA -DSHIFTLOWCHARS | |
11 | 10 | AM_CFLAGS = $(WARNING_CFLAGS) |
12 | 11 | |
13 | 12 | bin_PROGRAMS = afm2tfm dvips |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-09-28 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * Imported release 1.0.12. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/dvisvgm/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | #************************************************************************ |
23 | 23 | dist-hook: |
24 | 24 | rm -rf `find $(distdir) -name .svn` |
25 | 25 | |
26 | INCLUDES = -I$(top_srcdir)/$(DVISVGM_TREE)/src | |
27 | INCLUDES += -I$(top_srcdir)/$(DVISVGM_TREE)/potracelib | |
28 | INCLUDES += $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) | |
29 | INCLUDES += $(ZLIB_INCLUDES) $(LIBGS_INCLUDES) | |
26 | AM_CPPFLAGS = -I$(top_srcdir)/$(DVISVGM_TREE)/src | |
27 | AM_CPPFLAGS += -I$(top_srcdir)/$(DVISVGM_TREE)/potracelib | |
28 | AM_CPPFLAGS += $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) | |
29 | AM_CPPFLAGS += $(ZLIB_INCLUDES) $(LIBGS_INCLUDES) | |
30 | 30 | if WIN32 |
31 | AM_CPPFLAGS = -DTEXLIVEWIN32 | |
31 | AM_CPPFLAGS += -DTEXLIVEWIN32 | |
32 | 32 | endif WIN32 |
33 | 33 | AM_CFLAGS = $(WARNING_CFLAGS) |
34 | 34 | AM_CXXFLAGS = $(WARNING_CXXFLAGS) |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-10-17 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * gsftopk.c: Avoid MSVC warning. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/gsftopk/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009, 2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) | |
8 | AM_CPPFLAGS = -DKPATHSEA -Dlint | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DKPATHSEA -Dlint | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | |
11 | 10 | bin_PROGRAMS = gsftopk |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-10-03 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * mingw32.c: use stat in static int is_dir (). |
13 | 13 | |
14 | 14 | EXTRA_DIST = BUGS PROJECTS |
15 | 15 | |
16 | INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir)/.. | |
16 | AM_CPPFLAGS = -I$(top_builddir)/.. -I$(top_srcdir)/.. | |
17 | 17 | AM_CFLAGS = $(WARNING_CFLAGS) |
18 | 18 | |
19 | 19 | lib_LTLIBRARIES = libkpathsea.la |
20 | 20 | |
21 | libkpathsea_la_CPPFLAGS = -DMAKE_KPSE_DLL | |
21 | libkpathsea_la_CPPFLAGS = $(AM_CPPFLAGS) -DMAKE_KPSE_DLL | |
22 | 22 | |
23 | 23 | libkpathsea_la_LDFLAGS = -no-undefined -version-info $(KPSE_LT_VERSINFO) |
24 | 24 | |
228 | 228 | |
229 | 229 | EXTRA_PROGRAMS = progname-test xdirtest |
230 | 230 | |
231 | progname_test_CPPFLAGS = -DMAKE_KPSE_DLL -DTEST | |
231 | progname_test_CPPFLAGS = $(AM_CPPFLAGS) -DMAKE_KPSE_DLL -DTEST | |
232 | 232 | progname_test_SOURCES = progname.c |
233 | 233 | progname_test_LDADD = libkpathsea.la |
234 | 234 |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-10-16 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * mkind.h: Drop duplicate '#include "c-auto.h"'. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) | |
8 | AM_CPPFLAGS = -DUNIX -DKPATHSEA | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | |
11 | 10 | if !WIN32 |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-09-21 Akira Kakuto <kakuto@fuk.kindai.ac.jp> |
1 | 5 | |
2 | 6 | * main.c (main): add break;. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) | |
7 | AM_CPPFLAGS = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) | |
8 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
9 | 9 | |
10 | 10 | bin_PROGRAMS = makejvf |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-10-16 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * convert.c: Move common #include's from here ... |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) | |
7 | AM_CPPFLAGS = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) | |
8 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
9 | 9 | |
10 | 10 | bin_PROGRAMS = mendex |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-10-15 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | Remove TL vs W32TeX diffs (from Akira). |
6 | 6 | |
7 | 7 | bin_PROGRAMS = mag pfb2pfa pk2bm ps2pk |
8 | 8 | |
9 | INCLUDES = $(KPATHSEA_INCLUDES) | |
10 | AM_CPPFLAGS = -DUNIX -DKPATHSEA | |
9 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA | |
11 | 10 | AM_CFLAGS = #$(WARNING_CFLAGS) |
12 | 11 | LDADD = $(KPATHSEA_LIBS) |
13 | 12 |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-09-04 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * ptexenc.c: Define ptexenc_version_string as PTEXENCVERSION. |
8 | 8 | .PHONY: rebuild |
9 | 9 | rebuild: all |
10 | 10 | |
11 | INCLUDES = $(KPATHSEA_INCLUDES) | |
11 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) | |
12 | 12 | AM_CFLAGS = $(WARNING_CFLAGS) |
13 | 13 | |
14 | 14 | lib_LTLIBRARIES = libptexenc.la |
15 | 15 | |
16 | libptexenc_la_CPPFLAGS = -DMAKE_PTENC_DLL | |
16 | libptexenc_la_CPPFLAGS = $(AM_CPPFLAGS) -DMAKE_PTENC_DLL | |
17 | 17 | |
18 | 18 | libptexenc_la_LDFLAGS = -no-undefined -version-info $(PTEXENC_LT_VERSINFO) |
19 | 19 |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-07-25 Ken Brown <kbrow1i@gmail.com> |
1 | 5 | |
2 | 6 | * seek.c (CopyFile): No special file mode handling for Cygwin. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) | |
8 | AM_CPPFLAGS = -DUNIX -DKPATHSEA | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | |
11 | 10 | noinst_LIBRARIES = libtex.a |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-07-25 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * t4ht.c, tex4ht.c [WIN32]: More changes from W32TeX. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/tex4htk/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
11 | 11 | dist-hook: |
12 | 12 | rm -rf `find $(distdir) -name .svn` |
13 | 13 | |
14 | INCLUDES = $(KPATHSEA_INCLUDES) | |
15 | AM_CPPFLAGS = -DANSI -DKPATHSEA | |
14 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DANSI -DKPATHSEA | |
16 | 15 | AM_CFLAGS = $(WARNING_CFLAGS) |
17 | 16 | |
18 | 17 | bin_PROGRAMS = t4ht tex4ht |
138 | 138 | latexmk/latexmk.pl \ |
139 | 139 | latexpand/latexpand \ |
140 | 140 | luaotfload/mkluatexfontdb.lua \ |
141 | m-tx/m-tx.lua \ | |
141 | 142 | match_parens/match_parens \ |
142 | 143 | mathspic/mathspic.pl \ |
143 | 144 | mf2pt1/mf2pt1.pl \ |
0 | 0 | #!/bin/sh |
1 | 1 | ## |
2 | 2 | ## \ProvidesFile{adhocfilelist.sh} |
3 | ## [2012/10/17 v0.7 command line -> \string\listfiles | |
3 | ## [2012/11/19 v0.71 command line -> \string\listfiles | |
4 | 4 | ## \space(UL)] |
5 | 5 | ## |
6 | 6 | ## (C) 2012 Uwe Lück LaTeX Project Public License |
16 | 16 | } |
17 | 17 | add_type sty; add_type cfg; add_type cls; |
18 | 18 | add_type dtx; add_type def; add_type fd; |
19 | adhoc_find_std="-follow -maxdepth 1 ( $adhoc_find_std )" | |
19 | adhoc_find_std="-L -maxdepth 1 ( $adhoc_find_std )" ## -L 2012-11-19 | |
20 | 20 | #echo adhoc_find_std = $adhoc_find_std |
21 | 21 | ## standard action (v0.7): |
22 | 22 | adhoc_fmt_std=',%f' |
5 | 5 | $opt_c = $opt_f = $opt_h = $opt_v = 0; |
6 | 6 | getopts('cfphvl:'); |
7 | 7 | |
8 | $version_msg = "findhyph version 3.1\n"; | |
8 | $version_msg = "findhyph version 3.2\n"; | |
9 | 9 | $help_msg = "\nUsage: findhyph [options] <yourtexfile.log>\n" . |
10 | 10 | "\n" . |
11 | 11 | "Options: -c display hyphenated words in context\n" . |
235 | 235 | If you are setting C<\looseness=E<lt>NE<gt>> to optimize paragraphs, |
236 | 236 | you need to pass that information to the file F<foo.log> in a form |
237 | 237 | C<@looseness=E<lt>NE<gt>> (on a separate line). You can use a macro like |
238 | C<\def\setlooseness#1{\immediate\write-1{@looseness=#1}\looseness=#1}> | |
238 | C<\def\setlooseness#1{\looseness=#1 \immediate\write-1{@looseness=#1}}> | |
239 | 239 | for this purpose. If the paragraph contains material in display math mode, |
240 | 240 | you need to use the macro in all split parts of the paragraph. |
241 | 241 | |
361 | 361 | |
362 | 362 | =back |
363 | 363 | |
364 | =head4 3.2 (2012-11-21) | |
365 | ||
366 | =over 4 | |
367 | ||
368 | =item * | |
369 | ||
370 | improved example definition of the C<\setlooseness> macro | |
371 | (thanks to Karl Berry) | |
372 | ||
373 | =back | |
374 | ||
364 | 375 | =head1 LICENSE |
365 | 376 | |
366 | 377 | This program is free software; you can redistribute it and/or modify |
26 | 26 | # glossary-super.sty, glossaries.perl. |
27 | 27 | # Also makeglossaries and makeglossaries. |
28 | 28 | |
29 | my $version="2.04 (2012-05-19)"; | |
29 | my $version="2.05 (2012-11-12)"; | |
30 | 30 | |
31 | 31 | # History: |
32 | # v2.05 (2012-11-12): | |
33 | # * added -d option | |
32 | 34 | # v2.04 (2012-04-19): |
33 | 35 | # * fixed bug in &scan_aux |
34 | 36 | # v2.03 (2011-04-12): |
75 | 77 | use strict; |
76 | 78 | # v2.01 added the following line |
77 | 79 | use warnings; |
80 | # v2.05 added $opt_d | |
78 | 81 | use vars qw($opt_q $opt_t $opt_o $opt_s $opt_p $opt_g $opt_c $opt_r |
79 | $opt_l $opt_i $opt_L $opt_n $opt_C); | |
82 | $opt_l $opt_i $opt_L $opt_n $opt_C $opt_d); | |
80 | 83 | |
81 | 84 | |
82 | 85 | $Getopt::Std::STANDARD_HELP_VERSION = 1; |
85 | 88 | # .tex file) |
86 | 89 | # v1.5 added -n (print the command that would be issued but |
87 | 90 | # don't actually run the command) |
88 | getopts('s:o:t:p:L:C:ilqrcgn'); | |
91 | getopts('s:o:t:p:L:C:ilqrcgnd:'); | |
89 | 92 | |
90 | 93 | unless ($#ARGV == 0) |
91 | 94 | { |
95 | 98 | |
96 | 99 | # v2.02: added: |
97 | 100 | print "makeglossaries version $version\n" unless ($opt_q); |
101 | ||
102 | # v2.05 added: | |
103 | chdir $opt_d if ($opt_d); | |
98 | 104 | |
99 | 105 | # v2.02: added: |
100 | 106 | my $xdynotist = 1; |
940 | 946 | print "-q\t\tQuiet mode\n"; |
941 | 947 | print "-s <sty>\tEmploy <sty> as the style file\n"; |
942 | 948 | print "-t <log>\tEmploy <log> as the transcript file\n"; |
943 | print "-n\tPrint the command that would normally be executed,\n", | |
944 | "\tbut don't execute it\n"; | |
949 | print "-d <directory>\tRun xindy/makeindex in <directory>\n"; | |
950 | print "-n\t\tPrint the command that would normally be executed,\n", | |
951 | "\t\tbut don't execute it\n"; | |
945 | 952 | |
946 | 953 | print "\n Xindy Options:\n"; |
947 | 954 | print "-L <language>\tUse <language>.\n"; |
0 | #!/usr/bin/env texlua | |
1 | ||
2 | VERSION = "0.4" | |
3 | ||
4 | --[[ | |
5 | m-tx.lua: processes MusiXTeX files using prepmx and pmxab as pre-processors (and deletes intermediate files) | |
6 | ||
7 | (c) Copyright 2011-2012 Bob Tennent rdt@cs.queensu.ca | |
8 | ||
9 | This program is free software; you can redistribute it and/or modify it | |
10 | under the terms of the GNU General Public License as published by the | |
11 | Free Software Foundation; either version 2 of the License, or (at your | |
12 | option) any later version. | |
13 | ||
14 | This program is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | |
17 | Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU General Public License along | |
20 | with this program; if not, write to the Free Software Foundation, Inc., | |
21 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
22 | ||
23 | --]] | |
24 | ||
25 | --[[ | |
26 | ||
27 | ChangeLog: | |
28 | ||
29 | version 0.3 2012-04-09 RDT | |
30 | Change name to m-tx to avoid clash with another program. | |
31 | ||
32 | version 0.2 2011-11-28 RDT | |
33 | Added -i (retain intermediate files) option | |
34 | ||
35 | version 0.1.1 2011-07-18 RDT | |
36 | ||
37 | Removed a file check that caused it to fail (only on Windows!) | |
38 | ||
39 | version 0.1 2011-07-15 RDT | |
40 | ||
41 | --]] | |
42 | ||
43 | function usage() | |
44 | print("Usage: [texlua] m-tx.lua { option | basename[.mtx] } ... ") | |
45 | print("options: -v version") | |
46 | print(" -h help") | |
47 | print(" -l latex (or pdflatex)") | |
48 | print(" -p pdfetex (or pdflatex)") | |
49 | print(" -d dvipdfm") | |
50 | print(" -s stop at dvi") | |
51 | print(" -t stop at tex/mid") | |
52 | print(" -m stop at pmx") | |
53 | print(" -i retain intermediate files") | |
54 | print(" -f restore default processing") | |
55 | end | |
56 | ||
57 | function whoami () | |
58 | print("This is m-tx.lua version ".. VERSION .. ".") | |
59 | end | |
60 | ||
61 | whoami() | |
62 | if #arg == 0 then | |
63 | usage() | |
64 | os.exit(0) | |
65 | end | |
66 | ||
67 | -- defaults: | |
68 | prepmx = "prepmx" | |
69 | pmx = "pmxab" | |
70 | tex = "etex" | |
71 | musixflx = "musixflx" | |
72 | dvi = "dvips" | |
73 | ps2pdf = "ps2pdf" | |
74 | intermediate = 1 | |
75 | ||
76 | exit_code = 0 | |
77 | narg = 1 | |
78 | repeat | |
79 | this_arg = arg[narg] | |
80 | if this_arg == "-v" then | |
81 | os.exit(0) | |
82 | elseif this_arg == "-h" then | |
83 | usage() | |
84 | os.exit(0) | |
85 | elseif this_arg == "-l" then | |
86 | if tex == "pdfetex" then | |
87 | tex = "pdflatex" | |
88 | else | |
89 | tex = "latex" | |
90 | end | |
91 | elseif this_arg == "-p" then | |
92 | if tex == "latex" then | |
93 | tex = "pdflatex" | |
94 | else | |
95 | tex = "pdfetex" | |
96 | end | |
97 | dvi = ""; ps2pdf = "" | |
98 | elseif this_arg == "-d" then | |
99 | dvi = "dvipdfm"; ps2pdf = "" | |
100 | elseif this_arg == "-s" then | |
101 | dvi = ""; ps2pdf = "" | |
102 | elseif this_arg == "-i" then | |
103 | intermediate = 0 | |
104 | elseif this_arg == "-f" then | |
105 | pmx = "pmxab"; tex = "etex"; dvi = "dvips"; ps2pdf = "ps2pdf"; intermediate = 1 | |
106 | elseif this_arg == "-t" then | |
107 | tex = ""; dvi = ""; ps2pdf = "" | |
108 | elseif this_arg == "-m" then | |
109 | pmx = ""; tex = ""; dvi = ""; ps2pdf = "" | |
110 | else | |
111 | filename = this_arg | |
112 | if filename ~= "" and string.sub(filename, -4, -1) == ".mtx" then | |
113 | filename = string.sub(filename, 1, -5) | |
114 | end | |
115 | print("Processing ".. filename .. ".mtx.") | |
116 | OK = true | |
117 | if ( os.execute(prepmx .. " " .. filename ) ~= 0 ) then | |
118 | OK = false | |
119 | end | |
120 | if (OK and pmx ~= "") then | |
121 | os.execute(pmx .. " " .. filename) -- does pmx return an error code? | |
122 | pmxaerr = io.open("pmxaerr.dat", "r") | |
123 | if (not pmxaerr) then | |
124 | print("No log file.") | |
125 | OK = false | |
126 | else | |
127 | linebuf = pmxaerr:read() | |
128 | err = tonumber(linebuf) | |
129 | if (err ~= 0) then | |
130 | OK = false | |
131 | end | |
132 | pmxaerr:close() | |
133 | end | |
134 | end | |
135 | os.remove( filename .. ".mx2" ) | |
136 | if ( OK ) and | |
137 | (tex == "" or os.execute(tex .. " " .. filename) == 0) and | |
138 | (tex == "" or os.execute(musixflx .. " " .. filename) == 0) and | |
139 | (tex == "" or os.execute(tex .. " " .. filename) == 0) and | |
140 | ((tex ~= "latex" and tex ~= "pdflatex") | |
141 | or (os.execute(tex .. " " .. filename) == 0)) and | |
142 | (dvi == "" or (os.execute(dvi .. " " .. filename) == 0)) and | |
143 | (ps2pdf == "" or (os.execute(ps2pdf .. " " .. filename .. ".ps") == 0) ) | |
144 | then | |
145 | if ps2pdf ~= "" then | |
146 | print(filename .. ".pdf generated by " .. ps2pdf .. ".") | |
147 | end | |
148 | if intermediate == 1 then -- clean-up: | |
149 | os.remove( "pmxaerr.dat" ) | |
150 | os.remove( filename .. ".mx1" ) | |
151 | os.remove( filename .. ".mx2" ) | |
152 | if pmx ~= "" then | |
153 | os.remove( filename .. ".pmx" ) | |
154 | end | |
155 | if dvi ~= "" then | |
156 | os.remove( filename .. ".dvi" ) | |
157 | end | |
158 | if ps2pdf ~= "" then | |
159 | os.remove( filename .. ".ps" ) | |
160 | end | |
161 | end | |
162 | else | |
163 | print("M-Tx/pmx/MusiXTeX processing of " .. filename .. ".mtx fails.\n") | |
164 | exit_code = 2 | |
165 | --[[ uncomment for debugging | |
166 | print("tex = ", tex) | |
167 | print("dvi = ", dvi) | |
168 | print("ps2pdf = ", ps2pdf) | |
169 | --]] | |
170 | end | |
171 | end --if this_arg == ... | |
172 | narg = narg+1 | |
173 | until narg > #arg | |
174 | os.exit( exit_code ) |
77 | 77 | latexmk/latexmk.pl |
78 | 78 | latexpand/latexpand |
79 | 79 | luaotfload/mkluatexfontdb.lua |
80 | m-tx/m-tx.lua | |
80 | 81 | match_parens/match_parens |
81 | 82 | mathspic/mathspic.pl |
82 | 83 | mf2pt1/mf2pt1.pl |
91 | 92 | perltex/perltex.pl |
92 | 93 | pkfix/pkfix.pl |
93 | 94 | pkfix-helper/pkfix-helper |
95 | pmx/pmx2pdf.lua | |
94 | 96 | pst2pdf/pst2pdf |
95 | 97 | purifyeps/purifyeps |
96 | 98 | splitindex/perl/splitindex.pl |
0 | 0 | .\" Hey, Emacs! This is an -*- nroff -*- source file. |
1 | .\" | |
1 | .\" | |
2 | 2 | .\" Copyright (C) 2004, 2012 Hilmar Preusse <hille42@web.de> |
3 | .\" Copyright (C) 2012 Norbert Preining <preining@logic.at> | |
3 | 4 | .\" |
4 | 5 | .\" This is free software; you can redistribute it and/or modify it under |
5 | 6 | .\" the terms of the GNU General Public License as published by the Free |
14 | 15 | .\" You should have received a copy of the GNU General Public License |
15 | 16 | .\" along with this program. if not, see <http://www.gnu.org/licenses/>. |
16 | 17 | .\" |
17 | .TH "UPDMAP.CFG" "12" "March 2012" "TeX Live" "TeX Live" | |
18 | .TH "UPDMAP.CFG" "20" "November 2012" "TeX Live" "TeX Live" | |
18 | 19 | .SH "NAME" |
19 | 20 | \fBupdmap.cfg\fR \- configuration of font mapping/inclusion for dvips and |
20 | 21 | friends. |
27 | 28 | .PP |
28 | 29 | \fBupdmap\fP is a utility that creates font configuration files for |
29 | 30 | \fBdvips\fP(1), \fBpdftex\fP(1), \fBxdvi\fP(1), \fBps2pk\fP(1), |
30 | \fBgsftopk\fP(1), \fBdvipdfm\fP(1) and (soon) \fBdvipdfmx\fP(1)\&. In | |
31 | \fBgsftopk\fP(1), and \fBdvipdfmx\fP(1)\&. In | |
31 | 32 | an ideal world, updmap would be unnecessary -- each of these programs |
32 | 33 | would read the same configuration file to learn what fonts are |
33 | 34 | available and how they should be treated\&. As things stand, however, |
34 | 35 | each of these tools has subtly different requirements and thereby |
35 | 36 | needs its own font configuration file\&. \fBupdmap\fP creates font |
36 | configuration files for all of these programs from a single source, | |
37 | \fBupdmap.cfg\fR, allowing you to easily keep all the different | |
37 | configuration files for all of these programs from several sources, | |
38 | namely all \fBupdmap.cfg\fR, allowing you to easily keep all the different | |
38 | 39 | configuration files in sync\&. |
40 | .P | |
41 | Running "updmap --help" will output the main documentation for using | |
42 | \fBupdmap\fR. | |
39 | 43 | .P |
40 | 44 | \fBdvipsPreferOutline\fR |
41 | 45 | .br |
61 | 65 | .br |
62 | 66 | ADOBEkb: Adobe fonts with "berry" filenames (e.g. phvbo8an.pfb) |
63 | 67 | .P |
64 | \fBdvipsDownloadBase\fR | |
68 | \fBdvipsDownloadBase35\fR | |
65 | 69 | .br |
66 | Configures if \fBdvips\fR (by default) should download the standard 35 LaserWriter | |
67 | fonts into the document (set \fItrue\fR) or should these fonts be used from the ps | |
68 | interpreter / printer (set \fIfalse\fR). | |
70 | Configures if \fBdvips\fR (by default) should download the 35 base | |
71 | PostScript fonts into the document (set \fItrue\fR) or should these | |
72 | fonts be used from the ps interpreter / printer (set \fIfalse\fR). | |
69 | 73 | .br |
70 | 74 | The user can override the default by specifying \fBdvips\fR \fI-Pdownload35\fR |
71 | 75 | (resp. \fBdvips\fR \fI-Pbuiltin35\fR) to download the LW35 fonts |
75 | 79 | .P |
76 | 80 | \fBpdftexDownloadBase14\fR |
77 | 81 | .br |
78 | Should \fBpdftex\fR download the base 14 pdf fonts? Since some configurations | |
82 | Should \fBpdftex\fR download the 14 base PDF fonts? Since some configurations | |
79 | 83 | (ps / pdf tools / printers) use bad default fonts, it is safer to download |
80 | the fonts. The pdf files will get bigger, though. | |
84 | the fonts. The pdf files get bigger, but that is the cost. | |
81 | 85 | .br |
82 | 86 | Valid settings are \fItrue\fR (download the fonts) or \fIfalse\fR (don't |
83 | download the fonts). Adobe recommends to embed all fonts. | |
87 | download the fonts). Adobe recommends embedding all fonts. | |
84 | 88 | .P |
85 | \fBdvipdfmDownloadBase14\fR | |
89 | \fBpxdviUse\fR | |
86 | 90 | .br |
87 | Should \fBdvipdfm\fR download the base 14 pdf fonts? Since some configurations | |
88 | (ps / pdf tools / printers) use bad default fonts, it is safer to download | |
89 | the fonts. The pdf files will get bigger, though. | |
91 | Should special map files for pxdvi be created? pxdvi is an adaption of xdvi | |
92 | with support for reading and displaying files generated by the ptex family | |
93 | of engines. | |
90 | 94 | .br |
91 | Valid settings are \fItrue\fR (download the fonts) or \fIfalse\fR (don't | |
92 | download the fonts). | |
95 | Valid settings are \fItrue\fR (generate configuration) or \fIfalse\fR. See | |
96 | http://www.tug.org/texlive/updmap-kanji.html for detailed discussion. | |
97 | .P | |
98 | \fBkanjiEmbed\fR | |
99 | .br | |
100 | \fBkanjiVariant\fR | |
101 | .br | |
102 | The options \fBkanjiEmbed\fR and \fBkanjiVariant\fR specify special | |
103 | replacements in the map lines. In a map, the string "@kanjiEmbed@" | |
104 | will be replaced by the value of that option; similarly for | |
105 | \fBkanjiVariant\fR. In this way, users of Japanese TeX can select | |
106 | different fonts to be included in the final output. | |
93 | 107 | .P |
94 | 108 | \fBMap\fR |
95 | 109 | .br |
98 | 112 | .br |
99 | 113 | Usage: \fBMap\fR filename.map |
100 | 114 | .P |
101 | The syntax of map files is the same as \fBdvips\fP(1) uses, see | |
102 | section 6.4, "'psfonts.map': PostScript font catalog" in the manual of | |
103 | \fBdvips\fP(1), available as info and pdf file. | |
115 | The syntax of map files is the same as \fBdvips\fP(1) uses, see the | |
116 | section "psfonts.map" in the manual of \fBdvips\fP(1). | |
104 | 117 | .P |
105 | 118 | \fBMixedMap\fR |
106 | 119 | .br |
111 | 124 | .br |
112 | 125 | Usage: \fBMixedMap\fR filename.map |
113 | 126 | .P |
127 | \fBKanjiMap\fR | |
128 | .br | |
129 | Similar to \fBMap\fR. This should be used for kanji fonts. | |
130 | .br | |
131 | Usage: \fBKanjiMap\fR filename.map | |
132 | .P | |
114 | 133 | The sign \fB#\fR precedes a comment. |
115 | 134 | .P |
116 | Not used Map files should be commented out using the string \fB#!\fR at the | |
117 | beginning of the line. These entries can be (de-)activated using \fBupdmap\fR | |
118 | with the options \fI--enable\fR and \fI--disable\fR. | |
119 | .SH "SPECIAL TO DEBIAN" | |
120 | In Debian the file \fBupdmap.cfg\fR is a generated file sitting in /var. It is | |
121 | generated by concatenating the *.cfg files from /etc/texmf/updmap.d/. These | |
122 | files follow the syntax of updmap.cfg, but contain only parts of it. | |
135 | Map files not to be used should be commented out using the string | |
136 | \fB#!\fR at the beginning of the line. Such entries can be | |
137 | (de-)activated using \fBupdmap\fR with the options \fI--enable\fR and | |
138 | \fI--disable\fR, respectively. | |
139 | ||
123 | 140 | .SH "AUTHOR" |
124 | This manual page was written by Hilmar Preusse <hille42@web.de>, for | |
141 | This manual page was written by Hilmar Preusse <hille42@web.de> and | |
142 | extended by Norbert Preining <preining@logic.at>, for | |
125 | 143 | the Debian GNU/Linux system by simply copying the comments from |
126 | 144 | \fBupdmap.cfg\fR and rewriting some of them. It may be used by other |
127 | 145 | distributions without contacting the author. Any mistakes or omissions in |
128 | the manual page are my fault; inquiries about or corrections to this manual | |
129 | page should be directed to me (and not to the primary author). | |
146 | the manual page are our fault; inquiries about or corrections to this manual | |
147 | page should be directed to tex-live@tug.org. | |
148 | ||
130 | 149 | .SH "SEE ALSO" |
131 | updmap(1), info page of dvips(1) | |
150 | updmap(1), dvips(1) | |
151 | ||
132 | 152 | .SH "THANKS TO" |
133 | 153 | Frank Kuester, |
134 | 154 | Thomas Esser. |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-09-16 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * tests/ttf2pk.cfg, tests/ttf2pk.test: Extend the test to cover |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) $(FREETYPE_INCLUDES) | |
8 | AM_CPPFLAGS = -DHAVE_LIBKPATHSEA | |
7 | AM_CPPFLAGS = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) $(FREETYPE_INCLUDES) | |
8 | AM_CPPFLAGS += -DHAVE_LIBKPATHSEA | |
9 | 9 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 10 | |
11 | 11 | bin_PROGRAMS = ttf2pk ttf2tfm |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-09-16 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * tests/ttf2pk.cfg, tests/ttf2pk.test: Extend the test to cover |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) | |
8 | AM_CPPFLAGS = -DHAVE_LIBKPATHSEA | |
7 | AM_CPPFLAGS = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) | |
8 | AM_CPPFLAGS += -DHAVE_LIBKPATHSEA | |
9 | 9 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 10 | |
11 | 11 | bin_PROGRAMS = ttf2pk ttf2tfm |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-09-09 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * include/tables.h, libttf/os2.c: Handle fields present only in |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) | |
8 | AM_CPPFLAGS = -DUNIX -DKPATHSEA | |
7 | AM_CPPFLAGS = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | |
11 | 10 | noinst_LIBRARIES = libttf.a |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * configure.ac: No need to check for Annot::decRefCnt with | |
3 | poppler 0.18 or better. | |
4 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
5 | ||
6 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
7 | ||
8 | * am/bootstrap.am: Add dependency of (c)tangleboot_OBJECTS on | |
9 | (c)tangleboot_DEPENDENCIES. | |
10 | ||
0 | 11 | 2012-11-13 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 12 | |
2 | 13 | * Makefile.am: Also drop the unused otangle. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 -I m4 |
6 | 6 | |
7 | INCLUDES = | |
8 | 7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) |
9 | 8 | ## Not yet for C, C++, and ObjC++ (too many warnings or not yet implemented) |
10 | 9 | AM_CFLAGS = $(WARNING_CFLAGS) |
11 | 10 | AM_CXXFLAGS = ## $(WARNING_CXXFLAGS) |
12 | ## Not yet for ObjC++ (not yet implemented) | |
13 | 11 | AM_OBJCXXFLAGS = ## $(WARNING_OBJCXXFLAGS) |
14 | 12 | |
15 | 13 | version = $(WEB2CVERSION) |
39 | 39 | # tangleboot.pin is in the distribution |
40 | 40 | .pin.p: |
41 | 41 | cp -f $< $@ |
42 | $(tangleboot_OBJECTS): $(tangleboot_DEPENDENCIES) | |
42 | 43 | tangleboot_DEPENDENCIES = $(default_dependencies) |
43 | 44 | EXTRA_DIST += tangleboot.pin |
44 | 45 | DISTCLEANFILES += tangleboot.c tangleboot.h tangleboot.p tangleboot-web2c |
66 | 67 | |
67 | 68 | noinst_PROGRAMS += ctangleboot |
68 | 69 | nodist_ctangleboot_SOURCES = ctangleboot.c cwebboot.c |
69 | $(ctangleboot_OBJECTS): cwebboot.h | |
70 | $(ctangleboot_OBJECTS): cwebboot.h $(ctangleboot_DEPENDENCIES) | |
70 | 71 | # ctangleboot.cin and cwebboot.[ch]in are in the distribution |
71 | 72 | .cin.c: |
72 | 73 | cp -f $< $@ |
44 | 44 | |
45 | 45 | /* Define to 1 if you have the `access' function. */ |
46 | 46 | #undef HAVE_ACCESS |
47 | ||
48 | /* Define to 1 if class `Annot' has the `decRefCnt' member. */ | |
49 | #undef HAVE_ANNOTDECREFCNT | |
50 | 47 | |
51 | 48 | /* Define to 1 if you have the <assert.h> header file. */ |
52 | 49 | #undef HAVE_ASSERT_H |
277 | 277 | AC_CHECK_SIZEOF([off_t], , AC_INCLUDES_DEFAULT |
278 | 278 | [#include <kpathsea/config.h>]) |
279 | 279 | |
280 | # Checks for xpdf poppler features. | |
281 | KPSE_ADD_FLAGS([poppler]) | |
282 | AC_LANG_PUSH([C++]) | |
283 | AC_CACHE_CHECK([for Annot::decRefCnt], | |
284 | [kpse_cv_have_Annot_decRefCnt], | |
285 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <goo/GooString.h> | |
286 | #include <Object.h> | |
287 | #include <Array.h> | |
288 | #include <Annot.h>]], | |
289 | [[Annot *an; an->decRefCnt();]])], | |
290 | [kpse_cv_have_Annot_decRefCnt=yes], | |
291 | [kpse_cv_have_Annot_decRefCnt=no])]) | |
292 | AS_IF([test "x$kpse_cv_have_Annot_decRefCnt" = xyes], | |
293 | [AC_DEFINE([HAVE_ANNOTDECREFCNT], 1, | |
294 | [Define to 1 if class `Annot' has the `decRefCnt' member.])]) | |
295 | AC_LANG_POP([C++]) | |
296 | 280 | KPSE_RESTORE_FLAGS |
297 | 281 | |
298 | 282 | dnl Write output here, instead of putting a zillion -D's on the command line. |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-10-14 Akira Kakuto <kakuto@fuk.kinidai.ac.jp> |
1 | 5 | |
2 | 6 | * texmfmp.c: Use _IONBF for unbuffered stream. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/web2c/lib/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009 - 2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | INCLUDES = -I$(top_srcdir) | |
6 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) | |
5 | AM_CPPFLAGS = -I$(top_srcdir) $(KPATHSEA_INCLUDES) | |
7 | 6 | AM_CFLAGS = $(WARNING_CFLAGS) |
8 | 7 | |
9 | 8 | ## Rebuild libkpathsea |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * lua/lepdflib.cc: No need to test for Annot::decRefCnt with | |
3 | poppler 0.18 or better. | |
4 | ||
0 | 5 | 2012-11-06 Akira Kakuto <kakuto@fuk.kinidai.ac.jp> |
1 | 6 | |
2 | 7 | * pdf/pdflistout.w: sync with r4471 (a bug fix by H. Henkel). |
349 | 349 | printf("\n===== Annot GC ===== uin=<%p>\n", uin); |
350 | 350 | #endif |
351 | 351 | if (uin->atype == ALLOC_LEPDF) |
352 | #ifdef HAVE_ANNOTDECREFCNT | |
353 | 352 | ((Annot *) uin->d)->decRefCnt(); |
354 | #else | |
355 | delete(Annot *) uin->d; | |
356 | #endif | |
357 | 353 | return 0; |
358 | 354 | } |
359 | 355 |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-07-09 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * otp-parser.[ch]: Regenerate with bison 2.5.1. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/web2c/otps/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES) | |
5 | AM_CPPFLAGS = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES) | |
6 | 6 | AM_CFLAGS = $(WARNING_CFLAGS) |
7 | 7 | AM_YFLAGS = -d -v |
8 | 8 |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-08-22 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * fixwrites.c, main.c, makecpool.c, splitup.c: |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/web2c/web2c/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../../m4 |
6 | 6 | |
7 | INCLUDES = -I$(srcdir)/../.. | |
7 | AM_CPPFLAGS = -I$(srcdir)/../.. | |
8 | 8 | AM_YFLAGS = -d -v |
9 | 9 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 10 |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-07-01 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * win32.c: Avoid TL W32TeX differences. |
2 | 2 | ## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org> |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | INCLUDES = -I$(top_srcdir) $(KPATHSEA_INCLUDES) | |
6 | ||
7 | AM_CPPFLAGS = $(X_CFLAGS) | |
5 | AM_CPPFLAGS = -I$(top_srcdir) $(KPATHSEA_INCLUDES) $(X_CFLAGS) | |
8 | 6 | AM_CFLAGS = $(WARNING_CFLAGS) |
9 | 7 | |
10 | 8 | ## Rebuild libkpathsea |
0 | 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2010-05-09 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * xdv2pdf_main.c, xdv_kpse_formats.h (XDV2PDF_OLD_FORMATS): |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/xdv2pdf/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009, 2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | ACLOCAL_AMFLAGS = -I ../../m4 |
6 | 6 | |
7 | INCLUDES = $(KPATHSEA_INCLUDES) | |
8 | AM_CPPFLAGS = | |
7 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) | |
9 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
10 | 9 | ## Not yet for C++ (too many warnings) |
11 | 10 | AM_CXXFLAGS = ## $(WARNING_CXXFLAGS) |
0 | 0 | ChangeLog.TL: Changes for xdvik (TeX Live) |
1 | 1 | ================================================== |
2 | ||
3 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
4 | ||
5 | * Makefile.am, tests/Makefile.am: Avoid use of deprecated INCLUDES. | |
2 | 6 | |
3 | 7 | 2012-04-18 Peter Breitenlohner <peb@mppmu.mpg.de> |
4 | 8 |
10 | 10 | |
11 | 11 | include common.am |
12 | 12 | |
13 | INCLUDES = -I$(srcdir)/gui $(common_includes) | |
13 | AM_CPPFLAGS = -I$(srcdir)/gui $(common_includes) | |
14 | 14 | |
15 | 15 | ## The object files created from ./*.c and gui/*.c are used for both |
16 | 16 | ## ./xdvi-bin and tests/run_tests. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/xdvik/tests/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | include ../common.am |
6 | 6 | |
7 | INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gui $(common_includes) | |
7 | AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/gui $(common_includes) | |
8 | 8 | AM_CFLAGS = $(WARNING_CFLAGS) |
9 | 9 | |
10 | 10 | check_PROGRAMS = run_tests |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * src/Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2012-09-21 Karl Berry <karl@tug.org> |
1 | 5 | |
2 | 6 | * many files: remove useless $Header$ from old repo, |
0 | 0 | ## Makefile.am for the TeX Live subdirectory texk/xdvipdfmx/src/ |
1 | 1 | ## |
2 | ## Copyright (C) 2009, 2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | INCLUDES = $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) $(LIBPNG_INCLUDES) $(ZLIB_INCLUDES) | |
6 | AM_CPPFLAGS = | |
5 | AM_CPPFLAGS = $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) $(LIBPNG_INCLUDES) $(ZLIB_INCLUDES) | |
7 | 6 | AM_CFLAGS = $(WARNING_CFLAGS) |
8 | 7 | |
9 | 8 | bin_PROGRAMS = xdvipdfmx |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Drop m-tx.lua, | |
3 | now in ../../texk/texlive/linked_scripts/m-tx. | |
4 | ||
0 | 5 | 2012-10-04 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 6 | |
2 | 7 | * Makefile.am: Drop libp2c.a (multiple definitions). |
53 | 53 | |
54 | 54 | ## We can not use $(MTX_TREE)/libp2c/p2clib.c (multiple definitions). |
55 | 55 | |
56 | lua_scripts = m-tx | |
57 | ||
58 | scriptsdir = texmf-dist/scripts/m-tx | |
59 | nodist_bin_SCRIPTS = | |
60 | ||
61 | include $(srcdir)/../../texk/am/script_links.am | |
62 | ||
63 | texmfdir = $(datarootdir)/$(scriptsdir) | |
64 | dist_texmf_SCRIPTS = $(lua_scripts:=.lua) | |
65 | ||
66 | install-data-hook: install-lua-links | |
67 | ||
68 | uninstall-hook: uninstall-links | |
69 | ||
70 | 56 | dist_man1_MANS = m-tx.1 prepmx.1 |
71 | 57 | |
72 | 58 | ## Tests |
0 | #!/usr/bin/env texlua | |
1 | ||
2 | VERSION = "0.3" | |
3 | ||
4 | --[[ | |
5 | m-tx.lua: processes MusiXTeX files using prepmx and pmxab as pre-processors (and deletes intermediate files) | |
6 | ||
7 | (c) Copyright 2011-2012 Bob Tennent rdt@cs.queensu.ca | |
8 | ||
9 | This program is free software; you can redistribute it and/or modify it | |
10 | under the terms of the GNU General Public License as published by the | |
11 | Free Software Foundation; either version 2 of the License, or (at your | |
12 | option) any later version. | |
13 | ||
14 | This program is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | |
17 | Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU General Public License along | |
20 | with this program; if not, write to the Free Software Foundation, Inc., | |
21 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
22 | ||
23 | --]] | |
24 | ||
25 | --[[ | |
26 | ||
27 | ChangeLog: | |
28 | version 0.3 2012-04-09 RDT | |
29 | Change name to m-tx to avoid clash with another program. | |
30 | ||
31 | version 0.2 2011-11-28 RDT | |
32 | Added -i (retain intermediate files) option | |
33 | ||
34 | version 0.1.1 2011-07-18 RDT | |
35 | ||
36 | Removed a file check that caused it to fail (only on Windows!) | |
37 | ||
38 | version 0.1 2011-07-15 RDT | |
39 | ||
40 | --]] | |
41 | ||
42 | function usage() | |
43 | print("Usage: [texlua] m-tx.lua { option | basename[.mtx] } ... ") | |
44 | print("options: -v version") | |
45 | print(" -h help") | |
46 | print(" -l latex (or pdflatex)") | |
47 | print(" -p pdfetex (or pdflatex)") | |
48 | print(" -d dvipdfm") | |
49 | print(" -s stop at dvi") | |
50 | print(" -t stop at tex/mid") | |
51 | print(" -m stop at pmx") | |
52 | print(" -i retain intermediate files") | |
53 | print(" -f restore default processing") | |
54 | end | |
55 | ||
56 | function whoami () | |
57 | print("This is m-tx.lua version ".. VERSION .. ".") | |
58 | end | |
59 | ||
60 | whoami() | |
61 | if #arg == 0 then | |
62 | usage() | |
63 | os.exit(0) | |
64 | end | |
65 | ||
66 | -- defaults: | |
67 | prepmx = "prepmx" | |
68 | pmx = "pmxab" | |
69 | tex = "etex" | |
70 | musixflx = "musixflx" | |
71 | dvi = "dvips" | |
72 | ps2pdf = "ps2pdf" | |
73 | intermediate = 1 | |
74 | ||
75 | exit_code = 0 | |
76 | narg = 1 | |
77 | repeat | |
78 | this_arg = arg[narg] | |
79 | if this_arg == "-v" then | |
80 | os.exit(0) | |
81 | elseif this_arg == "-h" then | |
82 | usage() | |
83 | os.exit(0) | |
84 | elseif this_arg == "-l" then | |
85 | if tex == "pdfetex" then | |
86 | tex = "pdflatex" | |
87 | else | |
88 | tex = "latex" | |
89 | end | |
90 | elseif this_arg == "-p" then | |
91 | if tex == "latex" then | |
92 | tex = "pdflatex" | |
93 | else | |
94 | tex = "pdfetex" | |
95 | end | |
96 | dvi = ""; ps2pdf = "" | |
97 | elseif this_arg == "-d" then | |
98 | dvi = "dvipdfm"; ps2pdf = "" | |
99 | elseif this_arg == "-s" then | |
100 | dvi = ""; ps2pdf = "" | |
101 | elseif this_arg == "-i" then | |
102 | intermediate = 0 | |
103 | elseif this_arg == "-f" then | |
104 | pmx = "pmxab"; tex = "etex"; dvi = "dvips"; ps2pdf = "ps2pdf"; intermediate = 1 | |
105 | elseif this_arg == "-t" then | |
106 | tex = ""; dvi = ""; ps2pdf = "" | |
107 | elseif this_arg == "-m" then | |
108 | pmx = ""; tex = ""; dvi = ""; ps2pdf = "" | |
109 | else | |
110 | filename = this_arg | |
111 | if filename ~= "" and string.sub(filename, -4, -1) == ".mtx" then | |
112 | filename = string.sub(filename, 1, -5) | |
113 | end | |
114 | print("Processing ".. filename .. ".mtx.") | |
115 | OK = true | |
116 | if ( os.execute(prepmx .. " " .. filename ) ~= 0 ) then | |
117 | OK = false | |
118 | end | |
119 | if (OK and pmx ~= "") then | |
120 | os.execute(pmx .. " " .. filename) -- does pmx return an error code? | |
121 | pmxaerr = io.open("pmxaerr.dat", "r") | |
122 | if (not pmxaerr) then | |
123 | print("No log file.") | |
124 | OK = false | |
125 | else | |
126 | linebuf = pmxaerr:read() | |
127 | err = tonumber(linebuf) | |
128 | if (err ~= 0) then | |
129 | OK = false | |
130 | end | |
131 | pmxaerr:close() | |
132 | end | |
133 | end | |
134 | os.remove( filename .. ".mx2" ) | |
135 | if ( OK ) and | |
136 | ((tex == "") or os.execute(tex .. " " .. filename) == 0) and | |
137 | ((tex == "") or os.execute(musixflx .. " " .. filename) == 0) and | |
138 | ((tex == "") or os.execute(tex .. " " .. filename) == 0) and | |
139 | ((tex ~= "latex" and tex ~= "pdflatex") | |
140 | or (os.execute(tex .. " " .. filename) == 0)) and | |
141 | (dvi == "" or (os.execute(dvi .. " " .. filename) == 0)) and | |
142 | (ps2pdf == "" or (os.execute(ps2pdf .. " " .. filename .. ".ps") == 0) ) | |
143 | then | |
144 | if ps2pdf ~= "" then | |
145 | print(filename .. ".pdf generated by " .. ps2pdf .. ".") | |
146 | end | |
147 | if intermediate == 1 then -- clean-up: | |
148 | os.remove( "pmxaerr.dat" ) | |
149 | os.remove( filename .. ".mx1" ) | |
150 | os.remove( filename .. ".mx2" ) | |
151 | if pmx ~= "" then | |
152 | os.remove( filename .. ".pmx" ) | |
153 | end | |
154 | if dvi ~= "" then | |
155 | os.remove( filename .. ".dvi" ) | |
156 | end | |
157 | if ps2pdf ~= "" then | |
158 | os.remove( filename .. ".ps" ) | |
159 | end | |
160 | end | |
161 | else | |
162 | print("M-Tx/pmx/MusiXTeX processing of " .. filename .. ".mtx fails.\n") | |
163 | exit_code = 2 | |
164 | --[[ uncomment for debugging | |
165 | print("tex = ", tex) | |
166 | print("dvi = ", dvi) | |
167 | print("ps2pdf = ", ps2pdf) | |
168 | --]] | |
169 | end | |
170 | end --if this_arg == ... | |
171 | narg = narg+1 | |
172 | until narg > #arg | |
173 | os.exit( exit_code ) |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am, configure.ac: Avoid use of deprecated INCLUDES. | |
3 | * Makefile.am: Drop pmx2pdf.lua, | |
4 | now in ../../texk/texlive/linked_scripts/pmx. | |
5 | ||
0 | 6 | 2012-07-12 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 7 | |
2 | 8 | * configure.ac: Fixed a typo (AM_CPPPFLAGS => AM_CPPFLAGS). |
13 | 13 | dist-hook: |
14 | 14 | rm -rf `find $(distdir) -name .svn` |
15 | 15 | |
16 | INCLUDES = -I$(srcdir)/$(PMX_TREE)/libf2c | |
16 | AM_CPPFLAGS = -I$(srcdir)/$(PMX_TREE)/libf2c $(PMX_DEFINES) | |
17 | 17 | AM_CFLAGS = #$(WARNING_CFLAGS) |
18 | 18 | |
19 | 19 | bin_PROGRAMS = pmxab scor2prt |
234 | 234 | EXTRA_libf2c_a_SOURCES += \ |
235 | 235 | $(PMX_TREE)/libf2c/signbit.c |
236 | 236 | |
237 | lua_scripts = pmx2pdf | |
238 | ||
239 | scriptsdir = texmf-dist/scripts/pmx | |
240 | nodist_bin_SCRIPTS = | |
241 | ||
242 | include $(srcdir)/../../texk/am/script_links.am | |
243 | ||
244 | texmfdir = $(datarootdir)/$(scriptsdir) | |
245 | dist_texmf_SCRIPTS = $(lua_scripts:=.lua) | |
246 | ||
247 | install-data-hook: install-lua-links | |
248 | ||
249 | uninstall-hook: uninstall-links | |
250 | ||
251 | 237 | dist_man1_MANS = pmx2pdf.1 pmxab.1 scor2prt.1 |
252 | 238 | |
253 | 239 | ## Tests |
25 | 25 | AM_CONDITIONAL([WIN32_WRAP], |
26 | 26 | [test -r $srcdir/../../texk/texlive/w32_wrapper/runscript.exe]) |
27 | 27 | |
28 | dnl initial value for AM_CPPFLAGS | |
29 | AC_SUBST([AM_CPPFLAGS], ['-DNON_UNIX_STDIO']) | |
28 | dnl initial value for PMX_DEFINES | |
29 | AC_SUBST([PMX_DEFINES], ['-DNON_UNIX_STDIO']) | |
30 | 30 | |
31 | 31 | dnl WIN32 has no <sys/times.h>, native WIN32 is as MSDOS |
32 | 32 | KPSE_CHECK_WIN32 |
33 | 33 | AS_CASE([$kpse_cv_have_win32], |
34 | [native], [AM_CPPFLAGS="$AM_CPPFLAGS -DMSDOS"], | |
35 | [mingw32], [AM_CPPFLAGS="$AM_CPPFLAGS -DUSE_CLOCK"]) | |
34 | [native], [PMX_DEFINES="$PMX_DEFINES -DMSDOS"], | |
35 | [mingw32], [PMX_DEFINES="$PMX_DEFINES -DUSE_CLOCK"]) | |
36 | 36 | |
37 | 37 | dnl Checks for programs. |
38 | 38 | AC_PROG_INSTALL |
44 | 44 | |
45 | 45 | AC_CHECK_SIZEOF([long long]) |
46 | 46 | if test $ac_cv_sizeof_long_long -lt 8; then |
47 | AM_CPPFLAGS="$AM_CPPFLAGS -DNO_LONG_LONG" | |
47 | PMX_DEFINES="$PMX_DEFINES -DNO_LONG_LONG" | |
48 | 48 | fi |
49 | 49 | |
50 | 50 | AC_SUBST([PMX_TREE], [pmx-]pmx_version) |
0 | #!/usr/bin/env texlua | |
1 | ||
2 | VERSION = "0.2.1" | |
3 | ||
4 | --[[ | |
5 | pmx2pdf: processes MusiXTeX files using pmxab as a pre-processor | |
6 | (and deletes intermediate files) | |
7 | ||
8 | (c) Copyright 2011-12 Bob Tennent rdt@cs.queensu.ca | |
9 | ||
10 | This program is free software; you can redistribute it and/or modify it | |
11 | under the terms of the GNU General Public License as published by the | |
12 | Free Software Foundation; either version 2 of the License, or (at your | |
13 | option) any later version. | |
14 | ||
15 | This program is distributed in the hope that it will be useful, | |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | |
18 | Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU General Public License along | |
21 | with this program; if not, write to the Free Software Foundation, Inc., | |
22 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
23 | ||
24 | --]] | |
25 | ||
26 | --[[ | |
27 | ||
28 | ChangeLog: | |
29 | version 0.2.1 2012-05-15 RDT | |
30 | renamed to avoid possible name clashes | |
31 | ||
32 | version 0.2 2011-11-28 RDT | |
33 | added -i (retain intermediate files) option | |
34 | ||
35 | version 0.1 2011-07-12 RDT | |
36 | ||
37 | --]] | |
38 | ||
39 | function usage() | |
40 | print("Usage: [texlua] pmx2pdf { option | basename[.pmx] } ... ") | |
41 | print("options: -v version") | |
42 | print(" -h help") | |
43 | print(" -l latex (or pdflatex)") | |
44 | print(" -p pdfetex (or pdflatex)") | |
45 | print(" -d dvipdfm") | |
46 | print(" -s stop at dvi") | |
47 | print(" -t stop at tex/mid") | |
48 | print(" -i retain intermediate files") | |
49 | print(" -f restore default processing") | |
50 | end | |
51 | ||
52 | function whoami () | |
53 | print("This is pmx2pdf version ".. VERSION .. ".") | |
54 | end | |
55 | ||
56 | whoami() | |
57 | if #arg == 0 then | |
58 | usage() | |
59 | os.exit(0) | |
60 | end | |
61 | ||
62 | -- defaults: | |
63 | tex = "etex" | |
64 | musixflx = "musixflx" | |
65 | dvi = "dvips" | |
66 | ps2pdf = "ps2pdf" | |
67 | intermediate = 1 | |
68 | ||
69 | exit_code = 0 | |
70 | narg = 1 | |
71 | repeat | |
72 | this_arg = arg[narg] | |
73 | if this_arg == "-v" then | |
74 | os.exit(0) | |
75 | elseif this_arg == "-h" then | |
76 | usage() | |
77 | os.exit(0) | |
78 | elseif this_arg == "-l" then | |
79 | if tex == "pdfetex" then | |
80 | tex = "pdflatex" | |
81 | else | |
82 | tex = "latex" | |
83 | end | |
84 | elseif this_arg == "-p" then | |
85 | if tex == "latex" then | |
86 | tex = "pdflatex" | |
87 | else | |
88 | tex = "pdfetex" | |
89 | end | |
90 | dvi = ""; ps2pdf = "" | |
91 | elseif this_arg == "-d" then | |
92 | dvi = "dvipdfm"; ps2pdf = "" | |
93 | elseif this_arg == "-s" then | |
94 | dvi = ""; ps2pdf = "" | |
95 | elseif this_arg == "-f" then | |
96 | tex = "etex"; dvi = "dvips"; ps2pdf = "ps2pdf"; intermediate = 1 | |
97 | elseif this_arg == "-t" then | |
98 | tex = ""; dvi = ""; ps2pdf = "" | |
99 | elseif this_arg == "-i" then | |
100 | intermediate = 0 | |
101 | else | |
102 | filename = this_arg | |
103 | if filename ~= "" and string.sub(filename, -4, -1) == ".pmx" then | |
104 | filename = string.sub(filename, 1, -5) | |
105 | end | |
106 | if not io.open(filename .. ".pmx", "r") then | |
107 | print("Non-existent file: ", filename .. ".pmx") | |
108 | else | |
109 | print("Processing ".. filename .. ".pmx.") | |
110 | os.remove( filename .. ".mx2" ) | |
111 | os.execute("pmxab" .. " " .. filename ) | |
112 | pmxaerr = io.open("pmxaerr.dat", "r") | |
113 | if (not pmxaerr) then | |
114 | print("No log file.") | |
115 | os.exit(1) | |
116 | end | |
117 | linebuf = pmxaerr:read() | |
118 | err = tonumber(linebuf) | |
119 | pmxaerr:close() | |
120 | if ( err == 0 ) and | |
121 | ((tex == "") or os.execute(tex .. " " .. filename) == 0) and | |
122 | ((tex == "") or os.execute(musixflx .. " " .. filename) == 0) and | |
123 | ((tex == "") or os.execute(tex .. " " .. filename) == 0) and | |
124 | ((tex ~= "latex" and tex ~= "pdflatex") | |
125 | or (os.execute(tex .. " " .. filename) == 0)) and | |
126 | (dvi == "" or (os.execute(dvi .. " " .. filename) == 0)) and | |
127 | (ps2pdf == "" or (os.execute(ps2pdf .. " " .. filename .. ".ps") == 0) ) | |
128 | then | |
129 | if ps2pdf ~= "" then | |
130 | print(filename .. ".pdf generated by " .. ps2pdf .. ".") | |
131 | end | |
132 | if intermediate == 1 then -- clean-up: | |
133 | os.remove( "pmxaerr.dat" ) | |
134 | os.remove( filename .. ".mx1" ) | |
135 | os.remove( filename .. ".mx2" ) | |
136 | if dvi ~= "" then | |
137 | os.remove( filename .. ".dvi" ) | |
138 | end | |
139 | if ps2pdf ~= "" then | |
140 | os.remove( filename .. ".ps" ) | |
141 | end | |
142 | end | |
143 | else | |
144 | print("PMX/MusiXTeX processing of " .. filename .. ".pmx fails.\n") | |
145 | exit_code = 2 | |
146 | --[[ uncomment for debugging | |
147 | print("tex = ", tex) | |
148 | print("dvi = ", dvi) | |
149 | print("ps2pdf = ", ps2pdf) | |
150 | --]] | |
151 | end | |
152 | ||
153 | end --if not io.open ... | |
154 | end --if this_arg == ... | |
155 | narg = narg+1 | |
156 | until narg > #arg | |
157 | os.exit( exit_code ) |
0 | 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> | |
1 | ||
2 | * Makefile.am: Avoid use of deprecated INCLUDES. | |
3 | ||
0 | 4 | 2011-11-04 Peter Breitenlohner <peb@mppmu.mpg.de> |
1 | 5 | |
2 | 6 | * t1utils.test: Perform all sub-tests and report failed ones. |
0 | 0 | ## Makefile.am for the TeX Live subdirectory utils/t1utils/ |
1 | 1 | ## |
2 | ## Copyright (C) 2008-2011 Peter Breitenlohner <tex-live@tug.org> | |
2 | ## Copyright (C) 2008-2012 Peter Breitenlohner <tex-live@tug.org> | |
3 | 3 | ## You may freely use, modify and/or distribute this file. |
4 | 4 | ## |
5 | 5 | #************************************************************************ |
25 | 25 | dist-hook: |
26 | 26 | rm -rf `find $(distdir) -name .svn` |
27 | 27 | |
28 | INCLUDES = -I$(top_srcdir)/$(T1UTILS_TREE)/include | |
28 | AM_CPPFLAGS = -I$(top_srcdir)/$(T1UTILS_TREE)/include | |
29 | 29 | AM_CFLAGS = $(WARNING_CFLAGS) |
30 | 30 | |
31 | 31 | bin_PROGRAMS = t1ascii t1binary t1asm t1disasm t1unmac t1mac |