tbfisher / sublimetext-Pandoc

A Sublime Text plugin that uses Pandoc to convert text from one markup format into another. Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, OPML, or Haddock markup to XHTML, HTML5, HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides, Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML, EPUB version 2 or 3, FictionBook2, DocBook, GNU TexInfo, Groff man pages, Haddock markup, OPML, LaTeX, ConTeXt, LaTeX Beamer slides, PDF via LaTeX, Markdown, reStructuredText, AsciiDoc, MediaWiki markup, Emacs Org-Mode, Textile, or custom writers can be written in lua.
MIT License
137 stars 26 forks source link

Save file and open in Latex at the same time. Create LaTeX output template or for HTML 5. #40

Open excetara2 opened 8 years ago

excetara2 commented 8 years ago

Create the below thing to output to latex but can I specify this to save to file as well as open the buffer or is that not possible?

I assume if I put latex in the file list at the end it will always save the file but I want it to save and open.

"LaTeX": {
        "new-buffer": 1,
        "scope": {
          "text.html.markdown": "markdown"
        },
        "syntax_file": "Packages/LaTeX/LaTeX.tmLanguage",
        "pandoc-arguments": [
          "-t", "latex",
          "--natbib",
          "--bibliography=/Users/big/Dropbox/Research/MyWork/Bibtex/library.bib",
          "--template=/Users/big/Dropbox/SyncedPrograms/pandoc/pandoc-templates/default.latex",
        ]
      },
tbfisher commented 7 years ago

currently can either output to file OR buffer