There are two things I would like to do but can't see how. First, I would like to input an uppercase version of \word using the elisp function upcase through emacsclient -e. I've written out a naïve and non-working attempt below. I don't know how to escape characters correctly, and I don't know how to expand \word as required.





\input{|"emacsclient -e "(upcase "\word")""}


%%% Local Variables:
%%% mode: latex
%%% engine: luatex
%%% TeX-master: t
%%% End:

Secondly, I would like to use elisp upcase instead of \MakeUppercase in \titleformat.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.