emacs -nw senza preview

  • Questo topic ha 0 risposte, 1 partecipante ed è stato aggiornato l'ultima volta 5 anni fa da davidebond.
  • Creatore
    Topic
  • #120344
    davidebond
    Partecipante
      Up
      0
      Down
      ::


      Salve. Io ho emacs che quando apre un file.tex automaticamente apre a destra un buffer dove verrà visualizzato il risultato, ovverosia ho il latex-preview-pane. Come posso lasciare stare così le cose, ma quando lancio emacs -nw evitare di aprire un secondo buffer?

      Questo è il mio file di configurazione:

      `
      (custom-set-variables
      ;; custom-set-variables was added by Custom.
      ;; If you edit it by hand, you could mess it up, so be careful.
      ;; Your init file should contain only one such instance.
      ;; If there is more than one, they won't work right.
      '(custom-enabled-themes (quote (tango-dark)))
      '(custom-safe-themes
      (quote
      (“dfe9d067ad3dd3bef0fc86827863c77c95b854dfac7fefb4100f4339a66a0596” default)))
      '(doc-view-ghostscript-program “C:\\Program Files\\gs\\gs9.53.3\\bin\\gswin64c.exe”)
      '(package-selected-packages (quote (latex-preview-pane pdf-tools auctex))))
      (custom-set-faces
      ;; custom-set-faces was added by Custom.
      ;; If you edit it by hand, you could mess it up, so be careful.
      ;; Your init file should contain only one such instance.
      ;; If there is more than one, they won't work right.
      )

      (require 'package)
      (add-to-list 'package-archives '(“melpa” . “https://melpa.org/packages/&#8221😉 t)
      ;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities`
      ;; and `package-pinned-packages`. Most users will not need or want to do this.
      ;;(add-to-list 'package-archives '(“melpa-stable” . “https://stable.melpa.org/packages/&#8221😉 t)
      (package-initialize)

      (add-to-list 'package-archives
      '(“melpa-stable” . “https://stable.melpa.org/packages/&#8221😉 t)
      (setq doc-view-ghostscript-program “C:\\Program Files\\gs\\gs9.53.3\\bin\\gswin64c.exe”)

      ;;(latex-preview-pane-enable)

      ;;(setq TeX-PDF-mode t)

      (add-hook 'LaTeX-mode-hook 'latex-preview-pane-mode)

      ;;NB: bisogna installare ghostscript per windows, e da emacs pdftools e latex-preview-pane

      `

      Grazie e ciao,

      davide

    • Devi essere connesso per rispondere a questo topic.

    Go to top