all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] ox-latex does not read EXPORT_LATEX_CLASS property from subtree [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]
@ 2023-10-07  1:37 Pedro Prieto Alarcón
  2023-10-10 15:59 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Prieto Alarcón @ 2023-10-07  1:37 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

Hi,

I can't make ox-latex use a different class for a subtree using
EXPORT_LATEX_CLASS, as stated in the docs:
https://orgmode.org/manual/LaTeX-header-and-sectioning.html

I am trying to change a specific subtree to a different layout (using
tcolorbox) than the one provided in the main document class (sections)

Thanks for your help!!

Emacs  : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.17.8)
Package: Org mode version 9.6.6 (release_9.6.6 @
/usr/share/emacs/29.1/lisp/org/)

[-- Attachment #2: Type: text/html, Size: 674 bytes --]

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

* Re: [BUG] ox-latex does not read EXPORT_LATEX_CLASS property from subtree [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]
  2023-10-07  1:37 [BUG] ox-latex does not read EXPORT_LATEX_CLASS property from subtree [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)] Pedro Prieto Alarcón
@ 2023-10-10 15:59 ` Ihor Radchenko
  2023-10-10 16:18   ` Pedro Prieto Alarcón
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2023-10-10 15:59 UTC (permalink / raw)
  To: Pedro Prieto Alarcón; +Cc: emacs-orgmode

Pedro Prieto Alarcón <pedpral@gmail.com> writes:

> I can't make ox-latex use a different class for a subtree using
> EXPORT_LATEX_CLASS, as stated in the docs:
> https://orgmode.org/manual/LaTeX-header-and-sectioning.html
>
> I am trying to change a specific subtree to a different layout (using
> tcolorbox) than the one provided in the main document class (sections)

I am not sure if Latex class is what you want. LATEX_CLASS defines how
Org parses the document structure and what to put into \documentclass -
it is defined once at the beginning of export. When you set
EXPORT_LATEX_CLASS for a subtree, it will be used when you export that
subtree as a separate document.

If you want to change the latex environment used during export, I
recommend using special block instead.

Not a bug.
Canceled.

-- 
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] 3+ messages in thread

* Re: [BUG] ox-latex does not read EXPORT_LATEX_CLASS property from subtree [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]
  2023-10-10 15:59 ` Ihor Radchenko
@ 2023-10-10 16:18   ` Pedro Prieto Alarcón
  0 siblings, 0 replies; 3+ messages in thread
From: Pedro Prieto Alarcón @ 2023-10-10 16:18 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

Yeah, I learned it later. Sorry, and thanks for your answer!

Best,

Pedro Prieto

El mar, 10 oct 2023 17:57, Ihor Radchenko <yantar92@posteo.net> escribió:

> Pedro Prieto Alarcón <pedpral@gmail.com> writes:
>
> > I can't make ox-latex use a different class for a subtree using
> > EXPORT_LATEX_CLASS, as stated in the docs:
> > https://orgmode.org/manual/LaTeX-header-and-sectioning.html
> >
> > I am trying to change a specific subtree to a different layout (using
> > tcolorbox) than the one provided in the main document class (sections)
>
> I am not sure if Latex class is what you want. LATEX_CLASS defines how
> Org parses the document structure and what to put into \documentclass -
> it is defined once at the beginning of export. When you set
> EXPORT_LATEX_CLASS for a subtree, it will be used when you export that
> subtree as a separate document.
>
> If you want to change the latex environment used during export, I
> recommend using special block instead.
>
> Not a bug.
> Canceled.
>
> --
> 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>
>

[-- Attachment #2: Type: text/html, Size: 2134 bytes --]

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

end of thread, other threads:[~2023-10-10 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-07  1:37 [BUG] ox-latex does not read EXPORT_LATEX_CLASS property from subtree [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)] Pedro Prieto Alarcón
2023-10-10 15:59 ` Ihor Radchenko
2023-10-10 16:18   ` Pedro Prieto Alarcón

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.