From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31357 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kevin Coombes Newsgroups: gmane.text.pandoc Subject: Pipe character in YAML field won't output to docx Date: Fri, 9 Sep 2022 18:06:04 -0700 (PDT) Message-ID: <9161ae41-4195-40b7-9e60-679e2b7c49e4n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_86_2005361286.1662771964760" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6323"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDPIRHMWQYBBB7OF56MAMGQEXMTLOOA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Sep 10 03:06:09 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f186.google.com ([209.85.160.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oWowj-0001Th-43 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 10 Sep 2022 03:06:09 +0200 Original-Received: by mail-qt1-f186.google.com with SMTP id cf25-20020a05622a401900b0035a6ef450e9sf2814947qtb.9 for ; Fri, 09 Sep 2022 18:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date; bh=GCaAhmRT24cB0DawwPQlKE5pIxomWwErdCMCvHK1Aqg=; b=FKQqVPQJ0E/YZlbCeW8fXWh8EpLoS4g+8r5n6xRJjcr8bbWDEV/z59FLKvjKCVgOMw CMHYvqNRs0svQmABTQUXkB35M351fcnyVPOiB5m5EYyWxyAFO10vUNl3c+OPGtJUrdtw Iu7K4lhLOcly7OYIorqUh60vvjogiRUkimnJmCpoc+JXB31ydS3ONR32nvu8VQZwMSRH zhfoQZ5hb5AiTRmH9Vcv6zr5OsthYpc0J6CFoqTwEZMo5JaMLS7lde7kyvw+fHcmk8rZ IVfmz9JmMO5Er5CcSBPkTwQTO+k2Jc3SuR5+ykrCPGAFll+PNv0PdMcEgFIF5JvY5xbj vPxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date; bh=GCaAhmRT24cB0DawwPQlKE5pIxomWwErdCMCvHK1Aqg=; b=G7914ryW4o+Mx21TyqyZCTQUIqwXoBS84PYrNDkVT1hhwtoogb6QBtxhQJexWFPNgL hSKPaz3Vtaj7ljUwiSorYwpAT5Mqu614La7hMo5pNvzN6sB7b3zJQh3Fp1nJrF9XBUqP Ex20n8PEaHFfCUX6dnyifFQ4pY0EgHb9s0xqKQdYZv5Dp/Wn/l8y7UBGaHrnOkWOBSB9 A30LUIkMFatefYfW8dOxTIv/gfC1zlSED20VYNTY0BMjdS3sNhuNGHGomxyAzewr1A+/ hN1u4nmYhi81LhrFMnyRgi5dRLZr7sf60lGyMJ2x6WTR7amclIZiUC9nmTz6iJWgVYRy z1mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date; bh=GCaAhmRT24cB0DawwPQlKE5pIxomWwErdCMCvHK1Aqg=; b=4hmXz/a0nC23gZQ1NuX/R8DZ18FhDZ4ivEg+/ZhXWYnHQ0xti6qNt2dkmiqitx6NAi ywotSxEfs/2G4Ni5cYqIAalr21K8wVYTkAKrmhL1uUuxjoE5WXLHbB5BBQ3iDEkK/xhr +ZhfcDup4CaEzu+w2etN6mdpZb7M5eYGlMlI73/6CAeCsH/ALuFjJKUHjukv6mk2KNpE bgRbAGQeqjfp83c+KuClFJ93jcqb1OxvFv6qpPVYtPhHeGxoKT1jcmA30bczeUJNLkOu +qDVTZ7a8v/+cbZ/BqqPni2udfPEcBZhcybmxwXHYRJpqjQ4Mil8KYh/fC4Z+Xlef8JJ nhcw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo2OO1H6Ol76IpI+bB8r/8RyxclGEqbvqPsUj+T2F1+nptqAPEGp 6GYdqUfySLtXdheqf8ybKS4= X-Google-Smtp-Source: AA6agR7LP3u1kNkxfztn1a1kauT8VgPzEm/7bN1hXRuw8ViN5kIJzLlWW7eEVmKdMH62Yn3k9ig3Og== X-Received: by 2002:a05:622a:12:b0:343:7535:6981 with SMTP id x18-20020a05622a001200b0034375356981mr14854056qtw.287.1662771968063; Fri, 09 Sep 2022 18:06:08 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:1e0f:0:b0:31f:2a3b:9713 with SMTP id n15-20020ac81e0f000000b0031f2a3b9713ls4321116qtl.9.-pod-prod-gmail; Fri, 09 Sep 2022 18:06:05 -0700 (PDT) X-Received: by 2002:a05:622a:1013:b0:344:5b66:fe15 with SMTP id d19-20020a05622a101300b003445b66fe15mr14943990qte.66.1662771965384; Fri, 09 Sep 2022 18:06:05 -0700 (PDT) X-Original-Sender: kevin.r.coombes-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:31357 Archived-At: ------=_Part_86_2005361286.1662771964760 Content-Type: multipart/alternative; boundary="----=_Part_87_1490725211.1662771964760" ------=_Part_87_1490725211.1662771964760 Content-Type: text/plain; charset="UTF-8" Hi, I am writing a document in Rmarkdown (so for practical purposes here, just in markdown) that I would like to be able to convert to all of HTML, PDF, and Word (docx). The document has multiple authors with different affiliations. Since I haven't been able to coerce any of the online descriptions of how to mark this setting up formally to work in all three output environments, I tried manually creating the output I wanted by hacking the "date" metadata and exploiting hand-written superscripts. Basically, something like this: author: | | Author One^1^ | Author Two^2^ date: | | ^1^Institution One | ^2^Institution Two Of course, this is a simplified example since there are way more authors and institutions than that, which is why I am using the pipe character to force line breaks. This idea works for both HTML and PDF output. When I try to create the output in a .docx file, neither the Author list nor the Affiliation list (in the hacked ate variable) gets included in the document. If I delete the pipe characters, then the output gets included in the file, but without the line breaks. Why does the YAML pipe character apparently not work for Word output? Is there some setting that I am missing to enable this feature for Word output? Thanks, Kevin -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9161ae41-4195-40b7-9e60-679e2b7c49e4n%40googlegroups.com. ------=_Part_87_1490725211.1662771964760 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,

I am writing a document in Rmarkdown (so for practic= al purposes here, just in markdown) that I would like to be able to convert= to all of HTML, PDF, and Word (docx). The document has multiple authors wi= th different affiliations. Since I haven't been able to coerce any of the o= nline descriptions of how to mark this setting up formally to work in all t= hree output environments, I tried manually creating the output I wanted by = hacking the "date" metadata and exploiting hand-written superscripts. Basic= ally, something like this:

au= thor: |
  | Author One^1^<= /font>
  | Author Two^2^
date: |
  | ^1^Institution One
  | ^2^Institution Two

Of co= urse, this is a simplified example since there are way more authors and ins= titutions than that, which is why I am using the pipe character to force li= ne breaks. This idea works for both HTML and PDF output. When I try to crea= te the output in a .docx file, neither the Author list nor the Affiliation = list (in the hacked ate variable) gets included in the document. If I delet= e the pipe characters, then the output gets included in the file, but witho= ut the line breaks.

Why does the YAML  pipe c= haracter apparently not work for Word output? Is there some setting that I = am missing to enable this feature for Word output?

Thanks,
  Kevin

--
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/9161ae41-4195-40b7-9e60-679e2b7c49e4n%40googlegroups.= com.
------=_Part_87_1490725211.1662771964760-- ------=_Part_86_2005361286.1662771964760--