emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* To interrupt org-latex-pdf-process to regexp-replace some string of the .tex intermediate file and continue to export
@ 2014-04-24 12:46 Leu Zhe
  2014-04-25 12:29 ` Feng Shu
  2014-04-25 13:54 ` John Kitchin
  0 siblings, 2 replies; 9+ messages in thread
From: Leu Zhe @ 2014-04-24 12:46 UTC (permalink / raw)
  To: emacs-orgmode

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

I am using org-mode to write some article now. Org-mode is really a great
tool to outline a article with great table and image support.

Org-mode can display inline .png image but not .pdf file. Because now
org-mode can not control the width or height of shown inline image, so i
use matplotlib to produce low dpi .png image in PNG folder for inline
display and higher dpi pdf image in PDF folder for finally article export.

In .org file, the image link is like [[file:PNG\*.png]] and
\includegraphics{PNG\*.png}in the produced .tex file. Then emacs will use
org-latex-pdf-process to render it to pdf file. What I want is that before
or in org-latex-pdf-process, a regexp replace function is added to replace
the \includegraphics{PDF\*.pdf}, and then produce the final pdf file.

Can anyone give a hand?

[-- Attachment #2: Type: text/html, Size: 3649 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: To interrupt org-latex-pdf-process to regexp-replace some string of the .tex intermediate file and continue to export
@ 2014-04-25 15:28 Leu Zhe
  0 siblings, 0 replies; 9+ messages in thread
From: Leu Zhe @ 2014-04-25 15:28 UTC (permalink / raw)
  To: tumashu, emacs-orgmode

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

Dear Feng Shu,

Thanks very much for your help.

I am not familiar with R, but I will test it later.

Best regards!

[-- Attachment #2: Type: text/html, Size: 209 bytes --]

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

end of thread, other threads:[~2014-04-26  6:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 12:46 To interrupt org-latex-pdf-process to regexp-replace some string of the .tex intermediate file and continue to export Leu Zhe
2014-04-25 12:29 ` Feng Shu
2014-04-25 13:54 ` John Kitchin
2014-04-25 15:23   ` Leu Zhe
2014-04-25 16:56     ` John Kitchin
2014-04-26  6:06       ` Kyutech
2014-04-25 17:06     ` Nick Dokos
2014-04-25 23:17       ` John Kitchin
  -- strict thread matches above, loose matches on Subject: below --
2014-04-25 15:28 Leu Zhe

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).