emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] (v2) New LaTeX code export option: engraved


From: Max Nikulin
Subject: Re: [PATCH] (v2) New LaTeX code export option: engraved
Date: Tue, 10 May 2022 15:00:06 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

On 09/05/2022 19:57, Timothy wrote:

Before merging, could you also try to implement tests at least for
engraved feature? If I recall correctly, we do not currently have
backend-specific tests. But it would certainly help if we did. You might
as well write a small “nucleus” test for ox-latex.

Probably not a bad idea, I’m just not sure what/how I’d go about this.

Have a look at `test-org-export/latex-src-block-verbatim-caption' in testing/lisp/test-ox.el Implementation is not perfect though.

P.S. Feel free to ignore the following case. It is more related to #+begin_example block, but since it is too rigid, maybe it could be handled by #+begin_src with custom environment just to pass option argument to \begin{verbatim}. It may be considered as a probe if the code after refactoring is flexible enough to handle close use cases.

Pedro Andres Aranda Gutierrez to emacs-orgmode. A question/bug report(?) Wed, 30 Mar 2022 07:14:54 +0200. https://list.orgmode.org/CAO48Bk_dJs1=5zgpcZwODaTsRqyRsKq1ALj6WpaXCc4bDjW3FQ@mail.gmail.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]