Skip to Content.
Sympa Menu

texmacs-users - export to pdf (windows)

Subject: mailing-list for TeXmacs Users

List archive

export to pdf (windows)


Chronological Thread 
  • From: vincent douce <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: export to pdf (windows)
  • Date: Thu, 14 Apr 2022 00:08:25 +0200

Hello
this code works very fine on my mac and i use it since months, a real gain of
time for me
but we dont manage to install in on a windows of a colleague
by her, "meta" corresponds to no key (we dont manage to assign a key to it)
but works fine as "esc"
for example in math mode if we type esc then A, we get a tree
so we have tried esc and then e and then p but it makes nothing
an idea ?
Vincent


;---- export pdf ----

(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.24.

Top of Page