tag:support.markedapp.com,2011-09-11:/discussions/problems/151588-how-to-change-pandocs-citation-style-from-default-to-apa-when-pandoc-it-custom-word-processor-i-marked-2 Marked: Discussion 2019-03-03T20:03:37Z tag:support.markedapp.com,2011-09-11:Comment/47010558 2019-02-27T07:33:12Z 2019-02-27T07:33:13Z How to change Pandoc's citation style from default to APA when Pandoc it custom word processor I Marked 2? <div><p>Hello!</p> <p>I have Pandoc 2.6 as a custom word processor in Marked 2. I use a .bib file for generating my citations. It works great and now I wanna change the citation-style from the default Chicago-author-date to APA. I have searched on the internet and found (what I think) can be possible solutions but I have not been able to find a complete guide that is easy to follow. I don't have the knowledge to determine whats the easiest way to go. Whats the best solution to solve this problem?</p> <p>Can this be possible solution alternatives:<br> 1. I installed a program called pandoc-citeproc but I don't know how to implement it to my situation.</p> <ol> <li> <p>I have found that at a command like these maybe can solve this &#8221;&#8212;csl /Users/S/Downloads/apa.cslshell&#8221; or something called bash script to call the pandoc command. <a href="http://support.markedapp.com/discussions/problems/139702-marked-does-not-read-csl-file">http://support.markedapp.com/discussions/problems/139702-marked-doe...</a>.</p> </li> <li> <p>Can this be solved with MMD3 metadata, YAML frontmatter (or something else)?</p> </li> </ol> <p>At the moment this is what i have under the advanced tab in Marked 2:<br> Path: /usr/local/bin/pandoc<br> Args: -f markdown -t html5 --bibliography=/Users/USR/Desktop/References.bib -s</p> <p>Thanks.</p></div> Simon tag:support.markedapp.com,2011-09-11:Comment/47010558 2019-02-27T16:58:39Z 2019-02-27T16:58:39Z How to change Pandoc's citation style from default to APA when Pandoc it custom word processor I Marked 2? <div><p>Hi Simon,</p> <p>The solution will be handled through the arguments of the custom<br> processor, but I'm not well-versed enough with Pandoc to provide any<br> support on figuring those out. If you do end up needing to run multiple<br> commands, I'm happy to demonstrate how to create a bash script, but<br> ideally you'll find the options required to get the results you want<br> from the command line and then transfer those to Marked's settings.</p> <p>-Brett</p></div> Brett tag:support.markedapp.com,2011-09-11:Comment/47010558 2019-03-01T07:35:53Z 2019-03-01T07:35:55Z How to change Pandoc's citation style from default to APA when Pandoc it custom word processor I Marked 2? <div><p>Thank you for answering.<br> Is a bash script used when I wanna combine multiple commands and don't want to write it all in the Args field?<br> What I have done so far is to use this command into the Args field;</p> <p>-f markdown -t html5 --bibliography=/Users/S/Desktop/References.bib -s --csl /Users/S/Downloads/apa.csl</p> <p>But it crashing.</p> <p>Can you help me make these commands into a bash script and guide me where I should put things?</p> <p>Thanks</p> <p>Simon</p></div> Simon tag:support.markedapp.com,2011-09-11:Comment/47010558 2019-03-01T14:53:37Z 2019-03-01T14:53:37Z How to change Pandoc's citation style from default to APA when Pandoc it custom word processor I Marked 2? <div><p>Like I've said, my experience with Pandoc is limited enough that I can't immediately discern what might be wrong with your arguments line. It looks fine from a syntax standpoint, but you need to verify that it works from Terminal before looking for the issue in Marked.</p> <p>In Terminal, run</p> <pre> <code>cat [yourfile.md] | /usr/local/bin/pandoc -f markdown -t html5 --bibliography=/Users/S/Desktop/References.bib -s --csl /Users/S/Downloads/apa.csl</code> </pre> <p>And ensure you get the results you expect. If that works, let me know and we can try to debug the issue in Marked.</p> <p>-Brett</p></div> Brett tag:support.markedapp.com,2011-09-11:Comment/47010558 2019-03-03T19:14:11Z 2019-03-03T19:14:12Z How to change Pandoc's citation style from default to APA when Pandoc it custom word processor I Marked 2? <div><p>Thanks.</p> <h2><a name="when-i-run-the-command-in-the-terminal-i-get-this-" class="anchor" href="#when-i-run-the-command-in-the-terminal-i-get-this-"></a>When I run the command in the terminal I get this:</h2> <p>[WARNING] This document format requires a nonempty</p> <h2><a name="-falling-back-to-39-untitled-39-" class="anchor" href="#-falling-back-to-39-untitled-39-"></a> Falling back to 'Untitled'</h2> <p>Any ideas?</p></div> Simon tag:support.markedapp.com,2011-09-11:Comment/47010558 2019-03-03T19:33:56Z 2019-03-03T19:33:56Z How to change Pandoc's citation style from default to APA when Pandoc it custom word processor I Marked 2? <div><p>Are you passing the text of your document to the command? It should look<br> like</p> <pre> <code> $ cat FILENAME.md | [your command]</code> </pre> <p>If that's already in place, I'm afraid I can't help much further. This<br> is more of a Pandoc question than a Marked issue.</p> <p>-Brett</p></div> Brett tag:support.markedapp.com,2011-09-11:Comment/47010558 2019-03-03T20:03:35Z 2019-03-03T20:03:37Z How to change Pandoc's citation style from default to APA when Pandoc it custom word processor I Marked 2? <div><p>I think my knowledge is to limited in the subject.</p> <p>Thanks any way :)</p></div> Simon
http://support.markedapp.com/discussions/problems/151588-how-to-change-pandocs-citation-style-from-default-to-apa-when-pandoc-it-custom-word-processor-i-marked-2.atom?category=problems&discussion=151588-how-to-change-pandocs-citation-style-from-default-to-apa-when-pandoc-it-custom-word-processor-i-marked-2
support.markedapp.com
crawl=CC-MAIN-2021-10
10757
application/http; msgtype=response
sha1:BZHRL7IGLMRVLGGTWZST4ZRQ3ZKHDHYV
<urn:uuid:1831f913-e9e8-4f6d-8f35-a74fa468eff9>
2021-03-06T23:47:29Z
192.228.96.17
application/atom+xml
sha1:FC3GKBR57JGAF4JT2QZ5PXSVD2N4YG3Q
<urn:uuid:4106d8d6-f496-4fdd-87c8-3b461b5088b3>
http://support.markedapp.com/discussions/problems/151588-how-to-change-pandocs-citation-style-from-default-to-apa-when-pandoc-it-custom-word-processor-i-marked-2.atom?category=problems&discussion=151588-how-to-change-pandocs-citation-style-from-default-to-apa-when-pandoc-it-custom-word-processor-i-marked-2
response
<urn:uuid:8e6f704a-5661-426e-ada9-01769671d588>
isPartOf: CC-MAIN-2021-10
publisher: Common Crawl
description: Wide crawl of the web for February/March 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-38.ec2.internal
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/