Re: [O] Help exporting to-do list as LaTeX/PDF

2014-10-09 Thread Andreas Yankopolus

 ...
 kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 
 ecbx1200
 
 kpathsea: Running mktexfmt mf.base
 mktexpk: Mismatched mode ljfour and resolution 600; ignoring mode.
 mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; 
 nonstopmode; input ecbx1200
 This is METAFONT, Version 2.718281 (Web2C 2013)
 
 kpathsea: Running mktexfmt mf.base
 I can't find the base file `mf.base'!
 
 It took a while to get to this point, and I had to install a number of
 font packages from the pkgsrc tex-* collection. I do have tex-ec-1.0
 and tex-eco-1.3 installed. But it seems like the problem is more with
 metafont, which is completely beyond me.
 
 Yeah, this looks to me like your setup is attempting to load (or build??) a
 font as part of the compilation process.  As far as I know, that is not
 something that should be required when compiling an Org document
 exported to LaTeX with the default options.
 
 What are the values of your
 
 org-latex-default-packages-alist
 org-latex-packages-alist
 org-latex-pdf-process
 
 variables?  And what does the header of the exported .tex file look
 like?
 
 I guess the way to debug this is to remove the packages that are loaded
 in the exported .tex file, one at a time, until you discover the one
 that is at fault here.  (If it's not some particular package, but
 rather TeX/LaTeX itself that's trying to use METAFONT, I think you're in
 deeper waters...)

Seems like the problem had to do with the combination of files installed by 
pkgsrc for tetex. I switched from pkgsrc to macports for an unrelated reason, 
and generation of PDFs from todo lists via LaTeX now just works.




Re: [O] Help exporting to-do list as LaTeX/PDF

2014-10-08 Thread Andreas Yankopolus
 ...
 kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 
 ecbx1200
 
 kpathsea: Running mktexfmt mf.base
 mktexpk: Mismatched mode ljfour and resolution 600; ignoring mode.
 mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; 
 nonstopmode; input ecbx1200
 This is METAFONT, Version 2.718281 (Web2C 2013)
 
 kpathsea: Running mktexfmt mf.base
 I can't find the base file `mf.base'!
 
 It took a while to get to this point, and I had to install a number of
 font packages from the pkgsrc tex-* collection. I do have tex-ec-1.0
 and tex-eco-1.3 installed. But it seems like the problem is more with
 metafont, which is completely beyond me.
 
 Yeah, this looks to me like your setup is attempting to load (or build??) a
 font as part of the compilation process.  As far as I know, that is not
 something that should be required when compiling an Org document
 exported to LaTeX with the default options.
 
 What are the values of your
 
 org-latex-default-packages-alist
 org-latex-packages-alist
 org-latex-pdf-process
 
 variables?  And what does the header of the exported .tex file look
 like?
 
 I guess the way to debug this is to remove the packages that are loaded
 in the exported .tex file, one at a time, until you discover the one
 that is at fault here.  (If it's not some particular package, but
 rather TeX/LaTeX itself that's trying to use METAFONT, I think you're in
 deeper waters..

Thanks for the troubleshooting ideas. I'm getting XeTeX set up on my system an 
will verify that it works with TeXShop. Then I'll try getting Org Mode 
configured to use it as the LaTeX process.


[O] Help exporting to-do list as LaTeX/PDF

2014-10-04 Thread Andreas Yankopolus
I'm running OS X 10.9.5 and Aquamacs 3.0a with LaTeX installed through pkgsrc. 
I regularly use LaTeX through TeXShop. It took a while to get the correct combo 
of packages installed.

Exporting my to-do list via HTML works fine, but I get the following log when 
trying to export via LaTeX/PDF:

*

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (Web2C 2013)
 restricted \write18 enabled.
entering extended mode
(/Users/ayank/Documents/residence/punch list.tex
LaTeX2e 2011/06/27
(/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/pkg/share/texmf-dist/tex/latex/base/size11.clo))
(/usr/pkg/share/texmf-dist/tex/latex/base/inputenc.sty
(/usr/pkg/share/texmf-dist/tex/latex/base/utf8.def
(/usr/pkg/share/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/pkg/share/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/pkg/share/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/pkg/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/pkg/share/texmf-dist/tex/latex/base/t1enc.def))
(/usr/pkg/share/texmf-dist/tex/latex/base/fixltx2e.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
(/usr/pkg/share/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/pkg/share/texmf-dist/tex/latex/float/float.sty)
(/usr/pkg/share/texmf-dist/tex/latex/wrapfig/wrapfig.sty)
(/usr/pkg/share/texmf-dist/tex/latex/soul/soul.sty)
(/usr/pkg/share/texmf-dist/tex/latex/base/textcomp.sty
(/usr/pkg/share/texmf-dist/tex/latex/base/ts1enc.def
(/usr/pkg/share/texmf-dist/tex/latex/base/ts1enc.dfu)))
(/usr/pkg/share/texmf-dist/tex/latex/marvosym/marvosym.sty)
(/usr/pkg/share/texmf-dist/tex/latex/wasysym/wasysym.sty)
(/usr/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)
(/usr/pkg/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/pkg/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/pkg/share/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty))
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty))
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/pdfescape.sty)
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/pkg/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/hycolor.sty
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/hopatch.sty)))
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/letltxmacro.sty)
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/pkg/share/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/intcalc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/url/url.sty)
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/bitset.sty
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/bigintcalc.sty))
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/atbegshi.sty))

