Search found 125 matches

by shudson310
Fri Jul 20, 2018 11:55 pm
Forum: Common Problems
Topic: Path to image from Cover Page for PDF
Replies: 2
Views: 148

Re: Path to image from Cover Page for PDF

Each of our projects has a logo that is specified in the bookmap: <data name="cover-image"><image id="project_icon" keyref="project_icon" align="right"> <alt>Project icon</alt> </image></data> </metadata> That keyref gets resolved to an href in the merged.html...
by shudson310
Thu Jul 19, 2018 5:38 pm
Forum: Common Problems
Topic: widows and orphans
Replies: 1
Views: 33

widows and orphans

The Chemistry documentation describes a style to control page breaks based on widows and orphans. The example only shows <p>, but is this possible with other elements? For example, I don't want an orphaned line from a step. I tried: p, tr, ul, ol, steps, step, substep, li { orphans: 4; widows: 2; } ...
by shudson310
Thu Jul 19, 2018 4:26 pm
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 70

Re: Glossary formatting

Here's my final style that works: /* Glossary formatting*/ *[class~="glossentry/glossentry"] > *[class~="glossentry/glossterm"]:before { content: oxy_xpath("(following-sibling::*//*[contains(@class, ' glossentry/glossAcronym ')]/text() | following-sibling::*//*[contains(@cla...
by shudson310
Thu Jul 19, 2018 4:22 pm
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 70

Re: Glossary formatting

