Re: [O] HTML export with LaTeX babel blocks

2019-08-29 Thread Berry, Charles
> On Aug 28, 2019, at 5:59 PM, Michaël Cadilhac wrote: > > My goal is to export SVG files of TikZ drawings in HTML. Now, what follows > is a bit of a rant on `org-babel-execute:latex`; let's go through the options: > > - [snip] Well you can try to continue on your path, but it can get `inte

[O] HTML export with LaTeX babel blocks

2019-08-28 Thread Michaël Cadilhac
My goal is to export SVG files of TikZ drawings in HTML. Now, what follows is a bit of a rant on `org-babel-execute:latex`; let's go through the options: - You're exporting to PNG without imagemagick: This uses `org-create-formula-image` which works really well, but it discards the options of the

Re: [O] html export with imagemagick

2019-05-23 Thread Joseph Vidal-Rosset
Many thanks Ivan. In reading the log file in /tmp I understood the problem that is not an org-mode issue, but a latex one: some parts needed '$$' tags. Anyway, thanks for your reply. Best wishes, Jo. Le mer. 22 mai 2019 à 21:46, Ivan Tadeu Ferreira Antunes Filho < iva...@mit.edu> a écrit : > I

Re: [O] html export with imagemagick

2019-05-22 Thread Ivan Tadeu Ferreira Antunes Filho
I was having the same problem on some latex previews. It seems that imagemagick expects the file to be in the /tmp/ directory while latex itself was putting the file in the same directory. My workaround was to use 'dvisvgm instead of 'imagemagick. (setq org-preview-latex-default-process 'dvisvgm)

[O] html export with imagemagick

2019-05-22 Thread Joseph Vidal-Rosset
Hello the list, I try desperately to export an org file to html with imagemagick option (an not mathjax), and I have this error message: convert-im6.q16: no images defined `/tmp/orgtexlyqPro.png' @ > error/convert.c/ConvertImageCommand/3258. > org-compile-file: File "/tmp/orgtexlyqPro.png" wasn’t

[O] HTML export of #+RESULTS:

2019-05-20 Thread Lawrence Bottorff
Basically, I'm trying to get my code block :exports both to give me the #+RESULTS: preamble, i.e., not just the results naked. See this for what I've been trying to do/kludge with just CSS. I'm on latest-greate

[O] html export of latex table

2019-05-18 Thread Jeremie Juste
Hello, I noticed that the html export does not export correctly the following table, although it does if I wrap it in a table environment. I also tried some other table environment such a longtable and noticed that somehow the environment name gets hijacked \begin{longtable} becomes \begin{longtab

Re: [O] html export entire code block including template?

2019-04-22 Thread Lawrence Bottorff
Just found it here . On Tue, Apr 16, 2019 at 12:08 AM Lawrence Bottorff wrote: > I'm doing this: > > #+begin_example > #+begin_src emacs-lisp :var table=sandbox :exports both

[O] html export entire code block including template?

2019-04-15 Thread Lawrence Bottorff
I'm doing this: #+begin_example #+begin_src emacs-lisp :var table=sandbox :exports both (message "%S" table) #+end_src #+end_example to force html export into displaying the entire block, including the code block wrapper. Is there a more elegant way, perhaps in the #+begin line to tell export t

Re: [O] HTML :exports both problem

2018-11-19 Thread Nick Dokos
Lawrence Bottorff writes: > That did the trick. Though I'm wondering why the #+name: would cause such > craziness. . . Also, would anyone know why  > >  #+begin_src lisp :results output :exports both  >   (dotimes (x 20) >     (dotimes (y 20) >       (format t "~3d " (* (1+ x) (1+ y >     (f

Re: [O] HTML :exports both problem

2018-11-19 Thread Eric S Fraga
On Monday, 19 Nov 2018 at 09:02, Lawrence Bottorff wrote: > That did the trick. Great! > Though I'm wondering why the #+name: would cause such craziness. Probably because org tries to place the result of the src block after the associated results line if it is a named src block. With no name,

Re: [O] HTML :exports both problem

2018-11-19 Thread Lawrence Bottorff
That did the trick. Though I'm wondering why the #+name: would cause such craziness. . . Also, would anyone know why #+begin_src lisp :results output :exports both (dotimes (x 20) (dotimes (y 20) (format t "~3d " (* (1+ x) (1+ y (format t "~%")) #+end_src produces #+RESULTS:

Re: [O] HTML :exports both problem

2018-11-19 Thread Eric S Fraga
On Sunday, 18 Nov 2018 at 23:55, Lawrence Bottorff wrote: > Try this at home: [...] > Am I missing something? I don't have lisp installed (or at least Emacs doesn't know which lisp to use) so I cannot try what you have actually written. However, why do you have #+name: lines with no actual name

[O] HTML :exports both problem

2018-11-18 Thread Lawrence Bottorff
Try this at home: #+begin_src lisp :results output :exports both (dotimes (i 4) (format t "~3d " i)) #+end_src #+RESULTS: : 0 1 2 3 #+name: #+begin_src lisp :exports both (defun multabl () (dotimes (x 20) (dotimes (y 20) (format t "~3d " (* (1+ x) (1+ y

Re: [O] HTML Export - Footnotes inconcistency

2018-10-03 Thread Nicolas Goaziou
Hello, Matthias Paulmier writes: > I think I get the logic behind it. The problem is the inconsistency it > creates for the viewer. Does it really matter for them if I wrote my > footnote inline or not? Inline footnotes are now wrapped within a paragraph. Thank you. Regards, -- Nicolas Goazi

Re: [O] HTML Export - Footnotes inconcistency

2018-10-01 Thread Matthias Paulmier
Hello, Nicolas Goaziou writes: > This is intended, in a way, since the inline footnote is not a paragraph > by itself. It is contained within a paragraph. This explains why you > cannot have blank lines within an inline footnote. I think I get the logic behind it. The problem is the inconsistenc

Re: [O] HTML Export - Footnotes inconcistency

2018-10-01 Thread Nicolas Goaziou
Hello, Matthias Paulmier writes: > I came across this problem today (or maybe it is intended but I couldn't > find any explanation in the docs). There is an inconsistency on how > inline/anonymous and named footnotes are exported in HTML. For example, > with the following source: > > #+TITLE: Te

[O] HTML Export - Footnotes inconcistency

2018-09-29 Thread Matthias Paulmier
Hello, I came across this problem today (or maybe it is intended but I couldn't find any explanation in the docs). There is an inconsistency on how inline/anonymous and named footnotes are exported in HTML. For example, with the following source: --8<---cut here---start---

Re: [O] HTML export hides URLs in table of contents

2017-10-16 Thread ConcreteVitamin
Fix works like a charm. Thanks. On Sat, Oct 14, 2017 at 1:21 PM Nicolas Goaziou wrote: > ConcreteVitamin writes: > > > Thanks for your quick fix! When can I expect to see this in the next > > release? > > If there is no description, the path is inserted, without link > decoration. > > > (Alte

Re: [O] HTML export hides URLs in table of contents

2017-10-14 Thread Nicolas Goaziou
ConcreteVitamin writes: > Thanks for your quick fix! When can I expect to see this in the next > release? If there is no description, the path is inserted, without link decoration. > (Alternatively, is there a way to patch in your commit for now? > I'm using spacemacs.) The patch lands Monday

Re: [O] HTML export hides URLs in table of contents

2017-10-14 Thread ConcreteVitamin
Thanks for your quick fix! When can I expect to see this in the next release? (Alternatively, is there a way to patch in your commit for now? I'm using spacemacs.) On Sat, Oct 14, 2017 at 3:33 AM Nicolas Goaziou wrote: > Hello, > > ConcreteVitamin writes: > > > I am exporting an org file to h

Re: [O] HTML output of gnuplot pic

2017-10-14 Thread Lawrence Bottorff
That did it. Thanks. On Sat, Oct 14, 2017 at 1:58 PM, Nicolas Goaziou wrote: > Lawrence Bottorff writes: > > > I don't get the image displayed -- without manually taking out the > > > > #+RESULTS: line. I'm saying > > > > #+begin_src gnuplot :exports code :file images/test1.png > > reset > > se

Re: [O] HTML output of gnuplot pic

2017-10-14 Thread Nicolas Goaziou
Lawrence Bottorff writes: > I don't get the image displayed -- without manually taking out the > > #+RESULTS: line. I'm saying > > #+begin_src gnuplot :exports code :file images/test1.png > reset > set title "Putting it All Together" > set xlabel "X" > set xrange [-8:8] > set xtics -8,2,8 > set y

Re: [O] HTML output of gnuplot pic

2017-10-14 Thread Lawrence Bottorff
I don't get the image displayed -- without manually taking out the #+RESULTS: line. I'm saying #+begin_src gnuplot :exports code :file images/test1.png reset set title "Putting it All Together" set xlabel "X" set xrange [-8:8] set xtics -8,2,8 set ylabel "Y" set yrange [-2:70] set ytics -20,10,70

Re: [O] HTML output of gnuplot pic

2017-10-14 Thread Nicolas Goaziou
Hello, Lawrence Bottorff writes: > I'm playing with the tutorial for babel-gnuplot > , > however I keep getting this upon C-c C-c: > > #+begin_src gnuplot :exports code :file images/test1.png > reset > > set title "Putting

[O] HTML output of gnuplot pic

2017-10-14 Thread Lawrence Bottorff
I'm playing with the tutorial for babel-gnuplot , however I keep getting this upon C-c C-c: #+begin_src gnuplot :exports code :file images/test1.png reset set title "Putting it All Together" set xlabel "X" set xrange [-8:8

Re: [O] HTML export hides URLs in table of contents

2017-10-14 Thread Nicolas Goaziou
Hello, ConcreteVitamin writes: > I am exporting an org file to html with a table of contents. In the file, > some subheadings are/have URLs. There are not shown in the ToC in the > exported HTML page -- as if they are blank. Exporting to latex yields no > such issues. Fixed. Thank you. Rega

[O] HTML export hides URLs in table of contents

2017-10-12 Thread ConcreteVitamin
Hi all, I am exporting an org file to html with a table of contents. In the file, some subheadings are/have URLs. There are not shown in the ToC in the exported HTML page -- as if they are blank. Exporting to latex yields no such issues. What's wrong? Reading the manual I didn't find an optio

Re: [O] html export: pre.src support changed?

2017-08-17 Thread Nicolas Goaziou
Hello, Jarmo Hurri writes: > Greetings again. > > Due to the flurry of responses to this thread (like, zero), I will make > a suggestion: > > Could we reinstate pre.src by including the src class into pre tags as > well? That is, whereas we now have in the new export > >

Re: [O] html export: pre.src support changed?

2017-08-17 Thread Jarmo Hurri
Greetings again. Due to the flurry of responses to this thread (like, zero), I will make a suggestion: Could we reinstate pre.src by including the src class into pre tags as well? That is, whereas we now have in the new export

Re: [O] html export: pre.src support changed?

2017-08-16 Thread Jarmo Hurri
> 2. "pre code" works incorrectly (from my point of view) > --- > > I can get my CSS file to do _something_ with the following change: > > pre code > { > margin: 0 auto; > font-size: 0.9vw; > width: 75em; > color: white; > bac

[O] html export: pre.src support changed?

2017-08-16 Thread Jarmo Hurri
Greetings. The following explanation is a bit long, so here is a summary: 1. "pre.src" formatting no longer seems to work in html export 2. "pre code" works, but incorrectly from my point of view. I am looking for a fix. Here is the longer explanation 1. pre.src does not work

Re: [O] HTML presentations using org-html-slideshow?

2017-03-08 Thread Peter Salazar
Excellent. Let me know what you think! On Wed, Mar 8, 2017 at 3:52 AM, Julian M. Burgos wrote: > Thanks for the head up. I will check it out. > > Peter Salazar writes: > > > If anyone's interested, there's a new working version of > > org-html-slideshow that's compatible with org-mode 9.x avail

Re: [O] HTML presentations using org-html-slideshow?

2017-03-08 Thread Fabrice Popineau
If only it were written in emacs-lisp, it would have been much easier to adapt to newer releases of Org. Fabrice

Re: [O] HTML presentations using org-html-slideshow?

2017-03-08 Thread Julian M. Burgos
Thanks for the head up. I will check it out. Peter Salazar writes: > If anyone's interested, there's a new working version of > org-html-slideshow that's compatible with org-mode 9.x available here: > https://github.com/aiba/org-html-slideshow. > > On Mon, Mar 6, 2017 at 10:04 AM, Peter Salazar

Re: [O] HTML presentations using org-html-slideshow?

2017-03-07 Thread Peter Salazar
If anyone's interested, there's a new working version of org-html-slideshow that's compatible with org-mode 9.x available here: https://github.com/aiba/org-html-slideshow. On Mon, Mar 6, 2017 at 10:04 AM, Peter Salazar wrote: > Hi everyone, > > I've been using the excellent org-html-slideshow (

[O] HTML presentations using org-html-slideshow?

2017-03-06 Thread Peter Salazar
Hi everyone, I've been using the excellent org-html-slideshow ( https://github.com/relevance/org-html-slideshow) to generate HTML slides from org-mode, and it's been working well for me for years. It generates HTML slides from org-mode using the org-mode heading hierarchy. Tag any heading with th

Re: [O] HTML Export problem with org-ref -- SOLVED

2017-02-09 Thread Alan L Tyree
On 10/02/17 10:23, Alan L Tyree wrote: I'm trying to export a large document (about 600 printed a4 pages) to html. It contains a lot of references. The export fails with this message: byte-code: abl-8 chicago limit:t does not seem to exist Because of the "chicago", I am presuming that the fai

Re: [O] HTML Export problem with org-ref

2017-02-09 Thread Alan L Tyree
On 10/02/17 10:23, Alan L Tyree wrote: I'm trying to export a large document (about 600 printed a4 pages) to html. It contains a lot of references. The export fails with this message: byte-code: abl-8 chicago limit:t does not seem to exist Because of the "chicago", I am presuming that the fai

[O] HTML Export problem with org-ref

2017-02-09 Thread Alan L Tyree
I'm trying to export a large document (about 600 printed a4 pages) to html. It contains a lot of references. The export fails with this message: byte-code: abl-8 chicago limit:t does not seem to exist Because of the "chicago", I am presuming that the failure is in my setup of org-ref, but I c

Re: [O] HTML export for math markup

2017-01-11 Thread Eric S Fraga
On Tuesday, 10 Jan 2017 at 13:12, Lawrence Bottorff wrote: > Yes, I tested all my header lines and found that was the 'offender." > It got there on someone's suggestion it was needed for proper TikZ. Or > was it bibtex? Or does a ton of pngs come if you choose Latex preview? > No time for further i

Re: [O] HTML export for math markup

2017-01-10 Thread Lawrence Bottorff
Yes, I tested all my header lines and found that was the 'offender." It got there on someone's suggestion it was needed for proper TikZ. Or was it bibtex? Or does a ton of pngs come if you choose Latex preview? No time for further investigation. Confusion will be my epitaph. . . . On Tue, Jan 10,

Re: [O] HTML export for math markup

2017-01-10 Thread Eric S Fraga
On Tuesday, 10 Jan 2017 at 00:13, Lawrence Bottorff wrote: > This is the entirety of my header section. I'm sure there are > redundancies etc. But again, the clean vanilla of Emacs 25.1.1 and > org-mode 9.0.2 is defaulting to producing png's. [...] > #+OPTIONS: tex:imagemagick Maybe this is the

Re: [O] HTML export for math markup

2017-01-09 Thread Lawrence Bottorff
org-html-with-latex is t and org-export-with-latex is also t. I don't have a org-html-format-latex, or at least nothing comes up with C-h v org-html-format-latex. Also, how does edebug work as you, Nick, described? On Mon, Jan 9, 2017 at 7:13 PM, Lawrence Bottorff wrote: > This is the entirety o

Re: [O] HTML export for math markup

2017-01-09 Thread Lawrence Bottorff
This is the entirety of my header section. I'm sure there are redundancies etc. But again, the clean vanilla of Emacs 25.1.1 and org-mode 9.0.2 is defaulting to producing png's. #+TITLE: \zwnj^{147}Pm SAGA #+AUTHOR: 147Pm #+EMAIL: borg...@sdf.org # date ... will set (change) each time (if remember

Re: [O] HTML export for math markup

2017-01-09 Thread Nick Dokos
Lawrence Bottorff writes: > The default behavior with a plain vanilla installation is, indeed, to use png > files and create the > ltximg subdirectory. It's not a huge problem, but I'd prefer it not doing > that; instead, using MathJax. > Anyone know how to switch this behavior? No, the defaul

Re: [O] HTML export for math markup

2017-01-09 Thread Thierry Banel
Le 09/01/2017 16:28, Lawrence Bottorff a écrit : I've got an org file with Latex math markup, e.g. $x_2/y^3$. When I export this to HTML, it produces png files for each markup and puts them in a subfolder ltximg. Is there any way to skip this

Re: [O] HTML export for math markup

2017-01-09 Thread Lawrence Bottorff
The default behavior with a plain vanilla installation is, indeed, to use png files and create the ltximg subdirectory. It's not a huge problem, but I'd prefer it not doing that; instead, using MathJax. Anyone know how to switch this behavior? On Mon, Jan 9, 2017 at 12:30 PM, Nick Dokos wrote: >

Re: [O] HTML export for math markup

2017-01-09 Thread Nicolas Goaziou
Hello, Lawrence Bottorff writes: > I've got an org file with Latex math markup, e.g. $x_2/y^3$. When I export > this to HTML, it produces png files for each markup and puts them in a > subfolder ltximg. Is there any way to skip this translating to pictures and > just use MathJax directly. I've s

Re: [O] HTML export for math markup

2017-01-09 Thread Nick Dokos
Lawrence Bottorff writes: > I've got an org file with Latex math markup, e.g. $x_2/y^3$. When I export > this to HTML, it produces png > files for each markup and puts them in a subfolder ltximg. Is there any way > to skip this translating to > pictures and just use MathJax directly. I've seen 

[O] HTML export for math markup

2017-01-09 Thread Lawrence Bottorff
I've got an org file with Latex math markup, e.g. $x_2/y^3$. When I export this to HTML, it produces png files for each markup and puts them in a subfolder ltximg. Is there any way to skip this translating to pictures and just use MathJax directly. I've seen this

Re: [O] HTML width attribute gets added to a href instead of img

2017-01-07 Thread Kaushal Modi
Thank you! On Sat, Jan 7, 2017, 9:50 AM Nicolas Goaziou wrote: > Hello, > > Kaushal Modi writes: > > > I believe that after this commit, the width attribute doesn't get added > to > > img tag as expected: > > > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=5ffb373a2ca6833617e344154c3dc1b8

Re: [O] HTML width attribute gets added to a href instead of img

2017-01-07 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > I believe that after this commit, the width attribute doesn't get added to > img tag as expected: > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=5ffb373a2ca6833617e344154c3dc1b877ec4784 > > Here is a MWE: > > = > Below works as expected > #+ATTR_HTML: :wi

[O] HTML width attribute gets added to a href instead of img

2017-01-06 Thread Kaushal Modi
Hello, I am using the devel versions of org and emacs. Org mode version 9.0.3 (release_9.0.3-180-g0d3683 @ /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/) Emacs version: GNU Emacs 26.0.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2017-01-06, built using commit

Re: [O] html export fails on new setup

2016-11-21 Thread Peter Davis
Ok, I've followed the steps given here: http://emacs.stackexchange.com/questions/14763/exporting-org-file-breaks-when-upgrading-to-orgmode-8-3/16616#16616 but still no joy. Any other ideas? Thanks! -pd On Sun, Nov 20, 2016, at 10:06 AM, Peter Davis wrote: > I'm trying to set up a new MacBook

[O] html export fails on new setup

2016-11-20 Thread Peter Davis
I'm trying to set up a new MacBook Pro to run org-mode (among other things. I'm trying to export a simple file to HTML, and getting an error. Here's the file: #+begin_src org #+STARTUP: showeverything logdone #+options: num:nil toc:nil #+author: Peter Davis #+title: Test html export test #+end_s

Re: [O] HTML export with ":export" parameter with Orgmode 9.0

2016-11-14 Thread Frederick Giasson
Hi Charles, Setting `org-export-babel-evaluate' to nil will ensure that NONE of your header arguments are followed. Like the docstring says "Users who wish to avoid evaluating code on export should use the header argument ‘:eval never-export’." It is tempting to `make-obsolete-variable' t

Re: [O] HTML export with ":export" parameter with Orgmode 9.0

2016-11-12 Thread Nicolas Goaziou
Hello, "Charles C. Berry" writes: > On Fri, 11 Nov 2016, Frederick Giasson wrote: > >> Hi Chuck, >> >>> even with a minimal init file. >>> >>> If you ever set the value of `org-export-babel-evaluate' to nil >>> this might produce the behavior you describe. >> >> Maybe, but as stated in the manu

Re: [O] HTML export with ":export" parameter with Orgmode 9.0

2016-11-11 Thread Charles C. Berry
On Fri, 11 Nov 2016, Frederick Giasson wrote: Hi Chuck, even with a minimal init file. If you ever set the value of `org-export-babel-evaluate' to nil this might produce the behavior you describe. Maybe, but as stated in the manual: "Setting the org-export-babel-evaluate variable to nil

Re: [O] HTML export with ":export" parameter with Orgmode 9.0

2016-11-11 Thread Frederick Giasson
Hi Chuck, even with a minimal init file. If you ever set the value of `org-export-babel-evaluate' to nil this might produce the behavior you describe. Maybe, but as stated in the manual: "Setting the org-export-babel-evaluate variable to nil will ensure that no code blocks are evaluated a

Re: [O] HTML export with ":export" parameter with Orgmode 9.0

2016-11-11 Thread Charles C. Berry
On Fri, 11 Nov 2016, Frederick Giasson wrote: Hi Nicolas, It seems other users experienced it, yet it is unexpected and I cannot reproduce it even with a minimal init file. If you ever set the value of `org-export-babel-evaluate' to nil this might produce the behavior you describe. In tha

Re: [O] HTML export with ":export" parameter with Orgmode 9.0

2016-11-11 Thread Frederick Giasson
Hi Nicolas, It seems other users experienced it, yet it is unexpected and I cannot reproduce it even with a minimal init file. Ok I think I found the issue. In all the files I worked on since I upgraded to 9.0 I had the following setting at the top of my org files: = # -*- org-expo

Re: [O] HTML export with ":export" parameter with Orgmode 9.0

2016-11-11 Thread Frederick Giasson
Hi Nicolas, It seems other users experienced it, yet it is unexpected and I cannot reproduce it even with a minimal init file. Ok good. I will try to do some debugging on my side. I am wondering if it may not be a Windows issue, or some older 8.x configurations that may be at cause here. W

Re: [O] HTML export with ":export" parameter with Orgmode 9.0

2016-11-11 Thread Nicolas Goaziou
Hello, Frederick Giasson writes: > Does this change impact the ":export [...]" code block header > parameter? What I am often using is this: > > > http://orgmode.org/manual/Exporting-code-blocks.html > > > Which currently doesn't work but it is unclear from the release notes > if it should o

[O] HTML export with ":export" parameter with Orgmode 9.0

2016-11-08 Thread Frederick Giasson
Hi, I am not clear about the change in the Export blocks that occurred in Org-mode 9.0 Does this change impact the ":export [...]" code block header parameter? What I am often using is this: http://orgmode.org/manual/Exporting-code-blocks.html Which currently doesn't work but it is

Re: [O] HTML blocks not exporting correctly

2016-11-07 Thread Peter Salazar
Thanks! On Mon, Nov 7, 2016 at 6:42 PM, Kaushal Modi wrote: > Please see the very beginning of ORG-NEWS/Release Notes > > - http://orgmode.org/cgit.cgi/org-mode.git/tree/etc/ORG-NEWS?h=maint#n26 > - http://orgmode.org/Changes.html#orgf3f9c91 > > On Mon, Nov 7, 2016 at 6:25 PM Peter Salazar > wr

Re: [O] HTML blocks not exporting correctly

2016-11-07 Thread Kaushal Modi
Please see the very beginning of ORG-NEWS/Release Notes - http://orgmode.org/cgit.cgi/org-mode.git/tree/etc/ORG-NEWS?h=maint#n26 - http://orgmode.org/Changes.html#orgf3f9c91 On Mon, Nov 7, 2016 at 6:25 PM Peter Salazar wrote: > Since upgrading to org-mode 9.0, I am unable to export HTML blocks.

[O] HTML blocks not exporting correctly

2016-11-07 Thread Peter Salazar
Since upgrading to org-mode 9.0, I am unable to export HTML blocks. When I export to HTML, the contents of HTML blocks export literally, rather than as rendered HTML. So for instance, I have an org-mode file containing this: #+BEGIN_HTML http://orgmode.org";>link #+END_HTML When I export to HTML

Re: [O] html-email in org-mode

2016-11-07 Thread Joseph Vidal-Rosset
Many thanks John for this email and also for your very useful videos. As I told you, I use sometimes gnus + org-mode to make roughly the same things that you make with m4ue. Your message appears correctly in two formats in gnus: multipart/mixed and text/html. In a browser used with gmail its

Re: [O] html-email in org-mode

2016-11-06 Thread John Kitchin
I can not reproduce your error. I feel like when I saw that error it was from calling a send command while in org-mode, and not in message-mode. Matt Price writes: > John, I'm moving this over to this thread because I think my issues with > htmlize-and-send might not be because of any errors in

Re: [O] html-email in org-mode

2016-11-05 Thread Eric Brown
John Kitchin writes: > htmlize-mail.org > > > * Send org files by html email so they look like org files. > :PROPERTIES: > :MAIL_FMT: html > :END: > > We might not always want a full export of an org heading to html for sending > an email. Eric Brown would like to just send something that

Re: [O] html-email in org-mode

2016-11-04 Thread Matt Price
John, I'm moving this over to this thread because I think my issues with htmlize-and-send might not be because of any errors in my setup. When I use John's htmlize-and-send, or any similar function, to attempt to send an html email from org-mode, I get an error from message-send: "Message already

Re: [O] html-email in org-mode

2016-11-01 Thread Alan Schmitt
On 2016-10-29 15:37, John Kitchin writes: > On the org-mode mailing list there was some discussion about sending > html mail using orgmode. The support for this in mu4e is deprecated. > There is the org-mime library though, and it supports a lot of what is > needed for this. I am going to send th

Re: [O] html-email in org-mode

2016-11-01 Thread Eric Brown
John Kitchin writes: > Do you mean monospace in the whole html message, e.g. something like Courier? > > Or just in a table? I do not think you can control the font in plain > text emails. > > You can set the font in the td elements of a table like this (I used > cursive because it was easy to se

Re: [O] html-email in org-mode

2016-10-30 Thread John Kitchin
Do you mean monospace in the whole html message, e.g. something like Courier? Or just in a table? I do not think you can control the font in plain text emails. You can set the font in the td elements of a table like this (I used cursive because it was easy to see. #+BEGIN_SRC emacs-lisp (defun i

Re: [O] html-email in org-mode

2016-10-30 Thread tbanelwebmin
* Awesome This is awesome! * Simple I followed your instructions, and in 2 minutes I was able to send a /1st/ mail from Org Mode * Thanks Thanks John for showing that.

Re: [O] html-email in org-mode

2016-10-30 Thread Marcin Borkowski
On 2016-10-30, at 15:34, Eric Brown wrote: > One suggestion/thought: > > I would like to do is force monospace font in these messages, since the > recipients I typically send to will have variable width fonts, and > tables and the like tend to get messed up. +20! (that is, +243290200817664)

Re: [O] html-email in org-mode

2016-10-30 Thread Eric Brown
John Kitchin writes: > 1.1.3 Tables > > Table 1: A table for you. > x y > 1 2 > Hi John, I haven't (yet) found the email thread that you had alluded to, but I think this post is awesome. Works well for me! One suggestion/thought: I would like to do is force monospace font in

Re: [O] html export with editable/runnable js src blocks?

2016-10-28 Thread Rasmus
Matt Price writes: > I feel like I've seen people do this before but my search today did not > turn up a working example online. I'd like to be able to export to html > (and by extension, to a blog or a reveal.js presentation) and have my > source code blocks -- at leas t the javascript ones -- p

[O] html export with editable/runnable js src blocks?

2016-10-27 Thread Matt Price
I feel like I've seen people do this before but my search today did not turn up a working example online. I'd like to be able to export to html (and by extension, to a blog or a reveal.js presentation) and have my source code blocks -- at leas t the javascript ones -- placed in an editing environme

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-20 Thread Nicolas Goaziou
timor writes: > The thing is, I have a lot of code blocks that define functions, which > are named exactly after that function. And as I frequently want to > reference one of those in the text, I don't want to say > > [[test_fun][test_fun]] .. > [[another_long_function][another_long_function

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-20 Thread timor
Hello Nicolas, 2016-06-20 14:52 GMT+02:00 Nicolas Goaziou : > They have no influence over the link description (which is "1" in both > cases, as you noticed). If you want to change the description, simply > provide one: > > [[test_fun][whatever]] Sorry for not being able to express myself more

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-20 Thread Nicolas Goaziou
Hello, timor writes: > Ok, if I understand you correctly, implementing the mechanism akin to > the latex one, setting a new variable `org-html-prefer-user-labels` would > change the relevant exported HTML for the following piece of org: > > -- > #+NAME: test_fun > #+BEGIN_SRC

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-20 Thread timor
Ok, if I understand you correctly, implementing the mechanism akin to the latex one, setting a new variable `org-html-prefer-user-labels` would change the relevant exported HTML for the following piece of org: -- #+NAME: test_fun #+BEGIN_SRC js :exports code function test_fun()

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-17 Thread Nicolas Goaziou
Hello, timor writes: > Why is the link text set to "1" in both cases? This is just a nonsensical number because Org does not know what to number. If you want to number source blocks, you need to add a caption to them. > Thanks for the pointer. I tried to see the effect of that variable, > but

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-17 Thread timor
Hello Nicolas, 2016-06-17 9:51 GMT+02:00 Nicolas Goaziou : >> the exported html code creates to tags, like this: >> >> >> Link to 1 >> >> >> and this: >> >> >> Link to 1 >> -

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-17 Thread Nicolas Goaziou
Hello, timor writes: > considering the following example: > > -- > #+NAME: test_fun > #+BEGIN_SRC js > function test_fun() { > > } #+END_SRC > > Link to [[test_fun]] > > #+NAME: another_test_fun > #+BEGIN_SRC js > function another_test_fun() { > > } > #+END_SR

[O] HTML Export of Links to Source Blocks seems broken

2016-06-16 Thread timor
Hello, considering the following example: -- #+NAME: test_fun #+BEGIN_SRC js function test_fun() { } #+END_SRC Link to [[test_fun]] #+NAME: another_test_fun #+BEGIN_SRC js function another_test_fun() { } #+END_SRC Link to [[another_test_fun]] -

Re: [O] HTML export without org title as H1?

2016-06-10 Thread Christian Wittern
On 06/10/2016 10:17 PM, John Kitchin wrote: I am not sure I follow what you want. You can get rid of the title with the option: title:nil Yes, this is exactly what I need. Thank you! All the best, Christian -- Christian Wittern, Kyoto

Re: [O] HTML export without org title as H1?

2016-06-10 Thread John Kitchin
I am not sure I follow what you want. You can get rid of the title with the option: title:nil This: #+TITLE: Kanripo 漢籍リポジトリ #+OPTIONS: num:nil toc:nil html-style:nil #+begin_html ... #+end_html ** Here starts the first real head .. and so on exports to this for me (just the body

[O] HTML export without org title as H1?

2016-06-10 Thread Christian Wittern
Hello org users, I am trying to export an org file to the "content" part of a HTML file. Using header lines and inline html blocks, I basically succeeded in constructing it the way I need it. However, there is still one stumbling block: It seems that it is hardcoded to use the title of the or

Re: [O] HTML

2016-05-25 Thread Eric S Fraga
On Wednesday, 25 May 2016 at 14:49, Uwe Brauer wrote: > Great, BTW, can I have something similar in HTML, I mean lists in tables > using your approach. That might come in handy as well. This is outside my area of expertise indeed... I would assume you should be able to define a suitable CSS

[O] HTML (was: lists in tables (latex export))

2016-05-25 Thread Uwe Brauer
>>> "Eric" == Eric S Fraga writes: > On Tuesday, 24 May 2016 at 09:59, Uwe Brauer wrote: > [...] >> That is interesting, I could not get your example to work, but this is >> due to lack of knowledge from my side. I will look into this in the >> coming days. Thanks for pointing it

[O] html email newsletter with org-mime

2016-03-19 Thread Jérémie Juste
Hello, I was trying to create an html email newletter using org-mime-html-buffer along with gnus. The results are quite good, but it's still a bit costly to add some html attributes. I usually do the following in org-mode |-

Re: [O] html jsMath

2016-03-19 Thread Joseph Vidal-Rosset
2016-03-18 16:31 GMT+01:00 John Kitchin : > Try adding this to the top: > > #+HTML_HEAD: #+HTML_HEAD:src=" > http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML

[O] HTML literal output

2015-12-28 Thread Larrabee Strow
I am using orgmode to produce html for the Hugo static web site generator. Hugo requires yaml at the top of the html file for configuration. Previously (8.3beta) this worked by putting the yaml inside BEGIN_HTML blocks., but it does not work with version 8.3.2 org-mode Version 8.3.2 I am unable t

Re: [O] html export: what do codehighlighton/off functions do?

2015-11-21 Thread Rasmus
Manuel Koell writes: > document.querySelectorAll and addEventListener Do you want to provide a patch towards this? Thanks, Rasmus -- There are known knowns; there are things we know that we know

Re: [O] html export: what do codehighlighton/off functions do?

2015-11-16 Thread Manuel Koell
document.querySelectorAll and addEventListener 2015-11-14 1:07 GMT+01:00 Rasmus : > Manuel Koell writes: > > > It's just kinda weird, these function still get called from > > onmouseover/onmouseout bindings. > > What would you prefer? > > Rasmus > > -- > I almost cut my hair, it happened just th

Re: [O] html export: what do codehighlighton/off functions do?

2015-11-13 Thread Rasmus
Manuel Koell writes: > It's just kinda weird, these function still get called from > onmouseover/onmouseout bindings. What would you prefer? Rasmus -- I almost cut my hair, it happened just the other day

Re: [O] html export: what do codehighlighton/off functions do?

2015-11-13 Thread Manuel Koell
Sorry, I didn't know such feature exists in org mode! It's just kinda weird, these function still get called from onmouseover/onmouseout bindings. 2015-11-12 18:02 GMT+01:00 Rasmus : > Manuel Koell writes: > > > Can someone please tell me what these functions do? > > > > ``` > > > > function Cod

  1   2   3   4   5   >