* Latex export does not work
@ 2013-11-06 12:05 Cecil Westerhof
2013-11-06 12:25 ` Cecil Westerhof
2013-11-06 12:38 ` Nick Dokos
0 siblings, 2 replies; 7+ messages in thread
From: Cecil Westerhof @ 2013-11-06 12:05 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 489 bytes --]
I am trying a LaTeX export, but I get the following error:
org-babel-exp processing...
executing Dot code block...
Wrote /tmp/babel-18129i9i/ob-input-18129Nzr
Code block evaluation complete.
Saving file /home/cecil/Documents/shell-scripting.tex...
Wrote /home/cecil/Documents/shell-scripting.tex
Processing LaTeX file ./shell-scripting.tex...
org-latex-compile: PDF file ./shell-scripting.pdf wasn't produced: [LaTeX
error]
Not very clear. What could be the problem?
--
Cecil Westerhof
[-- Attachment #2: Type: text/html, Size: 601 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Latex export does not work
2013-11-06 12:05 Latex export does not work Cecil Westerhof
@ 2013-11-06 12:25 ` Cecil Westerhof
2013-11-06 12:41 ` Cecil Westerhof
2013-11-06 14:20 ` Cecil Westerhof
2013-11-06 12:38 ` Nick Dokos
1 sibling, 2 replies; 7+ messages in thread
From: Cecil Westerhof @ 2013-11-06 12:25 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>
>
> I am trying a LaTeX export, but I get the following error:
> org-babel-exp processing...
> executing Dot code block...
> Wrote /tmp/babel-18129i9i/ob-input-18129Nzr
> Code block evaluation complete.
> Saving file /home/cecil/Documents/shell-scripting.tex...
> Wrote /home/cecil/Documents/shell-scripting.tex
> Processing LaTeX file ./shell-scripting.tex...
> org-latex-compile: PDF file ./shell-scripting.pdf wasn't produced: [LaTeX
> error]
>
> Not very clear. What could be the problem?
>
I saw that there was an error that wrapfig.sty was not found. I installed
texlive-wrapfig and problem solved.
I am only getting a message:
! Package inputenc Error: Unicode char \u8:- not set up for use with
LaTeX.
But that should be solvable.
--
Cecil Westerhof
[-- Attachment #2: Type: text/html, Size: 1304 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Latex export does not work
2013-11-06 12:25 ` Cecil Westerhof
@ 2013-11-06 12:41 ` Cecil Westerhof
2013-11-06 13:23 ` Cecil Westerhof
2013-11-06 14:20 ` Cecil Westerhof
1 sibling, 1 reply; 7+ messages in thread
From: Cecil Westerhof @ 2013-11-06 12:41 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>
> I am only getting a message:
> ! Package inputenc Error: Unicode char \u8:- not set up for use with
> LaTeX.
>
> But that should be solvable.
>
I solved that by changing in my .tex file:
\usepackage[utf8]{inputenc}
to:
\usepackage[utf8x]{inputenc}
and running pdflatex.
Is there a way to get this automatically in the .tex file, so I do not have
to change it?
--
Cecil Westerhof
[-- Attachment #2: Type: text/html, Size: 1110 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Latex export does not work
2013-11-06 12:41 ` Cecil Westerhof
@ 2013-11-06 13:23 ` Cecil Westerhof
2013-11-07 6:21 ` Vladimir Lomov
0 siblings, 1 reply; 7+ messages in thread
From: Cecil Westerhof @ 2013-11-06 13:23 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 864 bytes --]
2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>
> 2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>
>
>> I am only getting a message:
>> ! Package inputenc Error: Unicode char \u8:- not set up for use with
>> LaTeX.
>>
>> But that should be solvable.
>>
>
> I solved that by changing in my .tex file:
> \usepackage[utf8]{inputenc}
> to:
> \usepackage[utf8x]{inputenc}
>
> and running pdflatex.
>
> Is there a way to get this automatically in the .tex file, so I do not
> have to change it?
>
Based on
http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=bb488fa3b1eaa61ea2dfe7238f9da85bc42b0ffb
I have:
(defcustom org-export-latex-inputenc-alist '(\"utf8\" . \"utf8x\") "")
But still the .tex file contains:
\usepackage[utf8]{inputenc}
instead of:
\usepackage[utf8x]{inputenc}
What is the right way to do this?
--
Cecil Westerhof
[-- Attachment #2: Type: text/html, Size: 2182 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Latex export does not work
2013-11-06 13:23 ` Cecil Westerhof
@ 2013-11-07 6:21 ` Vladimir Lomov
0 siblings, 0 replies; 7+ messages in thread
From: Vladimir Lomov @ 2013-11-07 6:21 UTC (permalink / raw)
To: emacs-orgmode
Hello,
** Cecil Westerhof [2013-11-06 14:23:15 +0100]:
> 2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>
>> 2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>
>>> I am only getting a message:
>>> ! Package inputenc Error: Unicode char \u8:- not set up for use with
>>> LaTeX.
>>> But that should be solvable.
>> I solved that by changing in my .tex file:
>> \usepackage[utf8]{inputenc}
>> to:
>> \usepackage[utf8x]{inputenc}
>> and running pdflatex.
>> Is there a way to get this automatically in the .tex file, so I do not
>> have to change it?
> Based on
> http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=bb488fa3b1eaa61ea2dfe7238f9da85bc42b0ffb
> I have:
> (defcustom org-export-latex-inputenc-alist '(\"utf8\" . \"utf8x\") "")
> But still the .tex file contains:
> \usepackage[utf8]{inputenc}
> instead of:
> \usepackage[utf8x]{inputenc}
> What is the right way to do this?
I'm not give an advice how to get 'utf8x' option for inputenc
(personally I redefine all LaTeX stuff of Org) but for the record this is very
useful information about 'utf8' vs 'utf8x':
http://tex.stackexchange.com/questions/13067/utf8x-vs-utf8-inputenc
Also, you may try lualatex instead of pdflatex.
---
WBR, Vladimir Lomov
--
Under the wide and starry sky,
Dig my grave and let me lie,
Glad did I live and gladly die,
And laid me down with a will,
And this be the verse that you grave for me,
Here he lies where he longed to be,
Home is the sailor home from the sea,
And the hunter home from the hill.
-- Robert Loius Stevenson, "Requiem"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Latex export does not work
2013-11-06 12:25 ` Cecil Westerhof
2013-11-06 12:41 ` Cecil Westerhof
@ 2013-11-06 14:20 ` Cecil Westerhof
1 sibling, 0 replies; 7+ messages in thread
From: Cecil Westerhof @ 2013-11-06 14:20 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
2013/11/6 Cecil Westerhof <cldwesterhof@gmail.com>
> I am only getting a message:
> ! Package inputenc Error: Unicode char \u8:- not set up for use with
> LaTeX.
>
> But that should be solvable.
>
With some trial and error and od I found that there was a strange
combination of character codes (226, 136, 146) where there should be a -.
After changing that to a -, my problems where solved.
--
Cecil Westerhof
[-- Attachment #2: Type: text/html, Size: 934 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Latex export does not work
2013-11-06 12:05 Latex export does not work Cecil Westerhof
2013-11-06 12:25 ` Cecil Westerhof
@ 2013-11-06 12:38 ` Nick Dokos
1 sibling, 0 replies; 7+ messages in thread
From: Nick Dokos @ 2013-11-06 12:38 UTC (permalink / raw)
To: emacs-orgmode
Cecil Westerhof <cldwesterhof@gmail.com> writes:
> I am trying a LaTeX export, but I get the following error:
> org-babel-exp processing...
> executing Dot code block...
> Wrote /tmp/babel-18129i9i/ob-input-18129Nzr
> Code block evaluation complete.
> Saving file /home/cecil/Documents/shell-scripting.tex...
> Wrote /home/cecil/Documents/shell-scripting.tex
> Processing LaTeX file ./shell-scripting.tex...
> org-latex-compile: PDF file ./shell-scripting.pdf wasn't produced: [LaTeX error]
>
> Not very clear. What could be the problem?
>
Could be any number of things (e.g. are you using minted? Did you turn
on -shell-escape?)
Try to find the buffer where the output of the pdflatex processing goes
("*~/Documents/shell-scripting output*" or some such) and see if there
is a clearer description of the error there. Or export to a LaTeX file
and process that by hand from the command line.
--
Nick
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-11-07 6:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-06 12:05 Latex export does not work Cecil Westerhof
2013-11-06 12:25 ` Cecil Westerhof
2013-11-06 12:41 ` Cecil Westerhof
2013-11-06 13:23 ` Cecil Westerhof
2013-11-07 6:21 ` Vladimir Lomov
2013-11-06 14:20 ` Cecil Westerhof
2013-11-06 12:38 ` Nick Dokos
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).