To get it to work, I commented out the following offending style in p-numbering-shallow.css: /* Topics from Front Matter and Back Matter and all other topics that follow a part should not define string sets, counters, etc.. */ *[class ~= "bookmap/frontmatter"] > *[class ~= "topic/titl...
by shudson310
Thu Jul 19, 2018 4:12 pm
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 70

Re: Glossary formatting

I am able to get the CSS selector to work in the browser, but when I run the transform, it appears that my style is either overridden or stripped out during the process, so does not appear when I inspect the merged HTML. I'm using: /* Glossary formatting*/ *[class~="glossentry/glossentry"]...
by shudson310
Thu Jul 19, 2018 3:08 am
Forum: Feature Request
Topic: support text rotation
Replies: 6
Views: 74

Re: support text rotation

The padding was the issue. I fixed as follows: *[outputclass ~= "rotated"] > * { display: block; transform: rotate(-90deg) translate(-100%) !important; text-align: left !important; margin-top: -10%; margin-bottom: 0; vertical-align:bottom; white-space: nowrap; } tr > *[outputclass ~= "...
by shudson310
Thu Jul 19, 2018 1:31 am
Forum: Feature Request
Topic: support text rotation
Replies: 6
Views: 74

Re: support text rotation

To address the height issue, I found a similar post on StackOverflow. I still can't get the text to align at the bottom of the cell now: *[outputclass ~= "rotated"] > * { display: block; transform: rotate(-90deg) translate(-100%) !important; text-align: left !important; margin-left: 0 !imp...
by shudson310
Thu Jul 19, 2018 1:29 am
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 70

Re: Glossary formatting

Unfortunately, we are still not seeing the prepended Acronym in the glossary heading (glossterm).

I've tried troubleshooting with the browser and with the XPath builder.

--Scott
by shudson310
Wed Jul 18, 2018 8:55 pm
Forum: Feature Request
Topic: support text rotation
Replies: 6
Views: 74

Re: support text rotation

Adding the <p> around the table header text and using the style provided works! That said, the table header is not tall enough, so the text overruns. How can I address the table row height?
by shudson310
Tue Jul 17, 2018 7:44 pm
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 70

Glossary formatting

I'd like to style the glossary such that the title follows the format: glossAcronym - glossterm glossdef I'm trying to use: /* Glossary formatting*/ article > *[class~="glossentry/glossentry"] > *[class~="glossentry/glossterm"]:before { content: oxy_xpath('.//*[contains(@class, '...
by shudson310
Tue Jul 17, 2018 5:08 pm
Forum: Feature Request
Topic: support text rotation
Replies: 6
Views: 74

Re: support text rotation

I saw the reply, but this request is to support the text rotation within a header cell, not rotate the entire table. I still haven't been able to get this to work:

Code: Select all

*[class ~= "rotated"] {
  transform: rotate(90deg) !important;
}
by shudson310
Tue Jul 17, 2018 4:06 pm
Forum: Feature Request
Topic: support text rotation
Replies: 6
Views: 74

support text rotation

We need to be able to rotate certain headers in our tables when @outputclass=”rotated” is specified. In our xsl:fo, we support this with: <xsl:when test="@outputclass='rotated'"> <fo:block-container reference-orientation="90" inline-progression-dimension="1in"> <fo:bloc...
by shudson310
Thu Jul 05, 2018 7:26 pm
Forum: Common Problems
Topic: Table continuation headers
Replies: 1
Views: 110

Table continuation headers

How can I bring over the title of a table if it spans multiple pages?

On the subsequent pages, I'd like the text to read:
Table title (continued)

The th is carried over, so there should be a way to do this?
by shudson310
Tue Jul 03, 2018 7:27 pm
Forum: Common Problems
Topic: Path to image from Cover Page for PDF
Replies: 2
Views: 148

Path to image from Cover Page for PDF

Hi, In our PDFs for every product we have different product logo on the cover page. How can I set the path to these images so that whenever I generate PDF out the correct logo is picked? In the XML we have: <image id="image_Project_icon" keyref="fg_Icon" align="right"> ...
by shudson310
Tue Jul 03, 2018 6:19 pm
Forum: Common Problems
Topic: Swap out note icons
Replies: 1
Views: 78

Swap out note icons

Hello, I'm trying to swap out the default note icons. I used an override, but I get duplicate label and icons. Here's my code: *[class ~= "topic/note"]:before { content: url('../../images/myNote.png') " Note: " !important; font-family: 'Arial Unicode MS Bold', sans-serif; font-we...
by shudson310
Fri Jun 29, 2018 5:37 pm
Forum: Common Problems
Topic: draft watermark until approved?
Replies: 6
Views: 232

Re: draft watermark until approved?

Turns out it was a quote nesting issue. This fixed it:

Code: Select all

draftStatus oxy_xpath('if (//*[contains(@class, "bookmap/approved")]) then "" else "DRAFT" ');
by shudson310
Fri Jun 29, 2018 5:18 pm
Forum: Common Problems
Topic: draft watermark until approved?
Replies: 6
Views: 232

Re: draft watermark until approved?

ugh. Copy/paste error. should be:

Code: Select all

draftStatus oxy_xpath('if (//*[contains(@class, 'bookmap/approved')]) then "" else "DRAFT" ')


Still not working when "approved" though.
by shudson310
Fri Jun 29, 2018 5:16 pm
Forum: Common Problems
Topic: draft watermark until approved?
Replies: 6
Views: 232

Re: draft watermark until approved?

OK, I also want to add text in the footer for the draft status. I declared the variable in the .root: draftStatus oxy_xpath('if (//*[contains(@class, 'bookmap/permissions')]) then "" else "DRAFT" ') And in the page templates, I have: content : string(prodname) " " strin...
by shudson310
Fri Jun 29, 2018 4:27 pm
Forum: Common Problems
Topic: draft watermark until approved?
Replies: 6
Views: 232

Re: draft watermark until approved?

Worked like a charm. As always, you oXygen folks are the best!

Many thanks! :D
by shudson310
Fri Jun 29, 2018 4:26 pm
Forum: Common Problems
Topic: Figure and Table numbering
Replies: 4
Views: 216

Re: Figure and Table numbering

Worked like a charm. As always, you oXygen folks are the best!

Many thanks!
by shudson310
Fri Jun 29, 2018 2:06 am
Forum: Common Problems
Topic: draft watermark until approved?
Replies: 6
Views: 232

Re: draft watermark until approved?

I tried a different approach, but still not working: body:not(*[class ~= "bookmap/approved"]) { background-image:url("../../images/draft-watermark.png"); background-position:center; background-repeat:no-repeat; } body:has(*[class ~= "bookmap/approved"]) { } I still get ...
by shudson310
Fri Jun 29, 2018 1:38 am
Forum: Common Problems
Topic: draft watermark until approved?
Replies: 6
Views: 232

draft watermark until approved?

We followed the tutorial to create a draft watermark, but how can we conditionalize this so that the watermark is applied until bookmap/approved exists in the map? Is there a way to conditionally apply an @page template? For example, if we set a variable: draftStatus oxy_xpath("(//*[contains(@c...
by shudson310
Thu Jun 28, 2018 11:05 pm
Forum: Common Problems
Topic: Figure and Table numbering
Replies: 4
Views: 216

Figure and Table numbering

I'm trying to auto-number figures and tables, but the counter doesn't increment. Here's my code: body { counter-reset: figures 1; counter-reset: tables 1; } *[class ~= "topic/fig"] { counter-increment: figures; } *[class ~= "topic/fig"] figcaption::before { content: "Figure ...
by shudson310
Thu Jun 28, 2018 1:06 am
Forum: Common Problems
Topic: change-tracking display?
Replies: 1
Views: 72

change-tracking display?

Does Chemistry support rendering of tracked changes (show.changes.and.comments)? If so, how can I configure/override styling?
by shudson310
Wed Jun 27, 2018 5:12 pm
Forum: Common Problems
Topic: Generate chapter minitoc
Replies: 1
Views: 75

Generate chapter minitoc

Does Chemistry support the minitoc like the standard PDF OT transform? If so, how do we enable it?
by shudson310
Tue Jun 26, 2018 5:19 pm
Forum: Common Problems
Topic: Header / Footer equivalents from FO
Replies: 6
Views: 246

Re: Header / Footer equivalents from FO

Thanks for your help! I'm able to produce the headers and footers I need now.
by shudson310
Mon Jun 25, 2018 5:21 pm
Forum: Common Problems
Topic: Header / Footer equivalents from FO
Replies: 6
Views: 246

Re: Header / Footer equivalents from FO

The comma separation still doesn't appear to be working. Is the oxy_xpath based off of the original bookmap, or based on the merged.html or other? I now have: :root { font-family: 'Helvetica Neue', sans-serif; font-size:10pt; string-set: prodname oxy_xpath("//prodinfo/prodname"), prodversi...
by shudson310
Fri Jun 22, 2018 10:17 pm
Forum: Common Problems
Topic: Customize cover page
Replies: 5
Views: 257

Re: Customize cover page

I'm trying to add a logo to the cover, and build the publication title, but am only seeing the booktitle contents display. Here's the variables I set: :root { font-family: 'Helvetica Neue', sans-serif; font-size:10pt; string-set: prodname oxy_xpath("//bookmeta//prodinfo/prodname"); string-...
by shudson310
Fri Jun 22, 2018 10:10 pm
Forum: Common Problems
Topic: Header / Footer equivalents from FO
Replies: 6
Views: 246

Re: Header / Footer equivalents from FO

OK, still need some help. I've tried to declare all of the variables I need using: [Codebox=] :root { font-family: 'Helvetica Neue', sans-serif; font-size:10pt; string-set: prodname oxy_xpath("//bookmeta//prodinfo/prodname"); string-set: prodversion oxy_xpath("//bookmeta//prodinfo/vrm...
by shudson310
Thu Jun 21, 2018 12:14 am
Forum: Common Problems
Topic: image paths in CSS?
Replies: 1
Views: 121

image paths in CSS?

When trying to establish the cover logo, is the path in the CSS to the image relative to the CSS, or to the document? For some reason, the images don't seem to resolve: @page :left { @top-left { content : string(chapter_title) !important; } @top-right { content:url('../media/images/jeppesen.logo.lt....

Go to advanced search