* Re: org2pdf export broken on parabola
2016-08-26 11:28 ` Aaron Ecay
@ 2016-08-28 15:28 ` Divan Santana
2016-08-28 18:46 ` Aaron Ecay
0 siblings, 1 reply; 5+ messages in thread
From: Divan Santana @ 2016-08-28 15:28 UTC (permalink / raw)
To: Aaron Ecay, emacs-orgmode
Thanks for the reply.
My initial post was a lacking detail, sorry...
So, on parabola Linux, a simply org file, like this:
QUOTE
* Test
Testing org export to pdf via latex, on parabola Linux.
END QUOTE
If I try export via C-c C-e l p
results in a blank PDF.
The *Org PDF LaTeX Output* buffer contains this:
QUOTE
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Parabola) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(/home/admin/ownCloud/documents/org/test.tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size11.clo))
(/usr/share/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf-dist/tex/latex/base/t1enc.def)
kpathsea: Running mktextfm ecrm1095
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1095
This is METAFONT, Version 2.7182818 (TeX Live 2016/Parabola) (preloaded base=mf)
kpathsea: Running mktexmf ecrm1095
! I can't find file `ecrm1095'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1095
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1095
Transcript written on mfput.log.
grep: ecrm1095.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1095' failed to make ecrm1095.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font T1/cmr/m/n/10.95=ecrm1095 at 10.95pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.105 \fontencoding\encodingdefault\selectfont
) (/usr/share/texmf-dist/tex/latex/base/fixltx2e.sty
Package fixltx2e Warning: fixltx2e is not required with releases after 2015
(fixltx2e) All fixes are now in the LaTeX kernel.
(fixltx2e) See the latexrelease package for details.
) (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texmf-dist/tex/latex/graphics-def/pdftex.def
(/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texmf-dist/tex/latex/oberdiek/grffile.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty))
(/usr/share/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/share/texmf-dist/tex/latex/wrapfig/wrapfig.sty)
(/usr/share/texmf-dist/tex/latex/graphics/rotating.sty
(/usr/share/texmf-dist/tex/latex/base/ifthen.sty))
(/usr/share/texmf-dist/tex/generic/ulem/ulem.sty)
(/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf-dist/tex/latex/base/textcomp.sty
(/usr/share/texmf-dist/tex/latex/base/ts1enc.def
(/usr/share/texmf-dist/tex/latex/base/ts1enc.dfu)))
(/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf-dist/tex/latex/capt-of/capt-of.sty)
(/usr/share/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/share/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/share/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver (autodetected): hpdftex.
(/usr/share/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/share/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)) (.//test.aux)
(/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/share/texmf-dist/tex/latex/oberdiek/grfext.sty)
(/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/gettitlestring.sty)) (.//test.out)
(.//test.out) (.//test.toc
kpathsea: Running mktextfm ecrm1440
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1440
This is METAFONT, Version 2.7182818 (TeX Live 2016/Parabola) (preloaded base=mf)
kpathsea: Running mktexmf ecrm1440
! I can't find file `ecrm1440'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1440
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1440
Transcript written on mfput.log.
grep: ecrm1440.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1440' failed to make ecrm1440.tfm.
kpathsea: Running mktextfm ecbx1440
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecbx1440
This is METAFONT, Version 2.7182818 (TeX Live 2016/Parabola) (preloaded base=mf)
kpathsea: Running mktexmf ecbx1440
! I can't find file `ecbx1440'.
<*> ...ljfour; mag:=1; nonstopmode; input ecbx1440
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecbx1440
Transcript written on mfput.log.
grep: ecbx1440.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecbx1440' failed to make ecbx1440.tfm.
kpathsea: Running mktextfm ecbx1095
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecbx1095
This is METAFONT, Version 2.7182818 (TeX Live 2016/Parabola) (preloaded base=mf)
kpathsea: Running mktexmf ecbx1095
! I can't find file `ecbx1095'.
<*> ...ljfour; mag:=1; nonstopmode; input ecbx1095
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecbx1095
Transcript written on mfput.log.
grep: ecbx1095.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecbx1095' failed to make ecbx1095.tfm.
! Font T1/cmr/m/n/14.4=ecrm1440 at 14.4pt not loadable: Metric (TFM) file not f
ound.
<to be read again>
relax
l.1 ...section}{\numberline {1}Test}{1}{section.1}
! Font T1/cmr/bx/n/14.4=ecbx1440 at 14.4pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.1 ...section}{\numberline {1}Test}{1}{section.1}
! Font T1/cmr/bx/n/10.95=ecbx1095 at 10.95pt not loadable: Metric (TFM) file no
t found.
<to be read again>
relax
l.1 ...section}{\numberline {1}Test}{1}{section.1}
) [1] (.//test.aux) )
(see the transcript file for additional information)
Output written on .//test.pdf (1 page, 1365 bytes).
Transcript written on .//test.log.
END QUOTE
So basically it says the font ecrm1095.mf is missing.
On arch linux this file is at
/usr/share/texmf-dist/fonts/source/jknappen/ec/ecrm1095.mf and provided
by package texlive-core.
On parabola linux this font is missing due to some issues which are
detailed here:
https://lists.parabola.nu/pipermail/assist/2016-August/000716.html
So I'm wondering how one can use the org export to PDF function on
parabola linux which has stripped these fonts due to some licensing
issue (I think).
Aaron Ecay <aaronecay@gmail.com> writes:
> Hi Divan,
>
> 2016ko abuztuak 23an, Divan Santana-ek idatzi zuen:
>>
>> Hi All,
>>
>> So I'm pretty new to Emacs and org-mode. Loving it so far.
>>
>> On parabola (FSF approved Arch linux distro) the default emacs org2pdf
>> function is broken.
>>
>> Details on the reason here:
>>
>> https://lists.parabola.nu/pipermail/assist/2016-August/000716.html
>>
>> Something about freedom licensing issues I think.
>>
>> Two questions:
>>
>> 1) How can I work around this issue on parabola so I can export org 2
>> pdf?
>>
>> 2) If there is an issue with the texlive fonts should org upstream not
>> default to a free software compatible font? So org2pdf works on FSF
>> approved distros?
>
> AFAIK the default org export does not do any font selection (either
> of free or non-free fonts). So it should work just fine.
>
> Obviously it does not for you, though. It would be helpful if you could
> send an example of an org document (it can be short/meaningless, as long
> as it demonstrates the problem), the latex it produces on export, and
> the latex compiler log file, so that we can see the error. Looking at
> that, we will probably be able to diagnose your problem more precisely,
> and figure out what needs to be changed to make it work.
>
> Thanks,
^ permalink raw reply [flat|nested] 5+ messages in thread