Package hyperref Message: Driver (autodetected): hpdftex.

(/usr/pkg/share/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/atveryend.sty)
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/uniquecounter.sty)))
(/Users/ayank/Documents/residence//punch list.aux)
(/usr/pkg/share/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/pkg/share/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/pkg/share/texmf-dist/tex/latex/oberdiek/refcount.sty)
(/usr/pkg/share/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(/Users/ayank/Documents/residence//punch list.out)
(/Users/ayank/Documents/residence//punch list.out)
(/usr/pkg/share/texmf-dist/tex/latex/wasysym/uwasy.fd)
(/usr/pkg/share/texmf-dist/tex/latex/base/ulasy.fd)
(/usr/pkg/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/pkg/share/texmf-dist/tex/latex/amsfonts/umsb.fd)
(/Users/ayank/Documents/residence//punch list.toc) [1{/var/lib/texmf/fonts/map/
pdftex/updmap/pdftex.map}] [2] [3] [4]
(/Users/ayank/Documents/residence//punch list.aux)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecbx1200

kpathsea: Running mktexfmt 

Re: [O] Help exporting to-do list as LaTeX/PDF

2014-10-04 Thread Richard Lawrence
Hi Andreas,

Andreas Yankopolus andr...@yank.to writes:
 ...
 kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 
 ecbx1200

 kpathsea: Running mktexfmt mf.base
 mktexpk: Mismatched mode ljfour and resolution 600; ignoring mode.
 mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; 
 nonstopmode; input ecbx1200
 This is METAFONT, Version 2.718281 (Web2C 2013)

 kpathsea: Running mktexfmt mf.base
 I can't find the base file `mf.base'!

 It took a while to get to this point, and I had to install a number of
 font packages from the pkgsrc tex-* collection. I do have tex-ec-1.0
 and tex-eco-1.3 installed. But it seems like the problem is more with
 metafont, which is completely beyond me.

Yeah, this looks to me like your setup is attempting to load (or build??) a
font as part of the compilation process.  As far as I know, that is not
something that should be required when compiling an Org document
exported to LaTeX with the default options.

What are the values of your

org-latex-default-packages-alist
org-latex-packages-alist
org-latex-pdf-process

variables?  And what does the header of the exported .tex file look
like?

I guess the way to debug this is to remove the packages that are loaded
in the exported .tex file, one at a time, until you discover the one
that is at fault here.  (If it's not some particular package, but
rather TeX/LaTeX itself that's trying to use METAFONT, I think you're in
deeper waters...)

Best,
Richard




Re: [O] Help exporting to-do list as LaTeX/PDF

2014-10-04 Thread Thomas S. Dye
Aloha Andreas,

Assuming that the file mf.base is present on your system, perhaps you
need to update the kpathsea database after installing some fonts.  On my
system, the commands to do this are texhash or mktexlsr.

hth,
Tom


Andreas Yankopolus andr...@yank.to writes:

 I'm running OS X 10.9.5 and Aquamacs 3.0a with LaTeX installed through
 pkgsrc. I regularly use LaTeX through TeXShop. It took a while to get
 the correct combo of packages installed.

 Exporting my to-do list via HTML works fine, but I get the following
 log when trying to export via LaTeX/PDF:

 *

 This is pdfTeX, Version 3.1415926-2.5-1.40.14 (Web2C 2013)
  restricted \write18 enabled.
 entering extended mode
 (/Users/ayank/Documents/residence/punch list.tex
 LaTeX2e 2011/06/27
 (/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
 Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
 (/usr/pkg/share/texmf-dist/tex/latex/base/size11.clo))
 (/usr/pkg/share/texmf-dist/tex/latex/base/inputenc.sty
 (/usr/pkg/share/texmf-dist/tex/latex/base/utf8.def
 (/usr/pkg/share/texmf-dist/tex/latex/base/t1enc.dfu)
 (/usr/pkg/share/texmf-dist/tex/latex/base/ot1enc.dfu)
 (/usr/pkg/share/texmf-dist/tex/latex/base/omsenc.dfu)))
 (/usr/pkg/share/texmf-dist/tex/latex/base/fontenc.sty
 (/usr/pkg/share/texmf-dist/tex/latex/base/t1enc.def))
 (/usr/pkg/share/texmf-dist/tex/latex/base/fixltx2e.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/graphics/graphicx.sty
 (/usr/pkg/share/texmf-dist/tex/latex/graphics/keyval.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/graphics/graphics.sty
 (/usr/pkg/share/texmf-dist/tex/latex/graphics/trig.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/latexconfig/graphics.cfg)
 (/usr/pkg/share/texmf-dist/tex/latex/pdftex-def/pdftex.def
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
 (/usr/pkg/share/texmf-dist/tex/latex/tools/longtable.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/float/float.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/wrapfig/wrapfig.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/soul/soul.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/base/textcomp.sty
 (/usr/pkg/share/texmf-dist/tex/latex/base/ts1enc.def
 (/usr/pkg/share/texmf-dist/tex/latex/base/ts1enc.dfu)))
 (/usr/pkg/share/texmf-dist/tex/latex/marvosym/marvosym.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/wasysym/wasysym.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
 (/usr/pkg/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
 (/usr/pkg/share/texmf-dist/tex/latex/hyperref/hyperref.sty
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty))
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty))
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/pdfescape.sty)
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
 (/usr/pkg/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/hycolor.sty
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/hopatch.sty)))
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/letltxmacro.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/hyperref/pd1enc.def)
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/intcalc.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
 (/usr/pkg/share/texmf-dist/tex/latex/url/url.sty)
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/bitset.sty
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/bigintcalc.sty))
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/atbegshi.sty))

 Package hyperref Message: Driver (autodetected): hpdftex.

 (/usr/pkg/share/texmf-dist/tex/latex/hyperref/hpdftex.def
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/atveryend.sty)
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/uniquecounter.sty)))
 (/Users/ayank/Documents/residence//punch list.aux)
 (/usr/pkg/share/texmf-dist/tex/latex/base/ts1cmr.fd)
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/grfext.sty
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
 (/usr/pkg/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
 (/usr/pkg/share/texmf-dist/tex/latex/hyperref/nameref.sty
 (/usr/pkg/share/texmf-dist/tex/latex/oberdiek/refcount.sty)
 (/usr/pkg/share/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
 (/Users/ayank/Documents/residence//punch list.out)
 (/Users/ayank/Documents/residence//punch list.out)
 (/usr/pkg/share/texmf-dist/tex/latex/wasysym/uwasy.fd)
 (/usr/pkg/share/texmf-dist/tex/latex/base/ulasy.fd)