Search found 149 matches

by shudson310
Thu Jul 19, 2018 1:31 am
Forum: Feature Request
Topic: support text rotation
Replies: 10
Views: 6306

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 !important; ma...
by shudson310
Thu Jul 19, 2018 1:29 am
Forum: Common Problems
Topic: Glossary formatting
Replies: 6
Views: 2893

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: 10
Views: 6306

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: 2893

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, ' glossentry/glossAcr...
by shudson310
Tue Jul 17, 2018 5:08 pm
Forum: Feature Request
Topic: support text rotation
Replies: 10
Views: 6306

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: 10
Views: 6306

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:block xsl:use-attribute-sets="thea...
by shudson310
Thu Jul 05, 2018 7:26 pm
Forum: Common Problems
Topic: Table continuation headers
Replies: 13
Views: 3506

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: 4
Views: 2698

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"> <alt>Project icon</alt> </imag...
by shudson310
Tue Jul 03, 2018 6:19 pm
Forum: Common Problems
Topic: Swap out note icons
Replies: 1
Views: 1675

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-weight: bold; font-sty...
by shudson310
Fri Jun 29, 2018 5:37 pm
Forum: Common Problems
Topic: draft watermark until approved?
Replies: 6
Views: 3249

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: 3249

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: 3249

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) " " string(prodversion) "." string(prod...
by shudson310
Fri Jun 29, 2018 4:27 pm
Forum: Common Problems
Topic: draft watermark until approved?
Replies: 6
Views: 3249

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: 12
Views: 5796

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: 3249

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 the draft watermark on every p...
by shudson310
Fri Jun 29, 2018 1:38 am
Forum: Common Problems
Topic: draft watermark until approved?
Replies: 6
Views: 3249

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(@class,...
by shudson310
Thu Jun 28, 2018 11:05 pm
Forum: Common Problems
Topic: Figure and Table numbering
Replies: 12
Views: 5796

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 " counter(figures) ": "; ...
by shudson310
Thu Jun 28, 2018 1:06 am
Forum: Common Problems
Topic: change-tracking display?
Replies: 1
Views: 1495

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: 8
Views: 3163

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: 3085

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: 3085

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"), prodversion oxy_xpa...
by shudson310
Fri Jun 22, 2018 10:17 pm
Forum: Common Problems
Topic: Customize cover page
Replies: 5
Views: 2870

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-set: prodv...
by shudson310
Fri Jun 22, 2018 10:10 pm
Forum: Common Problems
Topic: Header / Footer equivalents from FO
Replies: 6
Views: 3085

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/vrmlist/vrm/@versi...
by shudson310
Thu Jun 21, 2018 12:14 am
Forum: Common Problems
Topic: image paths in CSS?
Replies: 1
Views: 1500

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....
by shudson310
Wed Jun 20, 2018 8:55 pm
Forum: Common Problems
Topic: Header / Footer equivalents from FO
Replies: 6
Views: 3085

Re: Header / Footer equivalents from FO

Think I found what I needed in the doc:
https://www.oxygenxml.com/doc/versions/ ... nd-footers

Thanks,

--Scott
by shudson310
Wed Jun 20, 2018 8:50 pm
Forum: Common Problems
Topic: Header / Footer equivalents from FO
Replies: 6
Views: 3085

Header / Footer equivalents from FO

How do I configure Chemistry to handle alternating page headers/footers? For example, in our FO customization we have: <xsl:template name="insertBodyOddFooter"> <fo:static-content flow-name="odd-body-footer"> <fo:block xsl:use-attribute-sets="__body__odd__footer"> <fo:table width="100%"> <fo:table-c...
by shudson310
Mon Jun 11, 2018 9:09 pm
Forum: Feature Request
Topic: Generate @id based on child title?
Replies: 1
Views: 1454

Generate @id based on child title?

I found a way to set the ID options (framework -> ID Options), but haven't found a way to set the ID based on the value from a title child element. For example, if I have: <section> <title>Configuring the radio</title> <p>blah</p> </section> I want to configure the Generate IDs to use the ${localNam...
by shudson310
Thu Jun 07, 2018 3:40 pm
Forum: General XML Questions
Topic: Exclude node during searches
Replies: 8
Views: 8283

Re: Exclude node during searches

That worked perfectly. Thanks for the quick, expert help!
by shudson310
Thu Jun 07, 2018 2:28 am
Forum: General XML Questions
Topic: Exclude node during searches
Replies: 8
Views: 8283

Re: Exclude node during searches

Here's a related question: We want to find: <wintitle>some text</wintitle> and replace with: <wintitle keyref="someKey" /> We've tried restricting the XPath to: //*[not(descendant-or-self::alt|descendant-or-self::title|descendant-or-self::shortdesc|descendant-or-self::draft-comment)]|//text()[not(an...
by shudson310
Mon Jun 04, 2018 11:05 pm
Forum: Common Problems
Topic: Webhelp Responsive Issue for IE 11 browser
Replies: 6
Views: 2729

Re: Webhelp Responsive Issue for IE 11 browser

Same issue here. IE 11 compatibility is very important for our user base.