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

Enhance styles in reference.docx #774

Closed
jgm opened this issue Mar 4, 2013 · 7 comments
Closed

Enhance styles in reference.docx #774

jgm opened this issue Mar 4, 2013 · 7 comments

Comments

@jgm
Copy link
Owner

jgm commented Mar 4, 2013

It would be good to define styles for

  • Code blocks (note: the SourceCode style is used for code blocks, but the style is not defined in styles.xml. Also, the VerbatimChar font style is used; perhaps better to define the font in the SourceCode style.
  • Table headers
  • Table body
@jgm
Copy link
Owner Author

jgm commented Mar 4, 2013

One example of where this is useful: paragraphs inside table cells, in a document with indented paragraphs.

@linquize
Copy link

linquize commented Mar 4, 2013

good idea!

@huashan
Copy link

huashan commented Mar 5, 2013

Second that.

Perhaps have to define three styles: table headers, table body and table SourceCode.

@drammock
Copy link

👍 I've been struggling with the fact that both tables and the abstract are assigned style compact by the docx writer.

@ryangray
Copy link

ryangray commented Feb 4, 2015

I think it would also be useful to give figure-style image paragraphs their own styles (the captions already have their own style). This way, they could be defined in the reference.docx as centered, for example, as well as setting the style to "keep with next" so the caption stays with it.

@mb21
Copy link
Collaborator

mb21 commented Feb 2, 2019

Not sure if this is resolved now. Seems like we have more things now in https://github.com/jgm/pandoc/blob/master/data/docx/word/styles.xml

@jgm
Copy link
Owner Author

jgm commented Feb 2, 2019

Yes, this is an ancient issue. Let's close this and if anything is still needed, it can come up again.

@jgm jgm closed this as completed Feb 2, 2019
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

6 participants