Sunday, October 29, 2023

Converting LaTeX to Word (docx)

I write my papers in LyX, which can easily produce a LaTeX file. (Indeed, LyX uses LaTeX as a backend when producing PDFs.) But most journals want a Word file or something of the sort. Well, it's John MacFarlane's pandoc to the rescue. Here's how to do it:

  1. Get yourself a LaTeX file.
  2. Use pandoc to convert to a docx file:
    • pandoc -o output.docx --citeproc --bibliography mybib.bib input.tex

The --citeproc option tells pandoc to produce a bibliography. The --bibliogrpaphy option tells pandoc where to find citation information. This can be used multiple times if you have multiple bib files, but it's easier to use aux2bib to create a local bib file with just the citations in that document.

‘No Way To Prevent This,’ Says Only Nation Where This Regularly Happens

Sometimes humor is the only proper way to express things.

Wednesday, October 25, 2023

"Does Pornography Presuppose Rape Myths?" Accepted at Pacific Philosophical Quarterly

What a relief! The paper had been rejected at another journal without even being sent to referees, so I was starting to get worried.

A somewhat longer version than what will be published is available on my web site.