Questions about PANDOC
Hello!
First let me preface this with a disclaimer. I am not very good at zsh or understanding file paths.
I use pandoc to convert my markdown into academic papers. I use pandoc citations (bibliography is compiled by Zotero in BibTex, style is provided by a Turabian Notes CSL file) and use citeproc and custom templates to achieve this.
I am using the most recent version of Marked2 from the App Store.
I would like to use Marked2 to accomplish the same thing but I couldn't get Pandoc to preprocess the document because I couldn't find the correct file path.
- Am I on the right track with continuing to use pandoc to preprocess?
- How do I find the file path.
- Does Marked2 support PPT? That would be swell. I use Pandoc for this also.
Thank you!
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 17 Aug, 2023 04:29 PM
1. I believe you'll want to use Pandoc as the processor, not the
preprocessor. Pandoc should be outputting the final HTML, so you don't
want it additionally processed by one of the built-in processors.
2. Open terminal and type `which pandoc`. The path that is output should
be a full path to the pandoc executable. You may need to add a backslash
before any spaces in the path.
3. No, Marked only works with HTML. It's possible to ALSO have the
custom processor output a PPT next to it, but Marked won't be able to
preview it or anything and this would take some scripting.
With the MAS version of Marked, you will likely run into issues with
getting Pandoc to work, due to sandboxing. If you go up to the Help menu
in Marked, there's an option to crossgrade to the direct (unsandboxed)
version. It will provide a license code and instructions.
-Brett
On 17 Aug 2023, at 10:57, Craig wrote:
2 Posted by Craig on 17 Aug, 2023 06:24 PM
Alrighty! Thank you!
Is there a way to get Marked2 to work with Zotero for academic references (bibliography files formated like bibtex) and CSL for footnoting without using PANDOC?
Support Staff 3 Posted by Brett on 17 Aug, 2023 06:40 PM
No, such functionality is well outside the scope of a Markdown
previewer, which is why the capability of using custom processors was
added.
-Brett
On 17 Aug 2023, at 13:23, Craig wrote:
4 Posted by mazal on 05 Sep, 2023 02:15 AM
I'm quite new to all of this, @Craig, and you seem more advanced than myself. However, I'm finding Zettlr in conjunction with Marked2 useful. Zettlr integrates Zotero, Pandoc, and BibTex, plus a host of components above my pay grade to opine about. It does not explicitly show export to PPT (PowerPoint?) on my setup, but there are 15 other formats to export out of the box (with Pandoc integration and your experience, PPT seems within their wheelhouse?)
Zettlr is a free and Open Source markdown editor, that appears tailor-made for academics. Their tagline is, "Your One-Stop Publication Workbench." What Zettlr does NOT have is a parser/renderer for live preview, which is what makes Marked2 such a valuable add-on utility. I'm still in the trial version of Marked2, but I love it! and will be purchasing the license.
5 Posted by Ken Tryon on 28 Oct, 2023 04:46 PM
@mazal Not an academic (although I do IT in a university medical center), and I really like Zettler's approach. I'm starting to write personal memoir which also quotes sources a lot (I'm a geek . . . ), so I'm using academic tools.
@Brett, I'm pretty new to Marked. It appears that at its core, Marked is a Markdown to HTML processor—is that accurate? Just trying understand its purpose and positioning.
Thanks,
kt
Support Staff 6 Posted by Brett on 29 Oct, 2023 12:48 AM
That is absolutely correct. Marked primarily handles Markdown->HTML, all of its other export formats are a result of the HTML conversion first and foremost.
7 Posted by Ken Tryon on 30 Oct, 2023 07:06 PM
@Brett--thanks for confirming that. Knowing what a tool is supposed to do helps to prevent me from asking it to do things it isn't. Hammers, nails, screws, and all that.
kt
8 Posted by mazal on 17 Jan, 2024 02:47 PM
@kt Love this story and use case!
9 Posted by Ken Tryon on 17 Jan, 2024 09:39 PM
@mazal Thanks!