>Message: 16 >Date: Sun, 31 Dec 2023 14:40:32 +0000 >From: Ihor Radchenko >To: Pedro Andres Aranda Gutierrez >Cc: Org Mode List >Subject: Re: Adding functionality to org-latex-classes >Message-ID: <87ttny77vj.fsf@localhost> >Content-Type: text/plain > >Pedro Andres Aranda Gutierrez writes: > >> I was just wondering whether it would be possible to add further >> functionality to org-latex-classes and would like to start a discussion ;-) >> >> My use case is the following: >> >> The document class is tightly coupled with ~org-latex-subtitle-format~ >> and ~org-latex-subtitle-separate~. Koma-script classes, for example, need >> those variables to be defined with file or directory local variables in >> order to take full profit of the layouts. If we found a way of >> accommodating them in the class definitions, the fuzz of the extra >> variables could easily be overcome. > >We may extend `org-latex-classes' to allow custom backend option values. >For example, > > (latex-subtitle-format . value) > (latex-subtitle-separate . value) > >Then, we can use these values as the overrides when the variables are >not set explicitly as buffer-locals or as in-buffer/subtree export >keywords. > >-- >Ihor Radchenko // yantar92, >Org mode contributor, >Learn more about Org mode at . >Support Org development at , >or support my work at Attached is a concept which might be useful. At least it detects when variables are set locally and then doesn't attempt anything. Peaceful New Year, /PA -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet