mailing-list for TeXmacs Users

Text archives Help


export to pdf and html and latex


Chronological Thread 
  • From: vincent douce <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: export to pdf and html and latex
  • Date: Sat, 20 Nov 2021 16:52:52 +0100

hi
a) i dont understand why my [very very] useful cmd+E+P does nt work any
longer (see end of the mail)
b) also, i would find very useful to have [the same or another] short to
export to html or tex
i apologize for not knowing how to search the way to write such code
something equivalent to "wrapped-print-to-file" but for html ,
Vincent


---------------------------------------

(define (propose-pdf-name)
(with name (propose-name-buffer)
(if (string-ends? name ".tm")
(string-append (string-drop-right name 3) ".pdf"))))

(define (export-to-proposed-pdf)
(let ((pdf-name (propose-pdf-name)))
(wrapped-print-to-file pdf-name)))

(kbd-map
("M-e p" (export-to-proposed-pdf)))




Archive powered by MHonArc 2.6.19.

Top of page