Re: [O] org2pdf export broken on parabola

2016-09-15 Thread Divan Santana
Hi Aaron,

Aaron Ecay  writes:

> Hi Divan,
>
> Thanks for your reply.
>
> 2016ko abuztuak 28an, Divan Santana-ek idatzi zuen:
>>
>> 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
>
> [...snip the rest...]
>
> This log indicates that the problem occurs during the loading of the
> fontenc package.  Fontenc is a good package to load, apparently:
> .
>
> You can probably fix this error by either removing the entry for the
> fontenc package from org-latex-default-packages-alist, or setting
> org-latex-compiler to either lualatex or xelatex (newer latex compilers
> neither of which use fontenc).  Of course, either of these might uncover
> further problems (the parabola approach to packaging texlive seems
> pretty haphazard), but I believe either step would fix the problem you
> have reported.

Brilliant. Simple work around. Glad to have this working.

Thanks a ton!



Re: [O] org2pdf export broken on parabola

2016-08-28 Thread Aaron Ecay
Hi Divan,

Thanks for your reply.

2016ko abuztuak 28an, Divan Santana-ek idatzi zuen:
> 
> 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

[...snip the rest...]

This log indicates that the problem occurs during the loading of the
fontenc package.  Fontenc is a good package to load, apparently:
.

You can probably fix this error by either removing the entry for the
fontenc package from org-latex-default-packages-alist, or setting
org-latex-compiler to either lualatex or xelatex (newer latex compilers
neither of which use fontenc).  Of course, either of these might uncover
further problems (the parabola approach to packaging texlive seems
pretty haphazard), but I believe either step would fix the problem you
have reported.

-- 
Aaron Ecay



Re: [O] org2pdf export broken on parabola

2016-08-28 Thread Divan Santana
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.

   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)

Re: [O] org2pdf export broken on parabola

2016-08-26 Thread Aaron Ecay
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,

-- 
Aaron Ecay



[O] org2pdf export broken on parabola

2016-08-23 Thread Divan Santana
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?

Divan