Re: [O] Inline LaTeX formulae

2015-05-09 Thread Nicolas Goaziou
Titus von der Malsburg writes: > This looks indeed much nicer but it’s not what we want. The Emacs > documentation says: > > ‘[:punct:]’ > This matches any punctuation character. (At present, for multibyte > characters, it matches anything that has non-word syntax.) > > If this matches

Re: [O] Inline LaTeX formulae

2015-05-08 Thread Titus von der Malsburg
On 2015-05-08 Fri 14:40, Nicolas Goaziou wrote: > Titus von der Malsburg writes: > >> Both are fixed in the patch below. > > Thank you. > >> I also included opening parentheses. It’s an unlikely case but for >> consistency they should be included. > > If there's no need to exclude opening parenth

Re: [O] Inline LaTeX formulae

2015-05-08 Thread Nicolas Goaziou
Titus von der Malsburg writes: > Both are fixed in the patch below. Thank you. > I also included opening parentheses. It’s an unlikely case but for > consistency they should be included. If there's no need to exclude opening parenthesis, I suggest to use "\\([[:punct:][:space:]]\\|$\\)" in

Re: [O] Inline LaTeX formulae

2015-05-08 Thread Titus von der Malsburg
On 2015-05-07 Thu 13:00, Nicolas Goaziou wrote: > Titus von der Malsburg writes: > >> Rasmus’ proposal is simple and correctly implements what is specified in >> the manual. Below is a patch that implements this solution. Does >> anyone see a concrete problem? If not, it should be merged. > >

Re: [O] Inline LaTeX formulae

2015-05-07 Thread Nicolas Goaziou
Hello, Titus von der Malsburg writes: > Rasmus’ proposal is simple and correctly implements what is specified in > the manual. Below is a patch that implements this solution. Does > anyone see a concrete problem? If not, it should be merged. I do: you removed end of line matcher. Also, I do

Re: [O] Inline LaTeX formulae

2015-05-07 Thread Titus von der Malsburg
On 2015-05-07 Thu 00:42, Eric S Fraga wrote: > On Wednesday, 6 May 2015 at 13:35, Titus von der Malsburg wrote: > > [...] > >> So if the problem is only due to mistaken optimization, it would perhaps >> be best to just revert to the previous code. > > Or if the "optimisation" was key to getting a

Re: [O] Inline LaTeX formulae

2015-05-07 Thread Eric S Fraga
On Wednesday, 6 May 2015 at 13:35, Titus von der Malsburg wrote: [...] > So if the problem is only due to mistaken optimization, it would perhaps > be best to just revert to the previous code. Or if the "optimisation" was key to getting acceptable performance, maybe discourage the use of $...$

Re: [O] Inline LaTeX formulae

2015-05-06 Thread Titus von der Malsburg
On 2015-05-06 Wed 03:24, Rasmus wrote: > Hi Titus, > > Titus von der Malsburg writes: > >> Parentheses are punctuation, so the $ in my example should be >> interpreted as math delimiters. I think whoever wrote the code, simply >> overlooked parentheses when implementing the punctuation part. > >

Re: [O] Inline LaTeX formulae

2015-05-06 Thread Rasmus
Hi Titus, Titus von der Malsburg writes: > Parentheses are punctuation, so the $ in my example should be > interpreted as math delimiters. I think whoever wrote the code, simply > overlooked parentheses when implementing the punctuation part. I believe the problem is complicated. In principal

Re: [O] Inline LaTeX formulae

2015-05-05 Thread Marcin Borkowski
On 2015-05-05, at 23:32, Titus von der Malsburg wrote: > Thanks, Rasmus (and Marcin), replacing the $ by \( and \) works. I > didn’t know about the parentheses notation. To my experience most Also, this: http://tex.stackexchange.com/questions/510 Best, -- Marcin Borkowski http://octd.wmi.a

Re: [O] Inline LaTeX formulae

2015-05-05 Thread Titus von der Malsburg
Rasums wrote: > Titus von der Malsburg posteo.de> writes: > > > Hi all, > > > > I just updated to the development version of org and encountered a > > problem with inline LaTeX formulae. I have the following test document: > > > > #+OPTIONS: toc:nil tex:t > > Test: ($p\ll.001$) > > Try

Re: [O] Inline LaTeX formulae

2015-05-05 Thread Marcin Borkowski
On 2015-05-05, at 22:14, Titus von der Malsburg wrote: > Hi all, > > I just updated to the development version of org and encountered a > problem with inline LaTeX formulae. I have the following test document: > > #+OPTIONS: toc:nil tex:t > Test: ($p\ll.001$) > > Is there a quick fix fo

Re: [O] Inline LaTeX formulae

2015-05-05 Thread Rasmus
Titus von der Malsburg writes: > Hi all, > > I just updated to the development version of org and encountered a > problem with inline LaTeX formulae. I have the following test document: > > #+OPTIONS: toc:nil tex:t > Test: ($p\ll.001$) Try: Test: (\(p\ll.001\)) ($x$) doesn't work

[O] Inline LaTeX formulae

2015-05-05 Thread Titus von der Malsburg
Hi all, I just updated to the development version of org and encountered a problem with inline LaTeX formulae. I have the following test document: #+OPTIONS: toc:nil tex:t Test: ($p\ll.001$) Before the update the output used to be (export to PDF via pdflatex): Test: p⋘.001 (The