iandol / scrivomatic

A writing workflow using Scrivener's style system + Pandoc for output…
https://iandol.github.io/scrivomatic/
GNU General Public License v3.0
297 stars 30 forks source link

Character style vs. character format #14

Closed gwijthoff closed 6 years ago

gwijthoff commented 6 years ago

When I compile to pandoc markdown using scrivomatic, none of the text I've italicized in my document is prefixed/suffixed with *. It seems like this comes down to a difference between character format (i.e. hitting cmd-i to italicize text), and character styles (i.e. selecting "emphasis" from the styles pane). Scrivomatic will only add prefixes/suffixes to the latter. But it is infinitely most intuitive while writing to hit cmd-i rather than stopping to highlight text, select the styles pane, and click "emphasis."

Another reason for the importance of converting character formats to pandoc markdown is that character styles cannot be selected when editing Scrivener footnotes. So, there is no way to italicize footnote text in scrivomatic's markdown output.

So, is there a way to pass character formats through any of these Scrivener compile filters?

iandol commented 6 years ago

Hi, I bind ⌘i and ⌘b to toggle the character styles directly, and this works well (I use BetterTouchTool but macOS System Preferences should work too). I will leave this open to remind me to add this information to the README.

And yes, using character styles fails to work in footnotes, this is a current limitation. I simply use straight markdown in these cases. I'll add this information too when I get time. Thanks!

iandol commented 6 years ago

I've added the footnotes caveat, and information on how to rebind ⌘B and ⌘I to toggle styles instead of character formats. Thanks!