You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there was any way to attach additional attribute or class information to text in Microsoft Word documents so that it would be picked up by the docx reader. My understanding is that Bookmarks as well as <sdt> elements are discarded. I think one could put information into custom style names, but as text can only have one style, this interferes with actually using them for styling purposes in the document.
I'm considering doing this by writing a pre-processor that changes Bookmarks or <sdt> elements to either custom styles or insertions, with data loaded into the style name or insertion author, which can then be handled in lua filters.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was wondering if there was any way to attach additional attribute or class information to text in Microsoft Word documents so that it would be picked up by the docx reader. My understanding is that Bookmarks as well as
<sdt>
elements are discarded. I think one could put information into custom style names, but as text can only have one style, this interferes with actually using them for styling purposes in the document.I'm considering doing this by writing a pre-processor that changes Bookmarks or
<sdt>
elements to either custom styles or insertions, with data loaded into the style name or insertion author, which can then be handled in lua filters.Beta Was this translation helpful? Give feedback.
All reactions