* Text markup and TeX-style LaTeX fragments spanning more than three lines
@ 2023-08-28 3:42 Tom Alexander
2023-08-28 9:09 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Tom Alexander @ 2023-08-28 3:42 UTC (permalink / raw)
To: emacs-orgmode
The documentation for both text markup and TeX-style LaTeX fragments states that their contents (CONTENTS for text markup, BODY for TeX-style LaTeX fragments) cannot span more than three lines, but I'm not seeing such limitation for either in practice. I don't know if this is a documentation error or a parser error.
Documentation text markup: https://orgmode.org/worg/org-syntax.html#Emphasis_Markers
Documentation LaTeX fragments: https://orgmode.org/worg/org-syntax.html#LaTeX_Fragments
Test document text markup:
```
foo *bar
baz* lorem
text *markup
cannot
span* more
than *three
lines.
foo
bar* baz
foo *bar \\
baz \\
lorem \\
ipsum \\
dolar* cat
```
Test document TeX-style LaTeX fragments:
```
$foo
bar
baz
lorem
ipsum
dolar$
```
--
Tom Alexander
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Text markup and TeX-style LaTeX fragments spanning more than three lines
2023-08-28 3:42 Text markup and TeX-style LaTeX fragments spanning more than three lines Tom Alexander
@ 2023-08-28 9:09 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-08-28 9:09 UTC (permalink / raw)
To: Tom Alexander; +Cc: emacs-orgmode
"Tom Alexander" <tom@fizz.buzz> writes:
> The documentation for both text markup and TeX-style LaTeX fragments states that their contents (CONTENTS for text markup, BODY for TeX-style LaTeX fragments) cannot span more than three lines, but I'm not seeing such limitation for either in practice. I don't know if this is a documentation error or a parser error.
The parser is the source of truth.
Fixed, in the worg syntax page.
https://git.sr.ht/~bzg/worg/commit/699811bc
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-28 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-28 3:42 Text markup and TeX-style LaTeX fragments spanning more than three lines Tom Alexander
2023-08-28 9:09 ` Ihor Radchenko
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).