Mon Nov 30 07:02:03 2020, comment #10:
Thank you so much!
|
Sun Nov 29 22:02:52 2020, comment #9:
Thanks for your reports. I've added support for the missing commands to TeX4ht sources. Paragraphs created by \paragraph and similar commands now have distinct paragraph styles.
|
Sun Nov 29 08:14:37 2020, comment #8:
So here is a new test can to ease debugging. Not supported currently:
- \subsubsection*
- \paragraph*
- \subparagraph*
The test case is scrbook, but I get the same result with the standard classes.
(file #384, file #385)
|
Sat Nov 28 14:35:10 2020, comment #7:
Strange, the tracker removes the stars. To be clear, I am talking of the starred headings here.
|
Sat Nov 28 14:33:53 2020, comment #6:
> (neither is \subsubsection, as opposed to \subsection and \section*)
I mean \subsubsection, as opposed to \subsection and \section*
|
Sat Nov 28 14:32:22 2020, comment #5:
> The paragraph heading is set as s "paragraph-h" character style. LO shows only paragraphs styles in the main toolbar, but you can select character styles in the style inspector.
I see, thanks. I was furthermore mislead by the fact that I was using \paragraph* which doesn't seem to be handled yet (neither is \subsubsection, as opposed to \subsection and \section*)
> We can create a new paragraph style for the whole paragraph. It is a bit more complicated, but not too hard.
For my usecase, this would be very useful (while keeping the character style additionally)
|
Sat Nov 28 12:36:41 2020, comment #4:
The paragraph heading is set as s "paragraph-h" character style. LO shows only paragraphs styles in the main toolbar, but you can select character styles in the style inspector.
We can create a new paragraph style for the whole paragraph. It is a bit more complicated, but not too hard.
|
Sat Nov 28 10:06:51 2020, comment #3:
After todays's TL update, this works flawlessly for subsubsection.
However, \paragraph is converted to normal text body style (also in other classes, as it were) rather than a semantic style of its own (as I would expect).
As it is, it is hard to identify and handle \paragraph's after conversion to ODT.
WRT to LaTeX output, I would probably expect \paragraph headings to be merged with the following paragraph and be assigned to a distinctive semantic style.
Ideally, this would be a run-in sidehead, but as it seems, this is not yet implemented in ODT:
https://bugs.documentfoundation.org/show_bug.cgi?id=48459
although there are workarounds:
https://forum.openoffice.org/en/forum/viewtopic.php?f=71&t=709
For practical reasons, a semantic style would help a lot already, as one could easily locate and handle the uses than (as opposed to the current handling).
|
Fri Nov 27 09:39:02 2020, comment #2:
Great, thanks.
|
Thu Nov 26 22:45:23 2020, comment #1:
Thanks for the report. It should be fixed in the sources.
|
Thu Nov 26 08:51:45 2020, original submission:
Both these macros are converted in ODT to normal body text rather than the respective heading styles.
This only applies to scrbook.cls. scrartcl.cls seems to work fine.
MWE attached.
|