I’m still trying to get something nice out of the Compile Outline process, with html format for the output. (The print outline has limitations, so I’m trying with compile.)
I’d like a similar result as what we can get in rtf, for the Outline levels (tree).
The good news: I learned to create my own section types and to make my own compile format, for a promising Outline html output.
Two issues remain:
-
I’d like to have the total word cound as I have in the Outline pane (folders without text themselves display the total of the sub documents). But the $wc placeholder is the total word count of the document being exported (the outline itself, not the text’s), and so, for each item in the output I have the same irrelevant word count… How can I get the right value?
-
Any idea on how to indent depending on the level? Maybe I should give up on the “heading n” native html tag, and make a custom body text instead? What would you do to have in html the same indentation as in the outline pane?
There is already a factory compile format that indents outlines’ titles per level. I would use that as a starting point or investigate it (fetch components).
As for the word count of folders, personnaly I would give up. Since it is an outline, it makes it easy to spot the 0s in the folders/parent output. I’d do the math afterwards, type it in [replace the 0s with x], be done with it.
(I am not saying there is no way, but if there is one, I wouldn’t know.)
2 Likes
Now that I know how to apply my custom formatting, I understand why this factory compile format was so disappointing at first: I didn’t apply the styles to my sections!
Thus it gave only numbers without any meaning…
I’ll look into it again to see if I can improve my custom format, but there’s still not solution for both points so far…
- I think the indent is more a browser/device issue with how h1,h2,h3 are handled.
- The word count of each fragment, along with the total for the upper level: I hope someone has a solution! It’s strange to have it in the Outline pane but nothing available for the compile process. For me it’s a changing number, so I won’t handle that by hand.