Live data from Hacker News

Pandoc

pandoc.org

201–210 of 213 posts

Re: Pandoc

#201

Earlier quoted context omitted.

Another option I recommend comparing two Word docs (and just about anything) is Beyond Compare.[0] It's the software you would have to buy, but if you have to compare files a lot I would highly recommend it. (Runs on multiple platforms, too.) [0]: https://www.scootersoftware.com

WinMerge does the same, and it's open source. It's only for Windows, though. http://winmerge.org/

Yeah, WinMerge a nice tool, too.

Aside from multi platform, BC has things like CSV compare and marking unimportant changes are fairly robust. I do personally prefer open source myself, but BC is certainly one of the few that I didn't mind paying for.

Re: Pandoc

#202

Earlier quoted context omitted.

What's your workflow for inserting and managing references

It was a couple of years ago that I wrote my dissertation using Pandoc, so things may have changed. At the time, I started out using pandoc-citeproc with my BibTeX database, but eventually I needed more control over formatting and I switched to writing \cite everywhere. Even with hundreds of references, it only took an afternoon, so I'm happy I did it the way I did. My approach with Pandoc is to use it until you have…

You can control the formatting pandoc-citeproc (which is now built in to pandoc) produces with a CSL file. That's great if your institution provides one, otherwise... you'll have to learn CSL ;-/

Re: Pandoc

#203

Earlier quoted context omitted.

>Also, Latex can't produce any output which is accessible to blind people This sounds like it should definitely be a target of a grant. I guess most government organisations around the world are using Word et al, which isn't too bad these days accessibility wise (AFAIK). Can you provide a small example of a LateX document that produces an inaccessible PDF?

Accessibility is a big current push from the TeX Users Group. The president, Boris Veytsman, has made moving it forward a big goal. I know that a lot of people are working on aspects of that, but the name I hear the most is Ross Moore, who I have heard talk on making the output be PDF/A-3a compliant. I understood that it is a long way there.

I hope so, because honestly, Tex generated PDFs are the single biggest problem with being a blind researcher (I'm not blind, but I know a blind researcher).

Re: Pandoc

#204
post #151

Occasional pandoc contributor here, AMA :-) Just a few links: - Where everything is documented: http://pandoc.org/MANUAL.html - If you have questions or suggestions: https://groups.google.com/forum/#!forum/pandoc-discuss - Contributing to pandoc is also a great way to get your feet wet with Haskell. In my experience, very supportive community. See http://pandoc.org/CONTRIBUTING.html and for good first issues: https:/…

Could we consider Pandoc a rough replacement for leanpub publishing tools?

Re: Pandoc

#205
post #112
post #97

Earlier quoted context omitted.

None of that is version control. At best that's a visual based manual patch file tool. That you can't concat two word files together in 2018 is ridiculous.

> That you can’t concat two word files Of course you can! # cat word1.doc word2.doc > word3.doc Sounds ludicrous? So does your statement. Setting aside the hyperbole, I believe it would be a conceptual nightmare to start defining concat of two docs. For simple cases, feel free to make copy pasta :-)

    $ pandoc file1.md file2.md -o file.docx
Tada, I two files into one word file.

It isn't difficult. TeX and LaTeX have been doing it since the 70s and 80s respectively.

Re: Pandoc

#206
post #196

Earlier quoted context omitted.

That seems a little bit extreme, why not just open the issue?

that issue becomes part of public history. i'm not the parent, but that is the main reason i try to abstain from posting on public forums unless its under a pseudonym, which my github account isn't. I'm not trying to say that my anonymity is guaranteed with irc, its just unlikely that future employers and similar link it to me.

Agree. That's probably one of tje reasons why HN is so interesting:

Requiring everyone to sign in with full, verified name limits what people can talk about.

In fact I'd almost recommend against commenting online on anything using your full name.

Re: Pandoc

#207
post #151

Occasional pandoc contributor here, AMA :-) Just a few links: - Where everything is documented: http://pandoc.org/MANUAL.html - If you have questions or suggestions: https://groups.google.com/forum/#!forum/pandoc-discuss - Contributing to pandoc is also a great way to get your feet wet with Haskell. In my experience, very supportive community. See http://pandoc.org/CONTRIBUTING.html and for good first issues: https:/…

Could we consider Pandoc a rough replacement for leanpub publishing tools?

Probably. I'm not too familiar with leanpub, but seems like they're actually using pandoc to import docx.[0] And with pandoc you can also export to epub, pdf, docx, indesign, etc.

[0]: https://leanpub.com/anewcourse

Re: Pandoc

#208
post #196

Earlier quoted context omitted.

That seems a little bit extreme, why not just open the issue?

that issue becomes part of public history. i'm not the parent, but that is the main reason i try to abstain from posting on public forums unless its under a pseudonym, which my github account isn't. I'm not trying to say that my anonymity is guaranteed with irc, its just unlikely that future employers and similar link it to me.

Have a look at Firefox Multi-Account Containers. You can open a tab that has a different color, and it uses a different cookie database. Very useful, because you can create an extra Github account and quickly switch between those accounts.

https://addons.mozilla.org/en-US/firefox/addon/multi-account...

Re: Pandoc

#209

Earlier quoted context omitted.

Sure. The technical side of things is explained here: http://www.gabrielgambetta.com/tgl_open_source.html (same link as above). If you're more interested in the creative aspect, I wrote a bit here: http://www.gabrielgambetta.com/tgl_swiss_trains.html . If you're interested in anything not covered there, feel free to ask, I'll be happy to share :)

Thanks for the second link! This is exactly what I meant. EDIT One more question. How do you write dialogues in MD?

Maybe I'm misunderstanding your question, but there's nothing special about dialogue in MD. Quotation marks, inner thoughts in italics.

  "It's just some text between quotation marks", Gabriel typed. *Have I completely misunderstood his question?*

Re: Pandoc

#210

Earlier quoted context omitted.

Yup. I’ve got a pandoc template for doing org-latex-pdf conversion, as well as some org templates for common documents that my clients need. Hack away on the document in org (which I’m probably going to be doing anyway, since the rest of my life is in there too), and then when it’s ready to hand off, turn it into a PDF using a shell script. My absolute favourite moment with that flow was a client who wanted one as a…

Why not use Org's built-in org->latex->pdf exporter? AFAIK Pandoc isn't compatible with many of the more interesting Org features, such as Babel.

That's a good question! The flow started out as markdown->latex->pdf via pandoc, and then when I got back into Org, it just slid right into that workflow to replace Markdown.

I'm curious now though... maybe I'm missing out!

Post reply on HN