Hello Andrew

Thanks for the kind offer!!!

There are a set of scripts that we welcome for the LibreOffice Guides sanity maintenance. Often we do this manually but automation hours of work. Here is the list:

- Remove all direct formatting, but flag where it occurred, for later inspection.

- Traverse the document and flag styles "not listed" in the official template style (legacy styles, Cut&paste imported contents...)
   + paragraph, character, frame, pages
   + add a comment on the offending object for manual removal

- Clean lists: ensure paragraph with bullets and numbering are actually a paragraph with the right list style.
   + Often I see "Text Body + direct bullet" rendered exactly as "List 1".
+ Bullet applied directly on "List 1" paragraphs (breaks list alignment).
   + outlines applied directly on paragraph (breaks list alig't)

- As you noticed, ensure all images are anchored "as character"
   + Paragraph holding the image must have paragraph-style "Figure"
   + Caption must have paragraph style "Caption"

- Apply table style to table
   + AFAIK there is only one style for all tables, except
   + tables used to align objects in the page

Kind regards,

Olivier


Em 03/02/2022 17:22, Andrew Pitonyak escreveu:

Oliver,

if you decide that you want to attempt to automate some of these things, let me 
know and I can run some tests to see if it is practical to complete some of the 
tasks using macros (or similar). For example, verifying that frames or graphics 
are anchored as a character. Easier, obviously, if ALL graphics / frames must 
be anchored as a character. I never did attempt that with a macro, but worst 
that can happen is that I fail to do it in a useful way and the step is still 
manual.

On Thursday, February 03, 2022 14:33 EST, Olivier Hallot 
<olivier.hal...@libreoffice.org> wrote:
  Hi Daniel

The publication of our books in HTML as pointed is still a manual effort
carried by myself. Automation is not here yet but here are the trail to
follow:

- Presentation at LibreOffice conference at
https://www.youtube.com/watch?v=iqcVbksGIto&list=PL0pdzjvYW9RFSMB71bqh_bT-SkX5FOS9x&index=47

Some written instructions
https://olivierhallot.blogspot.com/2021/03/exporting-libreoffice-guides-to-html.html

https://olivierhallot.blogspot.com/2021/03/exporting-libreoffice-guides-to-xhtml.html

- use the writer2html extension at
https://extensions.libreoffice.org/en/extensions/show/writer2xhtml

I hope it helps you, feel free to ask for more information, but please
subscribe to our mailing list.

Kind regards

Olivier



Em 31/01/2022 18:45, Daniel Carr escreveu:
I would like to create a series of web pages that have the same format as the 
LO Guide for Writer (https://books.libreoffice.org/en/WG71/WG7100-Preface.html).
Would you tell me what software tools you use to create those pages or if it is 
a manual process?
I am trying to determine the best way to organize and present a club's 
Constitution, Bylaws, Policies and Rules.
I currently have been capturing them using LO and would like to use the 
features of LO to create TOC, Indices, etc but have not figured out how to 
translate that into a well designed web presentation.
Any information and/or hints you would provide would be greatly appreciated.

Dan CarrTechnical Resources Advisory CommitteeNewfoundland Dog Club of America
www.ncanewfs.org


--
Olivier Hallot
LibreOffice Documentation Coordinator
Rio de Janeiro - Brasil - Local Time: UTC-03:00
LibreOffice – free and open source office suite: https://www.libreoffice.org
Respects your privacy, and gives you back control over your data
http://tdf.io/joinus

--
To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/documentation/
Privacy Policy: https://www.documentfoundation.org/privacy



--
Olivier Hallot
LibreOffice Documentation Coordinator
Rio de Janeiro - Brasil - Local Time: UTC-03:00
LibreOffice – free and open source office suite: https://www.libreoffice.org
Respects your privacy, and gives you back control over your data
http://tdf.io/joinus

--
To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/documentation/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to