emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* linguistic, covington style: problems with org-preview-latex-fragment
@ 2013-11-14 14:31 Uwe Brauer
  2013-11-14 16:13 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2013-11-14 14:31 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

Hello

Convington.sty is a linguistic style for presenting interline
translation. I attach a pdf file as an examnple. The typical 
file looks as follows.

\documentclass[12pt]{article}
\usepackage{covington}
\begin{document}


\begin{examplecov}
\gll Marun ngeerne.
Boy\textsc{-NOM} sleep. 
\glt 'The boy is sleeping'.
\glend 
\end{examplecov}
\end{document}

So have added \usepackage{covington}
to org-format-latex-header, as I have done before. However when I run 
org-preview-latex-fragment, no png are generated, I even do not see a
buffer containing possible latex errors.

Any idea what to do?

Uwe Brauer 





[-- Attachment #2: test-cov.pdf --]
[-- Type: application/octet-stream, Size: 30011 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linguistic, covington style: problems with org-preview-latex-fragment
  2013-11-14 14:31 linguistic, covington style: problems with org-preview-latex-fragment Uwe Brauer
@ 2013-11-14 16:13 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2013-11-14 16:13 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> Hello
>
> Convington.sty is a linguistic style for presenting interline
> translation. I attach a pdf file as an examnple. The typical 
> file looks as follows.
>
> \documentclass[12pt]{article}
> \usepackage{covington}
> \begin{document}
>
>
> \begin{examplecov}
> \gll Marun ngeerne.
> Boy\textsc{-NOM} sleep. 
> \glt 'The boy is sleeping'.
> \glend 
> \end{examplecov}
> \end{document}
>
> So have added \usepackage{covington}
> to org-format-latex-header, as I have done before. However when I run 
> org-preview-latex-fragment, no png are generated, I even do not see a
> buffer containing possible latex errors.
>
> Any idea what to do?
>

The *Messages* buffer should have something like this (.dvi or .pdf,
depending on whether you use dvipng or imagemagick):

Creating image...1
if: PDF file /tmp/orgtex31356_9l.pdf wasn't produced

If there is no such message, try diff'ing /tmp before and after you
try to produce the fragment. That should tell you the name of the .tex
file.

Try processing the corresponding .tex file from the command line:

  latex /tmp/orgtex31356_9l.tex

or 

  pdflatex /tmp/orgtex31356_9l.tex

and see where it breaks.

Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-14 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-14 14:31 linguistic, covington style: problems with org-preview-latex-fragment Uwe Brauer
2013-11-14 16:13 ` 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).