tomduck / pandoc-fignos

A pandoc filter for numbering figures and figure references.
GNU General Public License v3.0
329 stars 25 forks source link

Auto-generated caption names want to be bold, when converting from markdown to word. #101

Open toshiakiasakura opened 2 years ago

toshiakiasakura commented 2 years ago

Dear all.

I'm working to create my default sets for writing papers, but I stuck in the caption and legend part. Some papers require us to write the figure legend as follows (This is a PLOS ONE style), like

Fig 1. This is the Fig 1 Title. This is the Fig 1 legend.

First part is a bold, but the latter part is a plain text. So, I set a word style for caption title as plain text and then, before using pandoc-fignos, I write like

![**Fig 1. This is the Fig 1 Title.** This is the Fig 1 legend.](./Fig1.png) {#fig:id} 

I can change auto-generated part of caption name with fignos-caption-name parameter, but I can not figure out how to make it as bold, where there is a plain text in that figure caption.

If someone knows a clever way to achieve this, kindly tell me, or is there need to change the source code?