* "Source Code" style not found in generated reference docx
@ 2022-12-30 7:48 Solever Lee
[not found] ` <83c5bd22-976e-4d05-87a9-461d60215b42n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Solever Lee @ 2022-12-30 7:48 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 830 bytes --]
Hi,
I'm trying to modify the style of code block in reference document, I
followed the manual and used pandoc -o custom-reference.docx
--print-default-data-file reference.docx to generate a default reference
document.
However, I could find any style for the source code, should there be a
style named "Source Code", or a code block inside the document?
BTW, I'm using the latest pandoc version 2.9.12.
Thanks!
--
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/83c5bd22-976e-4d05-87a9-461d60215b42n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1245 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Spam] "Source Code" style not found in generated reference docx
[not found] ` <83c5bd22-976e-4d05-87a9-461d60215b42n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-12-30 14:29 ` Daniel Staal
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Staal @ 2022-12-30 14:29 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
On 12/30/22 2:48 AM, Solever Lee wrote:
> Hi,
> I'm trying to modify the style of code block in reference document, I
> followed the manual and used pandoc -o custom-reference.docx
> --print-default-data-file reference.docx to generate a default reference
> document.
>
> However, I could find any style for the source code, should there be a
> style named "Source Code", or a code block inside the document?
>
> BTW, I'm using the latest pandoc version 2.9.12.
>
> Thanks!
As I understand it, the source code is basically styled by a separate
plugin that's been integrated:
https://pandoc.org/MANUAL.html#syntax-highlighting
So if you want to style it, either use it's styling themes, or override
and handle entirely yourself - either way it's basically just a
preformatted block, and is probably in that style in the Docx.
Daniel T. Staal
--
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-30 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-30 7:48 "Source Code" style not found in generated reference docx Solever Lee
[not found] ` <83c5bd22-976e-4d05-87a9-461d60215b42n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-12-30 14:29 ` [Spam] " Daniel Staal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).