4/11/2023 0 Comments Texmacs ubuntu![]() ![]() Mais ce n’est pas vraiment ce que je souhaite. On the other hand, I tried using the macro action and the procedure works well. Then for I can load the extern-pascal style into my current texmacs.īut when I want to use the macro, I get an error at the function argument (which is a path)? I also created the extern-pascal.ts file which contains : ![]() (tm-define(mon_latex-pdf name)(begin (execute_latex name)(incorporates_pdf name))) (define(execute_latex name)(run-pdflatex (file_tex name))) (define (file_pdf name )(string-append name “.pdf” )) (define (file_tex name )(string-append name “.tex” )) I created an extern-pascal.scm file (a module if I understood correctly), it contains: I’m having trouble turning my mon_latex-pdf scheme procedure into a macro for texmacs. )(execute_latex name)(incorpore_pdf name))) (define(mon_latex-pdf name)(begin (fichier_tex name )(fichier_pdf name (define(incorpore_pdf name)(make-inline-image `(,(string-\url (define(execute_latex name)(system (string-append "pdflatex" " " (define (fichier_tex name )(string-append name ".tex" )) When using this method to install texmacs, I encounter the following error: Some packages could not be installed. Still it seems to me a very big undertaking to get communications with other programs, perhaps a call to pdflatex is not representative of the amount of work that it takes.īTW here is your code copied with “Copy to -> TeXmacs” it can be pasted into a TeXmacs document with “Paste from -> TeXmacs”. Maybe someone will be able to interpret them. It could be interesting posting debug messages that you get when you try and run a plugin that does not work (enable them from the menu with Tools -> Debugging tools and run TeXmacs from a terminal). Maybe associating your mon-latex-pdf to a keyboard shortcut makes it possible to use it in any place in a document (I did not try it). (define(execute_latex name)(system (string-append “pdflatex” " " (fichier_tex name)))) (define (fichier_pdf name )(string-append name “.pdf” )) (define (fichier_tex name )(string-append name “.tex” )) (define(mon_latex-pdf name)(begin (fichier_tex name )(fichier_pdf name )(execute_latex name)(incorpore_pdf name))) (define(execute_latex name)(system (string-append "pdflatex" " " "/home/biz/" (fichier_tex name)))) ![]() ![]() (define (fichier_pdf name )(string-append name ".pdf" )) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |