Thanks, Bastien, that was a good call. The raw attributes were just enclosing the title of the bibliography, and not any of the bibliographic data, so it was an easy fix in the .tex file.

On Jun 20, 2023, at 10:20, Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> wrote:

Where do the raw LaTeX blocks end up in the TeX file? You should export to LaTeX (not directly to PDF) to see what output John's chunk produces. At least, it would help you identify the problem.

Le Tuesday 20 June 2023 à 10:06:19AM, Chris Blake-Turner a écrit :
Update: I replied before I’d had a chance to check this (I was in the middle of
a move, but wanted to show my appreciate for your getting back to me!).

raw attribute seems not to be doing the trick. Any other suggestions, or should
I provide a MWE?

Thanks,

CBT


   On Jun 13, 2023, at 20:16, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

   Use raw attribute:

   ```{=latex}
   \begin{fullwidth}
   ```

   # References

   ```{=latex}
   \end{fullwidth}
   ```


       On Jun 13, 2023, at 12:20 PM, Chris Blake-Turner <[1]
       chrisblaketurner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

       (Apologies if this has been answered, but I couldn't find it with some
       searching.)

       I'm using pandoc to convert Markdown to PDF. I'm using --citeproc and a
       YAML metadata block that specifies the bibliography, with a final "#
       References". Everything comes out nicely.

       The trick is that I'm using the tufte-handout class for LaTeX and would
       like the make the Bibliography fullwidth. So I'd like something like:

       \begin{fullwidth}
       # References
       \end{fullwidth}

       Since "#" is special in LaTeX, that gets me a "You can't use `macro
       parameter character #' in vertical mode" error message.

       So the next thing I tried is escaping the hash:

       \begin{fullwidth}
       \# References
       \end{fullwidth}

       But then that prints "# References".

       I'm sure the fix is simple with some YAML etc. know-how that I lack, so
       thanks in advance for any suggestions!

       Chris

       -- 
       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 [2]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
       To view this discussion on the web visit [3]https://groups.google.com/d
       /msgid/pandoc-discuss/
       5d480421-9668-46cf-82c8-3d671dabd9e2n%40googlegroups.com.


   -- 
   You received this message because you are subscribed to a topic in the
   Google Groups "pandoc-discuss" group.
   To unsubscribe from this topic, visit [4]https://groups.google.com/d/topic/
   pandoc-discuss/DrsxtdEjlTw/unsubscribe.
   To unsubscribe from this group and all its topics, send an email to [5]
   pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
   To view this discussion on the web visit [6]https://groups.google.com/d/
   msgid/pandoc-discuss/D2A01A50-396B-4916-8807-81FEAAE84117%40gmail.com.


--
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 [7]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit [8]https://groups.google.com/d/msgid/
pandoc-discuss/C7C74FF6-88B4-4D13-AEEF-7BC25E44CAC7%40gmail.com.

References:

[1] mailto:chrisblaketurner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[2] mailto:pandoc-discuss+unsubscribe@googlegroups.com
[3] https://groups.google.com/d/msgid/pandoc-discuss/5d480421-9668-46cf-82c8-3d671dabd9e2n%40googlegroups.com
[4] https://groups.google.com/d/topic/pandoc-discuss/DrsxtdEjlTw/unsubscribe
[5] mailto:pandoc-discuss+unsubscribe@googlegroups.com
[6] https://groups.google.com/d/msgid/pandoc-discuss/D2A01A50-396B-4916-8807-81FEAAE84117%40gmail.com
[7] mailto:pandoc-discuss+unsubscribe@googlegroups.com
[8] https://groups.google.com/d/msgid/pandoc-discuss/C7C74FF6-88B4-4D13-AEEF-7BC25E44CAC7%40gmail.com?utm_medium=email&utm_source=footer

-- 
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/DrsxtdEjlTw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ZJHD219B_ASWR-wV%40localhost.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/A196B74F-79D9-48A4-A368-525F0FF7CF2B%40gmail.com.