Re: [O] [PATCH] ox-latex.el: Wrap 'minted' src blocks in a 'listing', environment

2017-01-31 Thread Lixin Chin
Hi, Thank you, that sounds great. I have not signed the FSF copyright papers. Regards, Lixin On 31/01/2017 04:04 PM, Nicolas Goaziou wrote: Hello, Lixin Chin <lixinc...@gmail.com> writes: Included is a patch to make the 'minted' source code syntax highlighting package behave th

[O] [PATCH] ox-latex.el: Wrap 'minted' src blocks in a 'listing', environment

2017-01-30 Thread Lixin Chin
: :float multicolumn' was provided, whereas the org-mode documentation implies that it should be floated if any caption is provided. Regards, Lixin Chin * lisp/ox-latex.el (org-latex-src-block): Make source highlighting using the 'minted' syntax highlighting package behave the same as using

[O] [PATCH] org.el: Relax the match criteria for MathML header line

2016-11-28 Thread Lixin Chin
Hi everyone, This fixes a minor bug in converting LaTeX equations to MathML. The default match criteria for the toplevel is unnecessarily strict, and should probably be relaxed. Thanks, Lixin Chin * lisp/org.el (org-create-math-formula): Allow the xmlns attribute to be preceded by any

[O] [PATCH] ox-odt.el: Fix LaTeX formulae in opendocument exports

2016-11-28 Thread Lixin Chin
Hi everyone, Fixing a bug in org-mode 9.0 where setting a LaTeX -> MathML converter (`org-latex-to-mathml-convert-command') and exporting an org-mode document containing LaTeX equations to opendocument fails. Thank you, Lixin Chin * lisp/ox-odt.el (org-odt--translate-latex-fragments): Ap

Re: [O] Bug: Unable to nest headings within export blocks [9.0 (9.0-elpa @ c:/Data/Documents/emacs.d/elpa/org-20161102/)]

2016-11-08 Thread Lixin Chin
On Mon, 7 Nov 2016 08:44:47 -0800 "Charles C. Berry" wrote: > Run this: > > #+BEGIN_SRC emacs-lisp :eval never-export :exports none >(require 'ob-org) >(defun eval-if-html () > (if (not (eq org-export-current-backend 'html)) "never")) > #+END_SRC > > > Then

Re: [O] Bug: Unable to nest headings within export blocks [9.0 (9.0-elpa @ c:/Data/Documents/emacs.d/elpa/org-20161102/)]

2016-11-06 Thread Lixin Chin
text to be include in the output, and bypasses much of the org-mode parsing. Regards, Lixin On 05/11/2016 03:41 PM, Nicolas Goaziou wrote: Hello, Lixin Chin <lixinc...@gmail.com> writes: As per the subject, when a heading line is included within a `#+BEGIN_EXPORT backend ... #+END_EXPORT'

Re: [O] Bug: Unable to nest headings within export blocks [9.0 (9.0-elpa @ c:/Data/Documents/emacs.d/elpa/org-20161102/)]

2016-11-05 Thread Lixin Chin
e.org" export where "include.org": * Heading other text On 03/11/2016 11:47 AM, Lixin Chin wrote: As per the subject, when a heading line is included within a `#+BEGIN_EXPORT backend ... #+END_EXPORT' block, it breaks the parsing of the block, which is instead split into multiple `parag

[O] Bug: Unable to nest headings within export blocks [9.0 (9.0-elpa @ c:/Data/Documents/emacs.d/elpa/org-20161102/)]

2016-11-05 Thread Lixin Chin
As per the subject, when a heading line is included within a `#+BEGIN_EXPORT backend ... #+END_EXPORT' block, it breaks the parsing of the block, which is instead split into multiple `paragraph' elements. See the attached example (test.org), and associate exports (test.tex) and (test.html).