[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] beamer export
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] beamer export |
Date: |
Wed, 24 Jan 2024 16:06:07 +0000 |
Leo Butler <Leo.Butler@umanitoba.ca> writes:
>>> 1. ox-latex export bug for src blocks containing direct LaTeX when
>>> org-latex-src-block-backend is set to its default 'verbatim value
>>
>> This appears to be Beamer-specific problem with verbatim environments:
>> https://tex.stackexchange.com/questions/140719/verbatim-in-beamer-showing-error-file-ended-while-scanning-use-of-xverbatim
>>
>> The solution might be to use [fragile] frame parameter, but that might
>> have its own drawbacks:
>> https://tex.stackexchange.com/questions/136240/drawbacks-of-using-fragile-frames-in-beamer
>
> Yes, an *automatic* solution may create more problems than it solves.
> Although, I do note that ox-beamer does mark some frames as fragile already.
> I wonder how difficult it would be to add a property drawer to frames,
> so (amongst other things), they could be marked fragile?
Hmm. Actually, that frame is already marked fragile.
Yet, it is not enough...
Apparently, LaTeX has really hard time processing verbatim code inside
beamer frames.
>>> 2. ox-beamer export bug as described in the attached org file
>>
>> This is not a bug. When you specify ignoreheading environment, you imply
>> that the contents of the heading is to be included as is.
>> If you want the contents to become a column, you should specify column
>> environment.
>
> I see. That is not now the ignoreheading property is described. It says
> [1]:
>
> ... As the text in the slide says, the left column is a list and the
> right one is an image. The left column's headline text is ignored,
> specified by =C-c C-b i= which tells org to *ignore* the headline
> text completely.
>
> I think the documentation and example needs to be corrected. I have
> attached a patch.
Thanks! Applied.
https://git.sr.ht/~bzg/worg/commit/aedea59f
--
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>