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