From: Jeff P. <jh...@cs...> - 2020-03-21 03:40:51
|
I am trying to use latex2rtf to convert a relatively complex document. One thing I'd like to do is change the font size on some (or possibly all) verbatim sections. I've found that I can specify a font size directly before \begin{verbatim} and that will change the setting for the begin/end pair. I'd also like to be able to change the default definition so that I only have to add all of that in unusual cases rather than in every case. I changed the definition of verbatim in style.cfg, but that definition does not seem to get used as I would expect. The rtf output appears to overrides the specification. I see in the RTF file: \pard\plain\s38\ql\widctlpar\f3\fs8\sl240\slmult1 \fi0 \fs22 Where the fs8 is what I defined for verbatim, but actual size appears to be overridden by the \fs22. And that is what Word indicates as well in its style pane. It says: verbatim + 11pt Is there anyway to get it to simply use what is defined in the style without overriding it? Similar things happen for other items in the style guide. subsection is defined as heading 3, but its spacing before (sb) and its indentation fi are overridden on each use. \pard\plain\s3\ql\sb240\sa120\keepn\f0\b\fs32\sl240\slmult1 \sb480 \fi0 1.1 section test\par I'm guessing that something in my document is setting these items, but I don't seem to be able to find it. Seemingly the correct way is to make the appropriate latex changes to my .tex files so that latex2rtf creates the output I'm looking for, but being able to change the style settings as a way to accomplish this would be nice as well. Thanks for a very helpful tool! -jeff |