Codebase list texlive-bin / cf0cb73
Imported Upstream version 2012.20121124 Norbert Preining 11 years ago
89 changed file(s) with 494 addition(s) and 524 deletion(s). Raw diff Collapse all Expand all
1313
1414 autoconf (GNU Autoconf) 2.69
1515
16 automake (GNU automake) 1.12.4
16 automake (GNU automake) 1.12.5
1717
1818 ltmain.sh (GNU libtool) 2.4.2
1919
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * kpse-poppler-flags.m4: Require poppler-0.18 or better.
3
04 2012-10-19 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * kpse-poppler-flags.m4 [WIN32]: Add '-lgdi32' to POPPLER_LIBS.
3232 # ----------------------
3333 AC_DEFUN([KPSE_POPPLER_SYSTEM_FLAGS],
3434 [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`
3837 POPPLER_LIBS=`$PKG_CONFIG poppler --libs`
3938 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])
4140 fi
4241 ]) # KPSE_POPPLER_SYSTEM_FLAGS
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-03-12 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * afm2pl.c (readargs): Correct the fdims array size (3 => 5).
00 ## Makefile.am for the TeX Live subdirectory texk/afm2pl/
11 ##
2 ## Copyright (C) 2009, 2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES)
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES)
88 AM_CFLAGS = $(WARNING_CFLAGS)
99
1010 bin_PROGRAMS = afm2pl
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-10-11 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * utils.c (c8read_csf): DEFAULT_BIBTEX_CSFILE is set to
00 ## Makefile.am for the TeX Live subdirectory texk/bibtex8/
11 ##
2 ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES)
8 AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSUPPORT_8BIT
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA -DSUPPORT_8BIT
98 AM_CFLAGS = $(WARNING_CFLAGS)
109
1110 bin_PROGRAMS = bibtex8
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-10-11 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * utils.c (c8read_csf): DEFAULT_BIBTEX_CSFILE is set to
00 ## Makefile.am for the TeX Live subdirectory texk/bibtexu/
11 ##
2 ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES) $(ICU_INCLUDES)
8 AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSUPPORT_8BIT
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) $(ICU_INCLUDES) -DUNIX -DKPATHSEA -DSUPPORT_8BIT
98 AM_CFLAGS = $(WARNING_CFLAGS)
109
1110 bin_PROGRAMS = bibtexu
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-05-11 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 Import cjk-4.8.3/utils as cjkutils-4.8.3.
00 ## Makefile.am for the TeX Live subdirectory texk/cjkutils/
11 ##
2 ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
2525
2626 DISTCLEANFILES = config.force
2727
28 INCLUDES = $(KPATHSEA_INCLUDES)
29 AM_CPPFLAGS = $(XX_CPPFLAGS)
28 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) $(XX_CPPFLAGS)
3029 AM_CFLAGS = $(XX_CFLAGS)
3130
3231 bin_PROGRAMS = \
4241 $(CJKUTILS_TREE)/hbf2gf/hbf.c \
4342 $(CJKUTILS_TREE)/hbf2gf/hbf.h \
4443 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
4645 hbf2gf_DEPENDENCIES = $(KPATHSEA_DEPEND)
4746 hbf2gf_LDADD = $(KPATHSEA_LIBS)
4847
7271 gbklatex_LDADD = $(KPATHSEA_LIBS)
7372
7473 gbkpdflatex_SOURCES = $(gbklatex_SOURCES)
75 gbkpdflatex_CPPFLAGS = -DLATEX=\"pdflatex\" $(AM_CPPFLAGS)
74 gbkpdflatex_CPPFLAGS = $(AM_CPPFLAGS) -DLATEX=\"pdflatex\"
7675 gbkpdflatex_DEPENDENCIES = $(gbklatex_DEPENDENCIES)
7776 gbkpdflatex_LDADD = $(gbklatex_LDADD)
7877
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2010-09-24 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * Remove detex-2.7/ and detex-2.7-PATCHES/.
00 ## Makefile.am for the TeX Live subdirectory texk/detex/
11 ##
2 ## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
1313 dist-hook:
1414 rm -rf `find $(distdir) -name .svn`
1515
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
1817 AM_CFLAGS = $(WARNING_CFLAGS)
1918
2019 ## 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
04 2012-04-25 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * dvi2tty.test: Add a copyright statement.
1616 dist-hook:
1717 rm -rf `find $(distdir) -name .svn`
1818
19 INCLUDES = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES)
20 AM_CPPFLAGS = -DKPATHSEA
19 AM_CPPFLAGS = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) -DKPATHSEA
2120 AM_CFLAGS = $(WARNING_CFLAGS)
2221
2322 LDADD = $(KPATHSEA_LIBS)
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-05-29 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * dvidvi.c: Drop the problematic prototype for isatty(),
00 ## Makefile.am for the TeX Live subdirectory texk/dvidvi/
11 ##
2 ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES)
8 AM_CPPFLAGS = -DKPATHSEA -DUNIX
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DKPATHSEA -DUNIX
98 AM_CFLAGS = $(WARNING_CFLAGS)
109
1110 bin_PROGRAMS = dvidvi
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-10-03 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * dvi2xx.c [WIN32]: Avoid segmentation fault for missing WINDIR.
00 ## Makefile.am for the TeX Live subdirectory texk/dviljk/
11 ##
2 ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES)
8 AM_CPPFLAGS = -DKPATHSEA
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DKPATHSEA
98 AM_CFLAGS = $(WARNING_CFLAGS)
109
1110 noinst_LIBRARIES = libdvilj.a
3130 dvi2xx.c \
3231 dvi2xx.h
3332
34 dvilj_CPPFLAGS = -DKPATHSEA -DLJ
33 dvilj_CPPFLAGS = $(AM_CPPFLAGS) -DLJ
3534 dvilj_SOURCES = $(dvi2xx_sources)
3635 $(dvilj_OBJECTS): libdvilj.a
3736
38 dvilj2p_CPPFLAGS = -DKPATHSEA -DLJ2P
37 dvilj2p_CPPFLAGS = $(AM_CPPFLAGS) -DLJ2P
3938 dvilj2p_SOURCES = $(dvi2xx_sources)
4039 $(dvilj2p_OBJECTS): libdvilj.a
4140
42 dvilj4_CPPFLAGS = -DKPATHSEA -DLJ4
41 dvilj4_CPPFLAGS = $(AM_CPPFLAGS) -DLJ4
4342 dvilj4_SOURCES = $(dvi2xx_sources)
4443 $(dvilj4_OBJECTS): libdvilj.a
4544
46 dvilj4l_CPPFLAGS = -DKPATHSEA -DLJ4 -DLJ4L
45 dvilj4l_CPPFLAGS = $(AM_CPPFLAGS) -DLJ4 -DLJ4L
4746 dvilj4l_SOURCES = $(dvi2xx_sources)
4847 $(dvilj4l_OBJECTS): libdvilj.a
4948
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-07-15 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * dvipos.c: Pass program name string to kpse_set_program_name.
00 ## Makefile.am for the TeX Live subdirectory texk/dvipos/
11 ##
2 ## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES)
8 AM_CPPFLAGS = -DKPATHSEA
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DKPATHSEA
98 AM_CFLAGS = $(WARNING_CFLAGS)
109
1110 bin_PROGRAMS = dvipos
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-08-10 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * ptexmac.h: Drop unused definition of M_PI & Co.
66
77 SUBDIRS = squeeze
88
9 INCLUDES = $(KPATHSEA_INCLUDES)
10 AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSHIFTLOWCHARS
9 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA -DSHIFTLOWCHARS
1110 AM_CFLAGS = $(WARNING_CFLAGS)
1211
1312 bin_PROGRAMS = afm2tfm dvips
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-09-28 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * Imported release 1.0.12.
00 ## Makefile.am for the TeX Live subdirectory texk/dvisvgm/
11 ##
2 ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 #************************************************************************
2323 dist-hook:
2424 rm -rf `find $(distdir) -name .svn`
2525
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)
3030 if WIN32
31 AM_CPPFLAGS = -DTEXLIVEWIN32
31 AM_CPPFLAGS += -DTEXLIVEWIN32
3232 endif WIN32
3333 AM_CFLAGS = $(WARNING_CFLAGS)
3434 AM_CXXFLAGS = $(WARNING_CXXFLAGS)
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-10-17 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * gsftopk.c: Avoid MSVC warning.
00 ## Makefile.am for the TeX Live subdirectory texk/gsftopk/
11 ##
2 ## Copyright (C) 2009, 2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES)
8 AM_CPPFLAGS = -DKPATHSEA -Dlint
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DKPATHSEA -Dlint
98 AM_CFLAGS = $(WARNING_CFLAGS)
109
1110 bin_PROGRAMS = gsftopk
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-10-03 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * mingw32.c: use stat in static int is_dir ().
1313
1414 EXTRA_DIST = BUGS PROJECTS
1515
16 INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir)/..
16 AM_CPPFLAGS = -I$(top_builddir)/.. -I$(top_srcdir)/..
1717 AM_CFLAGS = $(WARNING_CFLAGS)
1818
1919 lib_LTLIBRARIES = libkpathsea.la
2020
21 libkpathsea_la_CPPFLAGS = -DMAKE_KPSE_DLL
21 libkpathsea_la_CPPFLAGS = $(AM_CPPFLAGS) -DMAKE_KPSE_DLL
2222
2323 libkpathsea_la_LDFLAGS = -no-undefined -version-info $(KPSE_LT_VERSINFO)
2424
228228
229229 EXTRA_PROGRAMS = progname-test xdirtest
230230
231 progname_test_CPPFLAGS = -DMAKE_KPSE_DLL -DTEST
231 progname_test_CPPFLAGS = $(AM_CPPFLAGS) -DMAKE_KPSE_DLL -DTEST
232232 progname_test_SOURCES = progname.c
233233 progname_test_LDADD = libkpathsea.la
234234
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-10-16 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * mkind.h: Drop duplicate '#include "c-auto.h"'.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES)
8 AM_CPPFLAGS = -DUNIX -DKPATHSEA
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA
98 AM_CFLAGS = $(WARNING_CFLAGS)
109
1110 if !WIN32
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-09-21 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
15
26 * main.c (main): add break;.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES)
7 AM_CPPFLAGS = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES)
88 AM_CFLAGS = $(WARNING_CFLAGS)
99
1010 bin_PROGRAMS = makejvf
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-10-16 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * convert.c: Move common #include's from here ...
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES)
7 AM_CPPFLAGS = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES)
88 AM_CFLAGS = $(WARNING_CFLAGS)
99
1010 bin_PROGRAMS = mendex
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-10-15 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 Remove TL vs W32TeX diffs (from Akira).
66
77 bin_PROGRAMS = mag pfb2pfa pk2bm ps2pk
88
9 INCLUDES = $(KPATHSEA_INCLUDES)
10 AM_CPPFLAGS = -DUNIX -DKPATHSEA
9 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA
1110 AM_CFLAGS = #$(WARNING_CFLAGS)
1211 LDADD = $(KPATHSEA_LIBS)
1312
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-09-04 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * ptexenc.c: Define ptexenc_version_string as PTEXENCVERSION.
88 .PHONY: rebuild
99 rebuild: all
1010
11 INCLUDES = $(KPATHSEA_INCLUDES)
11 AM_CPPFLAGS = $(KPATHSEA_INCLUDES)
1212 AM_CFLAGS = $(WARNING_CFLAGS)
1313
1414 lib_LTLIBRARIES = libptexenc.la
1515
16 libptexenc_la_CPPFLAGS = -DMAKE_PTENC_DLL
16 libptexenc_la_CPPFLAGS = $(AM_CPPFLAGS) -DMAKE_PTENC_DLL
1717
1818 libptexenc_la_LDFLAGS = -no-undefined -version-info $(PTEXENC_LT_VERSINFO)
1919
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-07-25 Ken Brown <kbrow1i@gmail.com>
15
26 * seek.c (CopyFile): No special file mode handling for Cygwin.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES)
8 AM_CPPFLAGS = -DUNIX -DKPATHSEA
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA
98 AM_CFLAGS = $(WARNING_CFLAGS)
109
1110 noinst_LIBRARIES = libtex.a
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-07-25 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * t4ht.c, tex4ht.c [WIN32]: More changes from W32TeX.
00 ## Makefile.am for the TeX Live subdirectory texk/tex4htk/
11 ##
2 ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
1111 dist-hook:
1212 rm -rf `find $(distdir) -name .svn`
1313
14 INCLUDES = $(KPATHSEA_INCLUDES)
15 AM_CPPFLAGS = -DANSI -DKPATHSEA
14 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DANSI -DKPATHSEA
1615 AM_CFLAGS = $(WARNING_CFLAGS)
1716
1817 bin_PROGRAMS = t4ht tex4ht
138138 latexmk/latexmk.pl \
139139 latexpand/latexpand \
140140 luaotfload/mkluatexfontdb.lua \
141 m-tx/m-tx.lua \
141142 match_parens/match_parens \
142143 mathspic/mathspic.pl \
143144 mf2pt1/mf2pt1.pl \
00 #!/bin/sh
11 ##
22 ## \ProvidesFile{adhocfilelist.sh}
3 ## [2012/10/17 v0.7 command line -> \string\listfiles
3 ## [2012/11/19 v0.71 command line -> \string\listfiles
44 ## \space(UL)]
55 ##
66 ## (C) 2012 Uwe Lück LaTeX Project Public License
1616 }
1717 add_type sty; add_type cfg; add_type cls;
1818 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
2020 #echo adhoc_find_std = $adhoc_find_std
2121 ## standard action (v0.7):
2222 adhoc_fmt_std=',%f'
55 $opt_c = $opt_f = $opt_h = $opt_v = 0;
66 getopts('cfphvl:');
77
8 $version_msg = "findhyph version 3.1\n";
8 $version_msg = "findhyph version 3.2\n";
99 $help_msg = "\nUsage: findhyph [options] <yourtexfile.log>\n" .
1010 "\n" .
1111 "Options: -c display hyphenated words in context\n" .
235235 If you are setting C<\looseness=E<lt>NE<gt>> to optimize paragraphs,
236236 you need to pass that information to the file F<foo.log> in a form
237237 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}}>
239239 for this purpose. If the paragraph contains material in display math mode,
240240 you need to use the macro in all split parts of the paragraph.
241241
361361
362362 =back
363363
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
364375 =head1 LICENSE
365376
366377 This program is free software; you can redistribute it and/or modify
2626 # glossary-super.sty, glossaries.perl.
2727 # Also makeglossaries and makeglossaries.
2828
29 my $version="2.04 (2012-05-19)";
29 my $version="2.05 (2012-11-12)";
3030
3131 # History:
32 # v2.05 (2012-11-12):
33 # * added -d option
3234 # v2.04 (2012-04-19):
3335 # * fixed bug in &scan_aux
3436 # v2.03 (2011-04-12):
7577 use strict;
7678 # v2.01 added the following line
7779 use warnings;
80 # v2.05 added $opt_d
7881 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);
8083
8184
8285 $Getopt::Std::STANDARD_HELP_VERSION = 1;
8588 # .tex file)
8689 # v1.5 added -n (print the command that would be issued but
8790 # don't actually run the command)
88 getopts('s:o:t:p:L:C:ilqrcgn');
91 getopts('s:o:t:p:L:C:ilqrcgnd:');
8992
9093 unless ($#ARGV == 0)
9194 {
9598
9699 # v2.02: added:
97100 print "makeglossaries version $version\n" unless ($opt_q);
101
102 # v2.05 added:
103 chdir $opt_d if ($opt_d);
98104
99105 # v2.02: added:
100106 my $xdynotist = 1;
940946 print "-q\t\tQuiet mode\n";
941947 print "-s <sty>\tEmploy <sty> as the style file\n";
942948 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";
945952
946953 print "\n Xindy Options:\n";
947954 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 )
7777 latexmk/latexmk.pl
7878 latexpand/latexpand
7979 luaotfload/mkluatexfontdb.lua
80 m-tx/m-tx.lua
8081 match_parens/match_parens
8182 mathspic/mathspic.pl
8283 mf2pt1/mf2pt1.pl
9192 perltex/perltex.pl
9293 pkfix/pkfix.pl
9394 pkfix-helper/pkfix-helper
95 pmx/pmx2pdf.lua
9496 pst2pdf/pst2pdf
9597 purifyeps/purifyeps
9698 splitindex/perl/splitindex.pl
00 .\" Hey, Emacs! This is an -*- nroff -*- source file.
1 .\"
1 .\"
22 .\" Copyright (C) 2004, 2012 Hilmar Preusse <hille42@web.de>
3 .\" Copyright (C) 2012 Norbert Preining <preining@logic.at>
34 .\"
45 .\" This is free software; you can redistribute it and/or modify it under
56 .\" the terms of the GNU General Public License as published by the Free
1415 .\" You should have received a copy of the GNU General Public License
1516 .\" along with this program. if not, see <http://www.gnu.org/licenses/>.
1617 .\"
17 .TH "UPDMAP.CFG" "12" "March 2012" "TeX Live" "TeX Live"
18 .TH "UPDMAP.CFG" "20" "November 2012" "TeX Live" "TeX Live"
1819 .SH "NAME"
1920 \fBupdmap.cfg\fR \- configuration of font mapping/inclusion for dvips and
2021 friends.
2728 .PP
2829 \fBupdmap\fP is a utility that creates font configuration files for
2930 \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
3132 an ideal world, updmap would be unnecessary -- each of these programs
3233 would read the same configuration file to learn what fonts are
3334 available and how they should be treated\&. As things stand, however,
3435 each of these tools has subtly different requirements and thereby
3536 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
3839 configuration files in sync\&.
40 .P
41 Running "updmap --help" will output the main documentation for using
42 \fBupdmap\fR.
3943 .P
4044 \fBdvipsPreferOutline\fR
4145 .br
6165 .br
6266 ADOBEkb: Adobe fonts with "berry" filenames (e.g. phvbo8an.pfb)
6367 .P
64 \fBdvipsDownloadBase\fR
68 \fBdvipsDownloadBase35\fR
6569 .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).
6973 .br
7074 The user can override the default by specifying \fBdvips\fR \fI-Pdownload35\fR
7175 (resp. \fBdvips\fR \fI-Pbuiltin35\fR) to download the LW35 fonts
7579 .P
7680 \fBpdftexDownloadBase14\fR
7781 .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
7983 (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.
8185 .br
8286 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.
8488 .P
85 \fBdvipdfmDownloadBase14\fR
89 \fBpxdviUse\fR
8690 .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.
9094 .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.
93107 .P
94108 \fBMap\fR
95109 .br
98112 .br
99113 Usage: \fBMap\fR filename.map
100114 .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).
104117 .P
105118 \fBMixedMap\fR
106119 .br
111124 .br
112125 Usage: \fBMixedMap\fR filename.map
113126 .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
114133 The sign \fB#\fR precedes a comment.
115134 .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
123140 .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
125143 the Debian GNU/Linux system by simply copying the comments from
126144 \fBupdmap.cfg\fR and rewriting some of them. It may be used by other
127145 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
130149 .SH "SEE ALSO"
131 updmap(1), info page of dvips(1)
150 updmap(1), dvips(1)
151
132152 .SH "THANKS TO"
133153 Frank Kuester,
134154 Thomas Esser.
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-09-16 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * tests/ttf2pk.cfg, tests/ttf2pk.test: Extend the test to cover
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
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
99 AM_CFLAGS = $(WARNING_CFLAGS)
1010
1111 bin_PROGRAMS = ttf2pk ttf2tfm
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-09-16 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * tests/ttf2pk.cfg, tests/ttf2pk.test: Extend the test to cover
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
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
99 AM_CFLAGS = $(WARNING_CFLAGS)
1010
1111 bin_PROGRAMS = ttf2pk ttf2tfm
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-09-09 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * include/tables.h, libttf/os2.c: Handle fields present only in
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES)
8 AM_CPPFLAGS = -DUNIX -DKPATHSEA
7 AM_CPPFLAGS = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA
98 AM_CFLAGS = $(WARNING_CFLAGS)
109
1110 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
011 2012-11-13 Peter Breitenlohner <peb@mppmu.mpg.de>
112
213 * Makefile.am: Also drop the unused otangle.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4 -I m4
66
7 INCLUDES =
87 AM_CPPFLAGS = $(KPATHSEA_INCLUDES)
98 ## Not yet for C, C++, and ObjC++ (too many warnings or not yet implemented)
109 AM_CFLAGS = $(WARNING_CFLAGS)
1110 AM_CXXFLAGS = ## $(WARNING_CXXFLAGS)
12 ## Not yet for ObjC++ (not yet implemented)
1311 AM_OBJCXXFLAGS = ## $(WARNING_OBJCXXFLAGS)
1412
1513 version = $(WEB2CVERSION)
3939 # tangleboot.pin is in the distribution
4040 .pin.p:
4141 cp -f $< $@
42 $(tangleboot_OBJECTS): $(tangleboot_DEPENDENCIES)
4243 tangleboot_DEPENDENCIES = $(default_dependencies)
4344 EXTRA_DIST += tangleboot.pin
4445 DISTCLEANFILES += tangleboot.c tangleboot.h tangleboot.p tangleboot-web2c
6667
6768 noinst_PROGRAMS += ctangleboot
6869 nodist_ctangleboot_SOURCES = ctangleboot.c cwebboot.c
69 $(ctangleboot_OBJECTS): cwebboot.h
70 $(ctangleboot_OBJECTS): cwebboot.h $(ctangleboot_DEPENDENCIES)
7071 # ctangleboot.cin and cwebboot.[ch]in are in the distribution
7172 .cin.c:
7273 cp -f $< $@
4444
4545 /* Define to 1 if you have the `access' function. */
4646 #undef HAVE_ACCESS
47
48 /* Define to 1 if class `Annot' has the `decRefCnt' member. */
49 #undef HAVE_ANNOTDECREFCNT
5047
5148 /* Define to 1 if you have the <assert.h> header file. */
5249 #undef HAVE_ASSERT_H
277277 AC_CHECK_SIZEOF([off_t], , AC_INCLUDES_DEFAULT
278278 [#include <kpathsea/config.h>])
279279
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++])
296280 KPSE_RESTORE_FLAGS
297281
298282 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
04 2012-10-14 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
15
26 * texmfmp.c: Use _IONBF for unbuffered stream.
00 ## Makefile.am for the TeX Live subdirectory texk/web2c/lib/
11 ##
2 ## Copyright (C) 2009 - 2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
5 INCLUDES = -I$(top_srcdir)
6 AM_CPPFLAGS = $(KPATHSEA_INCLUDES)
5 AM_CPPFLAGS = -I$(top_srcdir) $(KPATHSEA_INCLUDES)
76 AM_CFLAGS = $(WARNING_CFLAGS)
87
98 ## 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
05 2012-11-06 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
16
27 * pdf/pdflistout.w: sync with r4471 (a bug fix by H. Henkel).
349349 printf("\n===== Annot GC ===== uin=<%p>\n", uin);
350350 #endif
351351 if (uin->atype == ALLOC_LEPDF)
352 #ifdef HAVE_ANNOTDECREFCNT
353352 ((Annot *) uin->d)->decRefCnt();
354 #else
355 delete(Annot *) uin->d;
356 #endif
357353 return 0;
358354 }
359355
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-07-09 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * otp-parser.[ch]: Regenerate with bison 2.5.1.
00 ## Makefile.am for the TeX Live subdirectory texk/web2c/otps/
11 ##
2 ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
5 INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES)
5 AM_CPPFLAGS = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES)
66 AM_CFLAGS = $(WARNING_CFLAGS)
77 AM_YFLAGS = -d -v
88
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-08-22 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * fixwrites.c, main.c, makecpool.c, splitup.c:
00 ## Makefile.am for the TeX Live subdirectory texk/web2c/web2c/
11 ##
2 ## Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../../m4
66
7 INCLUDES = -I$(srcdir)/../..
7 AM_CPPFLAGS = -I$(srcdir)/../..
88 AM_YFLAGS = -d -v
99 AM_CFLAGS = $(WARNING_CFLAGS)
1010
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-07-01 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * win32.c: Avoid TL W32TeX differences.
22 ## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
5 INCLUDES = -I$(top_srcdir) $(KPATHSEA_INCLUDES)
6
7 AM_CPPFLAGS = $(X_CFLAGS)
5 AM_CPPFLAGS = -I$(top_srcdir) $(KPATHSEA_INCLUDES) $(X_CFLAGS)
86 AM_CFLAGS = $(WARNING_CFLAGS)
97
108 ## Rebuild libkpathsea
0 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2010-05-09 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * xdv2pdf_main.c, xdv_kpse_formats.h (XDV2PDF_OLD_FORMATS):
00 ## Makefile.am for the TeX Live subdirectory texk/xdv2pdf/
11 ##
2 ## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009, 2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 INCLUDES = $(KPATHSEA_INCLUDES)
8 AM_CPPFLAGS =
7 AM_CPPFLAGS = $(KPATHSEA_INCLUDES)
98 AM_CFLAGS = $(WARNING_CFLAGS)
109 ## Not yet for C++ (too many warnings)
1110 AM_CXXFLAGS = ## $(WARNING_CXXFLAGS)
00 ChangeLog.TL: Changes for xdvik (TeX Live)
11 ==================================================
2
3 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
4
5 * Makefile.am, tests/Makefile.am: Avoid use of deprecated INCLUDES.
26
37 2012-04-18 Peter Breitenlohner <peb@mppmu.mpg.de>
48
1010
1111 include common.am
1212
13 INCLUDES = -I$(srcdir)/gui $(common_includes)
13 AM_CPPFLAGS = -I$(srcdir)/gui $(common_includes)
1414
1515 ## The object files created from ./*.c and gui/*.c are used for both
1616 ## ./xdvi-bin and tests/run_tests.
00 ## Makefile.am for the TeX Live subdirectory texk/xdvik/tests/
11 ##
2 ## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 include ../common.am
66
7 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gui $(common_includes)
7 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/gui $(common_includes)
88 AM_CFLAGS = $(WARNING_CFLAGS)
99
1010 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
04 2012-09-21 Karl Berry <karl@tug.org>
15
26 * many files: remove useless $Header$ from old repo,
00 ## Makefile.am for the TeX Live subdirectory texk/xdvipdfmx/src/
11 ##
2 ## Copyright (C) 2009, 2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
5 INCLUDES = $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) $(LIBPNG_INCLUDES) $(ZLIB_INCLUDES)
6 AM_CPPFLAGS =
5 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) $(LIBPNG_INCLUDES) $(ZLIB_INCLUDES)
76 AM_CFLAGS = $(WARNING_CFLAGS)
87
98 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
05 2012-10-04 Peter Breitenlohner <peb@mppmu.mpg.de>
16
27 * Makefile.am: Drop libp2c.a (multiple definitions).
5353
5454 ## We can not use $(MTX_TREE)/libp2c/p2clib.c (multiple definitions).
5555
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
7056 dist_man1_MANS = m-tx.1 prepmx.1
7157
7258 ## Tests
+0
-174
utils/m-tx/m-tx.lua less more
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
06 2012-07-12 Peter Breitenlohner <peb@mppmu.mpg.de>
17
28 * configure.ac: Fixed a typo (AM_CPPPFLAGS => AM_CPPFLAGS).
1313 dist-hook:
1414 rm -rf `find $(distdir) -name .svn`
1515
16 INCLUDES = -I$(srcdir)/$(PMX_TREE)/libf2c
16 AM_CPPFLAGS = -I$(srcdir)/$(PMX_TREE)/libf2c $(PMX_DEFINES)
1717 AM_CFLAGS = #$(WARNING_CFLAGS)
1818
1919 bin_PROGRAMS = pmxab scor2prt
234234 EXTRA_libf2c_a_SOURCES += \
235235 $(PMX_TREE)/libf2c/signbit.c
236236
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
251237 dist_man1_MANS = pmx2pdf.1 pmxab.1 scor2prt.1
252238
253239 ## Tests
2525 AM_CONDITIONAL([WIN32_WRAP],
2626 [test -r $srcdir/../../texk/texlive/w32_wrapper/runscript.exe])
2727
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'])
3030
3131 dnl WIN32 has no <sys/times.h>, native WIN32 is as MSDOS
3232 KPSE_CHECK_WIN32
3333 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"])
3636
3737 dnl Checks for programs.
3838 AC_PROG_INSTALL
4444
4545 AC_CHECK_SIZEOF([long long])
4646 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"
4848 fi
4949
5050 AC_SUBST([PMX_TREE], [pmx-]pmx_version)
+0
-158
utils/pmx/pmx2pdf.lua less more
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
04 2011-11-04 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * t1utils.test: Perform all sub-tests and report failed ones.
00 ## Makefile.am for the TeX Live subdirectory utils/t1utils/
11 ##
2 ## Copyright (C) 2008-2011 Peter Breitenlohner <tex-live@tug.org>
2 ## Copyright (C) 2008-2012 Peter Breitenlohner <tex-live@tug.org>
33 ## You may freely use, modify and/or distribute this file.
44 ##
55 #************************************************************************
2525 dist-hook:
2626 rm -rf `find $(distdir) -name .svn`
2727
28 INCLUDES = -I$(top_srcdir)/$(T1UTILS_TREE)/include
28 AM_CPPFLAGS = -I$(top_srcdir)/$(T1UTILS_TREE)/include
2929 AM_CFLAGS = $(WARNING_CFLAGS)
3030
3131 bin_PROGRAMS = t1ascii t1binary t1asm t1disasm t1unmac t1mac
0 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
1
2 * Makefile.am: Avoid use of deprecated INCLUDES.
3
04 2012-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
15
26 * utils.c: Move extern decl from here ...
44 ##
55 ACLOCAL_AMFLAGS = -I ../../m4
66
7 AM_CPPFLAGS = $(X_CFLAGS)
78 AM_CFLAGS = $(WARNING_CFLAGS)
8 INCLUDES = $(X_CFLAGS)
99
1010 LDADD = $(X_LIBS) -lX11 -lXmu $(X_EXTRA_LIBS)
1111