Skip to content

Export (.tex, .pdf, others) #33

Open

Description

@cben

UPDATE: Most discussion below is irrelevant, I don't want external services nor self-hosted.
If we do this, it should be client-side conversions e.g. pandoc-wasm.


  • Either use Docverter or host pandoc myself on heroku.
  • One-click button to then import into writelatex and/or sharelatex.

Far away:

  • Markdown lint that warns about suspicious markdown (e.g. list not preceded by newline).

Activity

  1. cben commented on Mar 11, 2014

    @cben
    OwnerAuthor

    Tempted to host pandoc myself, to have unrestricted choice of markdown flavors, and to json input/output which would make easy to run arbitrary client-side filters in javascript (2 round trips but who cares).

  2. cben commented on May 19, 2014

    @cben
    OwnerAuthor

    Pie-in-the-sky plans:

    In the long term, I’m dreaming of creating a markdown normailzation & export wizard, at which point it’d be easier to run pandoc myself than use docverter:

    • give user fine-grained control over markdown extensions (and show the exact pandoc command line)
    • offer markdown->markdown conversion between dialects
    • markdown “lint” highlighting possible mistakes and suboptimal syntaxes (missing blank lines before header/list, “lazy” wrapping etc.)
    • for latex export, create combined pandoc+sharelatex app with 3 panes: markdown->tex->pdf.
      Users would be able to edit only the markdown and see tex and pdf update; when happy with result, download tex.
  3. cben commented on May 21, 2014

    @cben
    OwnerAuthor
  4. cben commented on May 29, 2014

    @cben
    OwnerAuthor

    Hmm, Gitbook has several issues about scientific features (math, footnotes and/or citations). They seem receptive to adopting pandoc extensions.
    Perhaps Gitbook should be used for quality export to PDF/epub? The problem is that it uses Marked, has no latex export, so it's not in the normal path to a And Mathdown is certainly not the best platform to full-length books...
    Still, should keep an eye on it for dialect compatibility...

  5. cben commented on Aug 11, 2015

    @cben
    OwnerAuthor
  6. cben commented on Aug 11, 2015

    @cben
    OwnerAuthor

    The latter installs pandoc on OpenShift by copying the files and latex by running texlive installer.
    [https://github.com/purpleidea/pdfdoc/blob/master/INSTALL.md]

  7. cben commented on Aug 11, 2015

    @cben
    OwnerAuthor

    pandoc-as-a-service does support specifying custom markdown extensions :-)

    $ curl -H "Content-Type: text/markdown_github-blank_before_header+tex_math_dollars+tex_math_single_backslash" -X POST http://pandoc-as-a-service.com/html -d '
    foo
    # header
    $math^2$
    '
    <p>foo</p>
    <h1 id="header">header</h1>
    <p><span class="math"><em>m</em><em>a</em><em>t</em><em>h</em><sup>2</sup></span></p>
    
  8. cben commented on Aug 11, 2015

    @cben
    OwnerAuthor
    • Whatever I use, I'll want to run my own instance for privacy of doc content.
  9. cben commented on Dec 17, 2022

    @cben
    OwnerAuthor

    markup.rocks was a cool demo of pandoc-compiled-to-JS but it's unmaintained for 7 years.

    This is a sizable project, I'm not gonna work on this any time soon (see #172).

  10. cben commented on Oct 11, 2026

    @cben
    OwnerAuthor
  11. changed the title [-]LaTeX export[/-] [+]Export (.tex, .pdf, others)[/+] on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions