Hi there. I am using \cl in Paratext to get the word ‘chapter’ to show before a chapter number. However, this doesn’t work in SAB (or the Paratext preview for that matter).
According to the USFM reference:
\cl Psalm
\c 1
Should show as
Psalm 1
(on one line)
But when we have:
\cl Chapter
\c 1
it shows as
Chapter
1
(Often with a heading in between!)
The USFM also says: If \cl is entered once before chapter 1 (\c 1) it represents the text for “chapter” to be used throughout the current book. However, there is no word “Chapter” before the following chapter numbers.
the \c is an organizational element and starts the chapter. Even though the label goes before the chapter number it is part of the chapter so goes after the \c.
It is like that with \s after a \c but the Section head appears before the dropcap chapter number.
You probably need to turn off drop cap chapter numbers.
Thanks, putting the \cl after (and not touching the dropcap settings) just made it so that there is no chapter number at all on chapter one in the app, just the word “chapter”, and chapter 2 and following just have their number.
How do I turn off drop cap chapter numbers?
Thanks - I changed the Position of number to At the top of the page. At least the heading is no longer in between “chapter” and “1”, but they are still on separate lines and there is no word “chapter” before any other chapter (2 and on).
Thanks!
We would prefer to have “Chapter” at each chapter, but the desire is not so strong that it’s worth changing the Paratext files to fix the app. So for now I’ll just leave it as is. I’ve also asked the question on the Paratext forum since \cl doesn’t show correctly in the preview or RTF export from paratext either.
@Kathy_Dadd there is no need to change your Paratext file. In SAB you can add a change in the changes section. These changes are regular expressions so are very powerful.
Still, if the Paratext USFM specification says that putting \cl before chapter 1 should force a chapter label at the beginning of each chapter in the book, I think SAB should try to implement that. Yes, you can have some work-arounds with RegEx, but consider my case - an entire OT app. I can’t just search for chapter number and replace it with \cl, because I only want that to happen in Psalms, not in other books. And we followed the spec, so we only have \cl before chapter 1, expecting it to be implemented in all chapters of that book.
I’m not sure what Kathy was saying from the developers, but this \cl before chapter 1 works just fine in Paratext Print Draft to PDF.
mcquayi said he would investigate it as a bug, the work-around was just a work-around for me in the mean-time.
Re Paratext, yes it works fine in the PDF, and that is apparently all it should do. It doesn’t work in preview or RTF export, but the Paratext developers said it’s not meant to.
@jeff_heath I agree that it should handle it as per USFM specs.
However not everything gets fixed. (Reality of program support.)
For your example of just Psalms needing \cl, then making a copy of Psalms from Paratext then running RegEx to add the \cl lines needed by SAB is not ideal but not too time consuming.
It argues a stronger case for Changes by book (and collection).