Login  Register

Re: Ongoing effort for LibreOffice/Packt backend

Posted by gregturn on Jun 19, 2014; 7:47pm
URL: https://discuss.asciidoctor.org/Ongoing-effort-for-LibreOffice-Packt-backend-tp1823p1844.html

Cool! Things are really moving along. I actually have a LOT of the needed functionality.

I managed to fix that Keyword issue. I simply moved case :emphasis to the bottom of things, and it clicked. The rendered document looks almost perfect.

I have been able to take a code block and break it up into separate lines, applying "Code" styling to each line, except the last line which gets "Code End". (That's how Packt likes it). I was also able to spot when I am putting in a [source] block vs. having a plain console output block, and hence I applied Packt's "Command Line"/"Command Line End" styling with the same paradigm.

I took into consideration your comments about chapter numbers. So I have a PR where I have modified README.adoc to have :chapter_number: where I can hand write the chapter number, and if it doesn't exist, default to "1". The one issue pointed out in that PR is that I can't seem to grab the title in my newly crafted preamble.fodt.slim. If you could look at https://github.com/gregturn/asciidoc-packt/pull/17 that would certainly help.

The other thing I will mend are the quotes.
Greg Turnquist (@gregturn)
Author of Darklight and Hacking with Spring Boot 2.3
Sign up for my newsletter and get a FREE e-book