On 2017-06-05 07:00, [email protected] 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!