emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: edgar@openmail.cc
To: emacs-orgmode@gnu.org
Subject: Re: exporting LaTeX to ODT with custom symbols
Date: Sun, 25 Jun 2017 00:36:16 +0000	[thread overview]
Message-ID: <65771abe5254b90f59bfff1317f1b9ee@openmail.cc> (raw)
In-Reply-To: <f1e1b76e4f792631b897487b20738e67@openmail.cc>

On 2017-06-05 07:00, edgar@openmail.cc wrote:
> On 2017-06-04 09:36, Nicolas Goaziou wrote:
>> You may want to try tweaking `org-preview-latex-process-alist'.
> 
> Thanks. This helped!
> 
> I leave this in case that it may be useful to others (one thing
> worked, the other didn't):
> 
> I managed to get the special symbols by
> 
> 1. M-x customize-variable org-preview-latex-process-alist
> 2. Doing [Ins] into the dvipng (or imagemagick) section
> 3. typing :latex-header in the Key: field
> 4. typing "\\input{./symbols.tex}" in the Value: field
> 
> I can also change the resolution of the pictures, if I manually set
> the density in the :image-converter option, but the size changes. To
> fix it, I tried by
> 
> 1. adding -scale 50\% at the end of the imagemagick (convert) string
> 2. modifying the value of :image-size-adjust, and
> 3. changing the scale in org-format-latex-options
> 
> , but that did not help. I don't care too much about the resolution. I
> can live with the output of dvipng.
> 
> Thanks again!

For posterity (read only if you are looking for a custom answer):

I noticed that using the :latex-header option in 
org-preview-latex-process-alist, disables the regular heading (created 
through org-format-latex-header, may be?). It replaces the heading 
(document class, packages, etc.) with whatever the :latex-header line 
states. This possibly means that one could create a custom _full_ header 
(with document class, any other package and customisation), and load it 
by means of :latex-header to see previews and exporting to ODT. This is 
just an idea. I hope it helps someone.

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  

      parent reply	other threads:[~2017-06-25  0:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-03 22:50 exporting LaTeX to ODT with custom symbols edgar
2017-06-04  9:36 ` Nicolas Goaziou
     [not found]   ` <f1e1b76e4f792631b897487b20738e67@openmail.cc>
2017-06-06 23:40     ` edgar
2017-06-25  0:36     ` edgar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=65771abe5254b90f59bfff1317f1b9ee@openmail.cc \
    --to=edgar@openmail.cc \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).