"Pedro A. Aranda" <[email protected]> writes:

> attached is a patch to enhance Org markup support in the LaTeX exporter.
> I needed it for a publication.

I finally got to a proper review of this.

> +*** LaTeX markup conventions
> +
> +#+cindex: @samp{Markup conventions, LaTeX}
> +#+vindex: org-latex-verb-is-verb
> +#+vindex: org-latex-quoted-verb
> ...

I think that adding this kind of section is useful on its own,
regardless of the rest of the patch.

> +*** ox-latex: Control whether =xxx= uses ~verb~ or ~texttt~
> +
> +Two new custom variables have been introduced:
> +org-latex-verb-is-verb: Setting this to t will make =xx= result in
> +~\verb~ instead of ~\texttt~
> +org-latex-quoted-verb: Surround ~\verb~ with double quotes (emualting
> +the texinfo exporter).

As I mentioned in another email, I do not like the idea of layering
multiple defcustoms on top of `org-latex-text-markup-alist'.
Rather than creating new defcustoms I suggest expanding "special values"
in `org-latex-text-markup-alist' from `verb' and `protectedtexttt' to
`verb', `single-quoted-verb`, and `double-quoted-verb'.

As for the complexity of setting `org-latex-text-markup-alist', I'd
rather split it into individual variables (possibly even adding
#+options: ... support for each markup element). That will make
customization easier for people who do not want to deal with the alist.

WDYT?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to