Live data from Hacker News

Pandoc

pandoc.org

71–80 of 213 posts

Re: Pandoc

#72
post #48

I write fiction as a hobby, I do it in markdown and use Pandoc to turn it into epub files with a custom CSS. It works great. Thanks Pandoc!

Is the CSS derived from the markdown, or you supplement MD to HTML with custom CSS? Definitely curious to know!

I used a similar workflow. The CSS is for the EPUB and maps to the html elements supported. But if you get too fancy cross device support could get hairy.

See: https://github.com/FriendsOfEpub/Blitz

Re: Pandoc

#74

I do all of my academic writing in pandoc. As compared to LaTeX this means no boilerplate (yet you can still use full LaTeX syntax for equations and the like) and, if the publisher 'needs' a Word file, you are one click away from providing it. All with plain text files that you can put under version control, get meaningful diffs, etc. It's just great.

I’ve never understood the impetus for not using full LaTeX in an academic contex, given that the boiler plate is so minimal and presumably one has a built up a personal template over time.

For blog posts and notes I see the appeal, since the boilerplate can be a hindrance to spontaneous writing.

Re: Pandoc

#75

As a guy attempting to transition from macOS to Linux: Pages to anything else, please.

Pages will export to Word format, then use pandoc to generate markdown files. (Just one idea)

But then I have to keep a Mac around, just to convert documents. Not ideal.

Re: Pandoc

#76
I know it's well intended and somewhat successful, but I can't help but thinking of xkcd.com/927

Sorry, I couldn't resist.

Re: Pandoc

#77
post #28

Earlier quoted context omitted.

Do Word’s native diff features not work for you?

Diff works great in Word.

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

Re: Pandoc

#78

I do all of my academic writing in pandoc. As compared to LaTeX this means no boilerplate (yet you can still use full LaTeX syntax for equations and the like) and, if the publisher 'needs' a Word file, you are one click away from providing it. All with plain text files that you can put under version control, get meaningful diffs, etc. It's just great.

What's your workflow for inserting and managing references

Add bibliography=path/to/library.bib (and optionally specify a csl for bibliography formatting; I like econometrica) in frontmatter yaml. Insert citations with @bibcitekey. compile with --pandoc-citeproc filter.

Re: Pandoc

#79
post #66
post #37

Earlier quoted context omitted.

OP said he doesn't use pandoc for such things. It's a list of things that have better tooling.

I'm sorry if it came across that way. The list is what I use pandoc for. I use it for a lot, so much that I think I use it for every project.

I found it confusing too. You were supposed to use interrobangs (‽) instead of "?" :)

Re: Pandoc

#80
post #23

I like pandoc. I've been using Typora [1] for all of my writing, and it's decent, but a little slow. What editor do HN folks use? I wonder if there's a leaner editor out there with an equally nice distraction-free editing interface. Thanks in advance! [1] https://typora.io/

Emacs and emacs ord mode, and then you can export to html5 latex/pdf, etc. My notes, calendar, todo, data science workbooks, etc all live in emacs org mode. Especially love the ability to call programs on the fly in my data science workbooks, so I can call R, Julia, python, and bash all in one place.
Post reply on HN