* exporting latex to html
@ 2016-10-11 22:08 Jeremie Juste
2016-10-12 9:41 ` Rasmus
0 siblings, 1 reply; 3+ messages in thread
From: Jeremie Juste @ 2016-10-11 22:08 UTC (permalink / raw)
To: emacs-orgmode
Hello,
How is it possibile to modify the image attributes when exporting latex
to html?
For instance if I have a table in the following org-buffer. Doing
org-mime-org-buffer-htmlize convert the table into an image and put put
it in latex as a picture. I would like to control the size and quality
of this image
#+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t tex:imagemagick
\begin{table}
\begin{center}
\begin{tabular}{l c }
\hline
& Model 1 \\
\hline
test & $0.46^{***}$ \\
& $(0.00)$ \\
\hline
R$^2$ & 0.42 \\
Adj. R$^2$ & 0.42 \\
Num. obs. & 27162 \\
RMSE & 7.97 \\
\hline
\multicolumn{2}{l}{\scriptsize{$^{***}p<0.001$, $^{**}p<0.01$, $^*p<0.05$}}
\end{tabular}
\caption{Statistical models}
\label{table:coefficients}
\end{center}
\end{table}
Best wishes,
Jeremie
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: exporting latex to html
2016-10-11 22:08 exporting latex to html Jeremie Juste
@ 2016-10-12 9:41 ` Rasmus
2016-10-12 20:40 ` Jeremie Juste
0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2016-10-12 9:41 UTC (permalink / raw)
To: emacs-orgmode
Hi Jeremie,
Jeremie Juste <jeremiejuste@gmail.com> writes:
> How is it possibile to modify the image attributes when exporting latex
> to html?
>
>
> For instance if I have a table in the following org-buffer. Doing
> org-mime-org-buffer-htmlize convert the table into an image and put put
> it in latex as a picture. I would like to control the size and quality
> of this image
I think it might be controlled through
org-preview-latex-process-alist.
The dpi seems to be calculated automatically in org-create-formula-image.
It will somehow be possible to increase the quality, but I don’t know how
on the top of my head.
Perhaps you could see if svg works?
Rasmus
--
I almost cut my hair, it happened just the other day
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: exporting latex to html
2016-10-12 9:41 ` Rasmus
@ 2016-10-12 20:40 ` Jeremie Juste
0 siblings, 0 replies; 3+ messages in thread
From: Jeremie Juste @ 2016-10-12 20:40 UTC (permalink / raw)
To: emacs-orgmode
Hello Rasmus,
Thanks for the tip but I'm could not find
org-preview-latex-process-alist.
Ok I'm still investigating. One thing that might be interesting is to
convert the latex to html direclty when exporting to html.
Another solution could be using pandoc to bypass the images entirely
and get html out of the latex.
Any comments are welcome.
Best wishes
Jeremie
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-12 20:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-11 22:08 exporting latex to html Jeremie Juste
2016-10-12 9:41 ` Rasmus
2016-10-12 20:40 ` Jeremie Juste
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).