Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline Verbatim text isn't given a specific style in ODT output #3390

Open
gareththered opened this issue Jan 28, 2017 · 2 comments
Open

Inline Verbatim text isn't given a specific style in ODT output #3390

gareththered opened this issue Jan 28, 2017 · 2 comments

Comments

@gareththered
Copy link

If I write `Pandoc` inline within a markdown input file, it displays with a different font as Pandoc which is fine. However, that seems to be done by simply changing the font to Courier New for an ODT output file.
The same input used to create a DOCX file attaches the Verbatim Char character style to the verbatim inline text, which I can control by adjusting this style in my custom-reference.docx file I add to the command line options.
Is there a way to get the ODT output to behave the same. That is, add a character style to inline verbatim text instead of simply changing the font? I could then control this style in a custom-reference.odt file.

@Warmduscher
Copy link

Also the font-size of verbatim is fixed to 10pt. This gives arkward results when used inside a header or if used inline inside text blocks using a different font-size.

@jgm
Copy link
Owner

jgm commented Mar 6, 2020

Yes, the opendocument writer is currently fairly primitive. I didn't write it, and I don't understand the details of the format well enough to change it. But it would be nice for someone to take this on, replacing all the auto-generated styles with real styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants