Search found 5 matches

by jcb
Fri Mar 06, 2020 11:50 pm
Forum: Common Problems
Topic: TOC text alignment
Replies: 2
Views: 2601

Re: TOC text alignment

Thank you, Julien. I've carried out your suggestions and it's working perfectly now. Thanks for looking at updating the instructions.
by jcb
Fri Mar 06, 2020 5:25 am
Forum: Common Problems
Topic: TOC text alignment
Replies: 2
Views: 2601

TOC text alignment

The text for my TOC for Parts and Chapters align well, but the author and book information are justified. My attempts to fix this via CSS have proved unsuccessful. I'd also like to have the page numbers right aligned in the Chapters, as they are in the Parts. And Lastly, the title of the TOC (Conten...
by jcb
Mon Jul 29, 2019 5:49 pm
Forum: General XML Questions
Topic: Schematron: Test that a string matches an ID from a list of available IDs
Replies: 2
Views: 1894

Re: Schematron: Test that a string matches an ID from a list of available IDs

Regardless of the <let>, the answer ended up being the use of quantified expressions: <pattern id="answerIDnotLocal"> <rule context="question"> <let name="answer" value="div[@class='response-processing']/div[@class = 'condition']/div[@class = 'correct']"/> <le...
by jcb
Fri Jul 26, 2019 1:03 am
Forum: General XML Questions
Topic: Schematron: Test that a string matches an ID from a list of available IDs
Replies: 2
Views: 1894

Schematron: Test that a string matches an ID from a list of available IDs

I have an XML file that contains a list of possible question answers as well as the correct answer. I want to use schematron to verify that the correct answer value (a string) exists in the list of possible answer IDs. I'm comparing the string value to the list IDs, but am coming up short. XML: <que...
by jcb
Sat Mar 02, 2019 4:09 am
Forum: Common Problems
Topic: Page Linking via CSS
Replies: 1
Views: 1871

Page Linking via CSS

I'm using the paged-media CSS option of the below: a:after { content: target-counter(attr(href), page); } in order to add page links to my Index. It works like a charm. However, this also adds a page number after any element that contains an @href. For instance, I have figure/table links throughout ...