public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: BP Jonsson <bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: A way to convert PDF to Markdown or other (Solution!)
Date: Tue, 12 Sep 2017 15:14:15 +0200	[thread overview]
Message-ID: <a26eb786-3e48-671b-99ca-dbc3aeb274f5@gmail.com> (raw)

This may be old news to some, but I can't remember having
seen it, so I make a post for the record.

I just discovered that you can convert a PDF to Markdown (or
any other format Pandoc supports) by uploading it to Google
Drive, opening it in Google Docs and downloading it from
there as DOCX, then converting the DOCX to Markdown with
Pandoc. The result is quite good!

The steps:

0.  Log into <drive.google.com> in a web browser.

1.  Select the menu [My Drive⏷] → [Upload files…] in the top
     bar.

2.  At least on my system a file dialog opens. Browse to the
     PDF file; select it; click [Open].

3.  The file appears in the "Quick access" field just below
     the top bar.

4.  Right-click the file thumbnail; choose [Open with] →
     [Google Docs]. You should now find yourself in the
     Google Docs document view.

5.  In the [File] menu choose [Download as]
     → [Microsoft Word (.docx)].

6.  Save the DOCX file to disk and convert it with Pandoc
     the same as you would any DOCX file.

I hope this is of use to someone!

/bpj

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a26eb786-3e48-671b-99ca-dbc3aeb274f5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


             reply	other threads:[~2017-09-12 13:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12 13:14 BP Jonsson [this message]
     [not found] ` <a26eb786-3e48-671b-99ca-dbc3aeb274f5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-09-13  6:07   ` Kolen Cheung
     [not found]     ` <8cd2b406-4f28-4c44-9fe8-2ff183276db8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-13 15:20       ` Paulo Ney de Souza
     [not found]         ` <CAFVhNZOsud92D-3=vpWWBrzzc2m=HnDhe=pjqM6nPKtKBL90NQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-20  0:29           ` David Sanson
2017-09-21 11:17   ` CR

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a26eb786-3e48-671b-99ca-dbc3aeb274f5@gmail.com \
    --to=bpjonsson-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).