emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Strange behavior => bug?
@ 2024-03-14 18:56 Guillaume MULLER
  2024-03-14 22:03 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume MULLER @ 2024-03-14 18:56 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 651 bytes --]

Hi,

Here is the simplest example I could write:

---- main.org
* slide 1
2. [@2] Works
3. Also

#+INCLUDE:  "./doesnotwork.org"

---- doesnotwork.org
** Lorem
9. [@9] \small ipsum
10. ipsum


- If I try to "org-beamer-export-to-pdf" "main.org", I get:
org-do-latex-and-related: Args out of range: 0, 1

- If I remove the \small on lines "9." it works.

- If I copy-paste the content of "doesnotwork.org" into "main.org" it works.

Is this behavior normal?

- I cannot manage to find nor the problem (but I'm a n00b in org mode) nor a workaround. I would be glad if someone could help.


Thanks in advance


Guillaume

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 673 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange behavior => bug?
  2024-03-14 18:56 Strange behavior => bug? Guillaume MULLER
@ 2024-03-14 22:03 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-03-14 22:03 UTC (permalink / raw)
  To: Guillaume MULLER; +Cc: emacs-orgmode@gnu.org

Guillaume MULLER <guillaume.muller@emse.fr> writes:

> Here is the simplest example I could write:
>
> ---- main.org
> * slide 1
> 2. [@2] Works
> 3. Also
>
> #+INCLUDE:  "./doesnotwork.org"
>
> ---- doesnotwork.org
> ** Lorem
> 9. [@9] \small ipsum
> 10. ipsum
>
>
> - If I try to "org-beamer-export-to-pdf" "main.org", I get:
> org-do-latex-and-related: Args out of range: 0, 1

I just tried
1. emacs -Q /tmp/main.org
2. M-: (require 'ox-beamer) <RET>
3. M-x org-beamer-export-to-pdf

I do not see any errors.

This is using Emacs 28 (Org 9.5.5)
I cannot reproduce using Emacs 30 + Org 9.6 either.

-- 
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:[~2024-03-14 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-14 18:56 Strange behavior => bug? Guillaume MULLER
2024-03-14 22:03 ` 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).