cluttex icon indicating copy to clipboard operation
cluttex copied to clipboard

How to pass options within Emacs?

Open realjsk opened this issue 1 year ago • 6 comments

How to pass options (e.g., --shell-escape) within Emacs?

realjsk avatar Oct 24 '23 11:10 realjsk

I don't get the meaning of "within Emacs". Are you using some Emacs mode to invoke cluttex? Or, do you want to specify options with some form of magic comment?

minoki avatar Oct 29 '23 08:10 minoki

With auctex activated in Emacs, I can compile tex files with C-c C-c. This command gives me a set of options to run (e.g., LaTeX, ClutTex, BibTeX, etc.) I can choose ClutTeX from that list of options to compile the file using ClutTeX, but I don't know how to pass ClutTeX options (e.g., --shell-escape).

realjsk avatar Dec 21 '23 10:12 realjsk

AFAIK, AUCTeX doesn't provide ClutTeX as an option by default. Are you using something like tsuu32/auctex-cluttex? There's a similar issue (with no response): https://github.com/tsuu32/auctex-cluttex/issues/10

Unfortunately I am not familiar with customization of Emacs, so there is not much I can do to help you.

minoki avatar Dec 21 '23 13:12 minoki

Yes, I'm using tsuu32/auctex-cluttex. It's me who left that issue (https://github.com/tsuu32/auctex-cluttex/issues/10), but unfortunately, I received no response. I understand that my question may be beyond your expertise. Thank you for being responsive.

realjsk avatar Dec 29 '23 20:12 realjsk

Hello, I wrote some advice about this in tsuu32/auctex-cluttex#10. It might also help you.

ecofighter avatar May 16 '24 16:05 ecofighter

Thank you!

realjsk avatar May 16 '24 22:05 realjsk