From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29619 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Newsgroups: gmane.text.pandoc Subject: Re: Two questions: Markdown blockdowns to be rendered in .docx? And how do I input Zotero citations in pandoc/the plugin in Obsidian.md Date: Thu, 25 Nov 2021 02:47:17 -0800 (PST) Message-ID: <2d805d26-35c9-489a-a7d6-9229c47abdccn@googlegroups.com> References: <149126b9-5c74-49d9-86fd-b3d4de41982fn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2800_1064385376.1637837237252" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18426"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDR3RNPJ3YORBNWT7WGAMGQEDVSXMIA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Nov 25 11:47:20 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f63.google.com ([209.85.210.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mqCHg-0004ZF-AX for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 25 Nov 2021 11:47:20 +0100 Original-Received: by mail-ot1-f63.google.com with SMTP id h34-20020a9d2f25000000b00579e86a64dfsf2516004otb.5 for ; Thu, 25 Nov 2021 02:47:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=4xFFvFKY3CZMZ6rmCQ3bC3HsB6b/m8h0CP8x1M+4Zc8=; b=LJfAD6H7cY2m1Y+JjFT3AibynhxLTgy5emXS5Sox5ehrIqfl1q6aezob2XQLHorarB 2JEBFJQhK08qYar2Cmd9UcePjEFSwefGDFzfCRBQW9Be3VPiPmMhJHaQD4qhUvN/FrWx lEzt/AT8TuDk8B/UAlnp+pxFHdLK9BnWVoCvk9XNhttkEC3pP9N9CM836d7IutKDjZMT yYmSGOXeWjNu/q3eYkI3nmKlxWNEt14Ro78SNosG01hapvr1OJsn3P1WyowJzATEfc11 NTucC4r8YW/FUt0jWsNzgRYbjE9GWnX+lfx9tpth6P0SsjonjRxmsYU4U+8LXPZmYUHr pYkQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=4xFFvFKY3CZMZ6rmCQ3bC3HsB6b/m8h0CP8x1M+4Zc8=; b=gPYJUnh8Bt+KcFi8+vYx6tdBM5+OTM9gfD2ZvhIAy3OTDe7pIqy3724GYpKvjx/PZA 4O5XS9R5/w7nmYGiv0JFdH2tszwQ6iUfI9K8QtjQFVZZjd3Nun+nOtrhA+Cks37uYWnB cnYD4Q9PEypmnw23g1R4WgaJHBqqy3ytP0dsiGQHqFrUjTCPZoOU7dRo4r74cwEqkKpD 7TNpiD5yMa4AtRyAga85cEvvjHEt152YCT/yZZtsfYPx+e3PG1XL1YVwVRD9H3iqpNo8 YMdEMdAGN0xch0Xkw10UXO+bPsSJWQGcLmGo9Vq7OxNeYEr7MwAMjidBFqIz8XAGd7pl r2/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=4xFFvFKY3CZMZ6rmCQ3bC3HsB6b/m8h0CP8x1M+4Zc8=; b=o1LJlNs8Uut2pkVkGkrOASddpMqIzv5JY21zpHopo9Spbj96PVjpMePMrDjULPS079 ItceHqx55wI8g0sZ710dlIqJToUj41HM6Cv1QalGOSx9HJrCilCr2GeeAisUY0fqVBmc /9bBN1B8i6sA7YGxLrk2K2uQSVWhWQzqIwhMg6f4QI5MvDlf/DK/ZOoQdK0MkuFMJnLn Jfzxfe4flpddtYPF7oSO2HjPq9yxQZ8mbFvZj2qQzMBORb1HleQBugnZIUexrG3O8h6o EhT6sPcGZVCiF/tz9oPXm8QTtyUV7mNOH/+ebIo9NyfyqmQ/vTW6st5N0Givo+0Hm+p/ Y8DQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532X1b8zPQKBojW+KQzPBV/SYzrdBgFxcYYR/GAamBlo6/La8CkM c8juiEgBoJZOsVzaN6sMbic= X-Google-Smtp-Source: ABdhPJzQm7Azq1OK0KJFXoAkkhJXgy6m4XUw4mTneDj7db0FkJNMf2Z3M+96brj6y6nGi6G/aq0Fuw== X-Received: by 2002:a05:6830:1e8f:: with SMTP id n15mr20361978otr.259.1637837239252; Thu, 25 Nov 2021 02:47:19 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:bca:: with SMTP id 68ls1140572oth.8.gmail; Thu, 25 Nov 2021 02:47:17 -0800 (PST) X-Received: by 2002:a9d:326:: with SMTP id 35mr20619408otv.41.1637837237828; Thu, 25 Nov 2021 02:47:17 -0800 (PST) In-Reply-To: <149126b9-5c74-49d9-86fd-b3d4de41982fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: paulschillinger93-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29619 Archived-At: ------=_Part_2800_1064385376.1637837237252 Content-Type: multipart/alternative; boundary="----=_Part_2801_1198157115.1637837237252" ------=_Part_2801_1198157115.1637837237252 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I created a new library in Zotero called "test" and put a book into it. I= =20 exported it via "Better CSL JSON" in Zotero to "test.json" (attached). I=20 then put the argument "--bibliography ~/.pandoc/test.json" into the field= =20 "Extra Pandoc arguments" in the Obsidian plugin settings. Then I get the=20 following error message when I try to convert test.md to a .docx file: "Pandoc export failed: Could not find bibliography file:=20 ~/.pandoc/test.json Error running filter pandoc-citeproc: Filter returned= =20 error status 1" Any ideas? On Thursday, November 25, 2021 at 11:44:10 a.m. UTC+1 Paul wrote: > Ok, I have a "reference.docx" in my ~/.pandoc folder (I'm on Linux Mint)= =20 > and just formated one paragraph as Quotation in Libreoffice Writer (see= =20 > attachment). However, when I exported my .md file from Obsidian to docx= =20 > file it didn't change anything in the docx. I try exporting my "test.md"= =20 > and it does not take the formatting into the "test.docx". See attachment= =20 > for both. > > > > On Thursday, November 25, 2021 at 10:38:59 a.m. UTC+1 denis...-NSENcxR/0n0@public.gmane.org= =20 > wrote: > >> Pandoc usually creates blockquotes in word with an appropriate style. So= =20 >> you can just change the style to whatever you like. Once you=E2=80=99re = happy with=20 >> the styling you can just save the file and reuse it later via the=20 >> =E2=80=93reference-doc option. >> >> =20 >> >> Citations should just work, and I can tell you what these error messages= =20 >> mean. Can you please post a complete yet minimal working example=20 >> together with your command line. >> >> =20 >> >> Denis >> >> =20 >> >> =20 >> >> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org *Im=20 >> Auftrag von *Paul >> *Gesendet:* Donnerstag, 25. November 2021 10:35 >> *An:* pandoc-discuss >> *Betreff:* Two questions: Markdown blockdowns to be rendered in .docx?= =20 >> And how do I input Zotero citations in pandoc/the plugin in Obsidian.md >> >> =20 >> >> Obsidian.md does blockquotes like in emails with a ">"; but in a .docx i= t=20 >> doesn't do anything with it. I tried the argument "-f=20 >> markdown-blank_before_blockquote" but that doesn't seem to do anything.= =20 >> >> =20 >> >> Is there a way to have an argument so that in the .docx blockquotes have= =20 >> a greater indent than the rest of the text? >> >> --- >> >> And also, I'm having trouble with citations. Is it possible to have an= =20 >> "automatic" bibliography at the end of a document if the text includes a= =20 >> citation somehow? I tried stuff like --citeproc and --csl and=20 >> --bibliography, giving it the path to the files but I kept getting error= =20 >> messages (among others "error status 1") which I can't find anything=20 >> online.=20 >> >> =20 >> >> My goal would be to have it act like the Zotero plugin in=20 >> Word/Libreoffice where you have the parenthetical citation in the text a= nd=20 >> then it can append the bibliography at the end. >> >> =20 >> >> Thanks! >> >> --=20 >> You received this message because you are subscribed to the Google Group= s=20 >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n=20 >> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/d39a9f74-595a-40d3-9a1a= -51cb401ba457n%40googlegroups.com=20 >> >> . >> > --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/2d805d26-35c9-489a-a7d6-9229c47abdccn%40googlegroups.com. ------=_Part_2801_1198157115.1637837237252 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I created a new library in Zotero called "test" and put a book into it= . I exported it via "Better CSL JSON" in Zotero to "test.json" (attached). = I then put the argument "--bibliography ~/.pandoc/test.json" into the field= "Extra Pandoc arguments" in the Obsidian plugin settings. Then I get the f= ollowing error message when I try to convert test.md to a .docx file:
=
"Pandoc export failed: Could not find bibliography file: ~/.pandoc/tes= t.json Error running filter pandoc-citeproc: Filter returned error status 1= "

Any ideas?

On Thursday, November 25, 2021 at= 11:44:10 a.m. UTC+1 Paul wrote:
Ok, I have a "reference.docx" in my ~/.p= andoc folder (I'm on Linux Mint) and just formated one paragraph as Quo= tation in Libreoffice Writer (see attachment). However, when I exported my = .md file from Obsidian to docx file it didn't change anything in the do= cx. I try exporting my "test.md" and it does not take the formatt= ing into the "test.docx". See attachment for both.

=

On Thursday, November 25, 2021 at 10:38:59 a.m. UTC+1 denis...-NSENcxR/0n0@public.gmane.org wrote:

Pandoc usually creates blockquotes in word wit= h an appropriate style. So you can just change the style to whatever yo= u like. Once you=E2=80=99re happy with the styling you can just save the fi= le and reuse it later via the =E2=80=93reference-doc option.<= /span>

=C2=A0

Citations should just work, and I can tell you= what these error messages mean. Can you please post a complete yet minimal work= ing example together with your command line.

=C2=A0

Denis

=C2=A0

=C2=A0

Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Paul
Gesendet: Donnerstag, 25. November 2021 10:35
An: pandoc-discuss <pandoc-...@googlegroups.c= om>
Betreff: Two questions: Markdown blockdowns to be rendered in .docx?= And how do I input Zotero citations in pandoc/the plugin in Obsidian.md=

=C2=A0

Obsidian.md does blockquotes like in emails with a &= quot;>"; but in a .docx it doesn't do anything with it. I tried= the argument "-f markdown-blank_before_blockquote" but that does= n't seem to do anything.

=C2=A0

Is there a way to have an argument so that in the .d= ocx blockquotes have a greater indent than the rest of the text?<= /u>

---

And also, I'm having troubl= e with citations. Is it possible to have an "automatic" bibliogra= phy at the end of a document if the text includes a citation somehow? I tri= ed stuff like --citeproc and --csl and --bibliography, giving it the path to the files but I kept getting error messages (among o= thers "error status 1") which I can't find anything online.

=C2=A0

My goal would be to have it act= like the Zotero plugin in Word/Libreoffice where you have the parenthetica= l citation in the text and then it can append the bibliography at the end.<= u>

=C2=A0

Thanks!

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to
pandoc-discus...@googlegrou= ps.com.
To view this discussion on the web visit
https://groups.google.co= m/d/msgid/pandoc-discuss/d39a9f74-595a-40d3-9a1a-51cb401ba457n%40googlegrou= ps.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/2d805d26-35c9-489a-a7d6-9229c47abdccn%40googlegroups.= com.
------=_Part_2801_1198157115.1637837237252-- ------=_Part_2800_1064385376.1637837237252 Content-Type: application/json; name=test.json Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=test.json X-Attachment-Id: e88c7ebf-31c4-49ad-a927-1bfe1de44aef Content-ID: [ {"id":"auth:lower","author":[{"family":"Morton","given":"Timothy"}],"call-number":"BD336 .M67 2013","collection-number":"27","collection-title":"Posthumanities","event-place":"Minneapolis","ISBN":"978-0-8166-8922-4 978-0-8166-8923-1","issued":{"date-parts":[[2013]]},"language":"en","number-of-pages":"229","publisher":"University of Minnesota Press","publisher-place":"Minneapolis","source":"Library of Congress ISBN","title":"Hyperobjects: philosophy and ecology after the end of the world","title-short":"Hyperobjects","type":"book"} ] ------=_Part_2800_1064385376.1637837237252--