minoki / cluttex

Process LaTeX documents without cluttering your working directory
GNU General Public License v3.0
45 stars 3 forks source link

How to pass options within Emacs? #16

Open realjsk opened 10 months ago

realjsk commented 10 months ago

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

minoki commented 10 months ago

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?

realjsk commented 8 months ago

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).

minoki commented 8 months ago

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.

realjsk commented 7 months ago

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.

ecofighter commented 3 months ago

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

realjsk commented 3 months ago

Thank you!