app-text/passivetex-1.25 compiled and helped generate a pdf from an xsl-fo without any changes. I used xmlto which uses passivetex when generating a pdf from an xsl-fo. This package should have the amd64 keyword added. Reproducible: Always Gentoo Base System version 1.6.12 Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo x86_64) ================================================================= System uname: 2.6.12-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+ dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.3 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -fomit-frame-pointer -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -fomit-frame-pointer -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks prelink sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d a52 aac aalib acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bmp bzlib cairo cdparanoia cdr crypt cups curl dba dedicated dga directfb doc dvd dvdread emacs encode esd examples expat fam fbcon ffmpeg flac font-server foomaticdb fortran gd gd-external gdbm ggi gif gimp gnutls gpm gtk gtk2 guile hal imagemagick imlib ipv6 jack java javascript joystick jp2 jpeg junit ldap libcaca libwww lzw lzw-tiff mad matroska mikmod mng motif mozilla mp3 mpeg mplayer mysql ncurses netboot nls no-old-linux nptl nptlonly nvidia objc ofx ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl php pic plotutils png posix ppds python qt quicktime rar readline real samba scanner sdl simplexml slang sndfile speex spell spl ssl stream svg symlink sysfs tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vorbis wmf wxwindows xine xinerama xml xml2 xmms xosd xpm xprint xrandr xsl xv xvid xvmc zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Eric, having trouble testing this (it's likely because I am retarded) If you can supply: example xsl-fo file command to run I'll happily mark it TESTED, deal? ;) Cheers Jim
Created attachment 66113 [details] Sample xsl-fo file
Woops, now I know how the attachment works... Command to run (this command is provided by xmltex but relies on passivetex): $ pdfxmltex sample.fo
jim@gentoo ~ $ pdfxmltex sample.fo This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) (./sample.fo{/usr/share/texmf/pdftex/config/pdftex.cfg} xmltex version: 2002/06/25 v1.9 (Exp): (/usr/share/texmf/tex/xmltex/xmltex.cfg) ! I can't find file `sample.cfg'. \@filef@und ->\jobname .cfg ... l.1 <?xml version="1.0" ?> Please type another input file name:
Ummm... I don't know what is wrong there... I tried downloading the sample xsl-fo file and saved it as sample.fo and then ran "pdfxmltex sample.fo"... and no problems... I will play around and see if I can break mine :)
Looks like it tries to use "<filename>.cfg" Do you have any config files lying around for it? Jim
Sorry for the VERY late reply - I have been without Internet. Okay. My output should shed some light on the subject: $ pdfxmltex sample.fo This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode (./sample.fo LaTeX2e <2003/12/01> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur kish, ukrainian, nohyphenation, loaded. xmltex version: 2002/06/25 v1.9 (Exp): (/usr/share/texmf/tex/xmltex/xmltex.cfg) No File: sample.cfg (/usr/share/texmf/tex/passivetex/fotex.xmt) (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/passivetex/fotex.sty ) No file sample.aux. (/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd) (/usr/share/texmf/tex/latex/base/ts1cmr.fd) (/usr/share/texmf/tex/latex/psnfss/t1ptm.fd) No file sample.out. No file sample.out. INFO: Using normal, i.e. nonfrench-spacing in document Underfull \hbox (badness 10000) has occurred while \output is active [] [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./sample.aux) ) (see the transcript file for additional information){/usr/share/texmf/fonts/enc /dvips/psnfss/8r.enc}</usr/share/texmf/fonts/type1/urw/times/utmr8a.pfb> Output written on sample.pdf (1 page, 20599 bytes). Transcript written on sample.log. The main differences I see is the use of a different pdfeTex and maybe a different Tex distribution. I am using tetex-3.0-r2, are you using something else?
* app-text/tetex Available versions: !1.0.7-r13 2.0.2-r5 ~2.0.2-r6 ~3.0-r1 ~3.0-r2 ~3.0-r3 Installed: 2.0.2-r5 I'm using the stable tetex. Will investigate other versions when I get a minute Jim
OK, merged tetex-3.0-r3 (the latest ~amd64) and it looks slightly more helpful jim@gentoo ~ $ pdfxmltex sample.fo This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) kpathsea: Running mktexfmt pdfxmltex.fmt fmtutil: no info for format `pdfxmltex'. I can't find the format file `pdfxmltex.fmt'! Jim
Hmm... I didn't have any such problem... Anyways, mine is located at: /var/lib/texmf/web2c/pdfxmltex.fmt I checked /var/db/pkg and it was installed as part of dev-tex/xmltex-1.9-r1. Hope that helps.
Hmm something is very wrong here According to qpkg, xmltex did install that file, albeit to /usr/share/texmf/web2c/ But it isnt there?! Remerging xmltex fixed that. Just need to check now exactly what makes it work (will downgrade tetex etc, it could be because of my broken xmltex all along) btw, what's supposed to be in the PDF file? Jim
Created attachment 68931 [details] PDF output of sample.fo I uploaded what the output of sample.fo. Nothing really special, just a few character codes with their coresponding representation.
Yup that's exactly what I get, cool. I'll check out the dependency issues (which version of tetex is really needed to make this work) and get back to you Jim
Only works for me with >=tetex-3.0-r2. Bizarre Waiting on somebody else to confirm this. Jim
I just downgraded to tetex-3.0-r1 and it still worked for me, so unless I can downgrade incorrectly, then it seemed to work for r1.
we're currently testing a new alias system, sorry for the bugspam
Seems to work just fine here, I am marking ~amd64. It possibly needs to depend upon tetex-3 to go stable.