Search found 26 matches

by DmitryS
Wed May 06, 2020 7:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to rotate the whole chapter?
Replies: 8
Views: 322

Re: How to rotate the whole chapter?

Hi Julien!
Thanks a lot. It works.

Sincerely,
Dmitry
by DmitryS
Thu Apr 30, 2020 6:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to rotate the whole chapter?
Replies: 8
Views: 322

Re: How to rotate the whole chapter?

Done. 'wide' is doubled again.

Regards,
Dmitry
by DmitryS
Thu Apr 30, 2020 5:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to rotate the whole chapter?
Replies: 8
Views: 322

Re: How to rotate the whole chapter?

Julien, My inspector shows this: <article xmlns:nd="http://www.oxygenxml.com/css2fo/named-destinations" class="- topic/topic reference/reference topic reference nested0 wide" aria-labelledby="ariaid-title2" break-before="true" is-chapter="true" id="unique_2" outputclass="wide wide" topicrefclass="- ...
by DmitryS
Thu Apr 30, 2020 4:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to rotate the whole chapter?
Replies: 8
Views: 322

Re: How to rotate the whole chapter?

Hello Julien!

Unfortunately, no effect.
Does it should work?

Code: Select all

<reference id="r_security_ug_tables" outputclass="wide">
Regards,
Dmitry
by DmitryS
Thu Apr 30, 2020 12:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to rotate the whole chapter?
Replies: 8
Views: 322

How to rotate the whole chapter?

Hi! (I've read all topics and articles here related to "landscape") One of my topics contains wide content, so I want to place it on the landscape page. I've got definitions in my CSS: @page landscape-page:right { size: landscape; margin-top: 2.5cm; margin-bottom: 1.5cm; margin-left: 2cm; margin-rig...
by DmitryS
Thu Jan 16, 2020 9:49 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: <codeph> trims spaces
Replies: 1
Views: 161

<codeph> trims spaces

Hi!
Some commands need really three spaces between parameters.
But when I use, for example, this code:

Code: Select all

<codeph>ru   GXG_DESCRI006</codeph>
I got one space only.
My solution is

Code: Select all

<codeph>ru&#8202;&#8202;&#8202;GXG_DESCRI006</codeph>
but I think it is not suitable.

Sincerely,
Dmitry
by DmitryS
Thu Jan 16, 2020 9:36 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: The first page of document (not frontmatter) - different background
Replies: 9
Views: 738

Re: The first page of document (not frontmatter) - different background

Thank you, Costin, it works on the topic's page.
But chapter number still appears in TOC. How to hide it?

Sincerely,
Dmitry
by DmitryS
Fri Jan 10, 2020 12:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: The first page of document (not frontmatter) - different background
Replies: 9
Views: 738

Re: The first page of document (not frontmatter) - different background

Hi Costin!
I should have been more precise. I need the title on this page to have no number, not a page. Selector in my CSS is about it.

Sincerely,
Dmitry
by DmitryS
Tue Dec 31, 2019 10:08 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using XPath with bookmap metadata
Replies: 2
Views: 197

Re: Using XPath with bookmap metadata

Thank you, Alex!

Sincerely,
Dmitry
by DmitryS
Mon Dec 30, 2019 5:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: The first page of document (not frontmatter) - different background
Replies: 9
Views: 738

Re: The first page of document (not frontmatter) - different background

Hi Costin! Unfortunately, they don't work together. The topic marked with outputclass="firstChapter before-toc" is before the table of contents, has its own background, but still has a number, despite the *[class ~= "map/map"][numbering ^= 'deep'] *[class ~= "map/topicref"][outputclass = "before-toc...
by DmitryS
Mon Dec 23, 2019 2:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using XPath with bookmap metadata
Replies: 2
Views: 197

Using XPath with bookmap metadata

Hi!
Please help me to return the value of bookmeta/bookrights/copyrlast/year.
Expression

Code: Select all

//*[contains(@class, "bookmap/year")]/text() 
returns two values, from <copyrfirst> and <copyrlast>.

Sincerely,
Dmitry
by DmitryS
Thu Dec 19, 2019 10:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using otherprops= for image filtering
Replies: 2
Views: 298

Re: Using otherprops= for image filtering

Hi Sheree!
What happens if change "all other versions" to "all_other_versions"?

Regards,
Dmitry
by DmitryS
Tue Dec 17, 2019 3:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Picture path error in PDF output
Replies: 5
Views: 324

Re: Picture path error in PDF output

I see, Dan, thanks!
I should have guessed that it is bad idea to transform individual topics to check the appearance of graphics.
Only ditamap.
Even if it's 40 pages.

BTW, just for ask - one of links in my example is about image inside. But is causes an error as well. Why?

Regards,
Dmitry
by DmitryS
Tue Dec 17, 2019 12:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Picture path error in PDF output
Replies: 5
Views: 324

Re: Picture path error in PDF output

Hi Dan. I've prepared an example. Topic from first folder is processed properly. Topic from second folder takes error messages for every picture reference (I put the picture in two places): Image not found. URI: file:/D:/Temp/1/checkbox.svg. (See position 10:478) Image not found. URI: file:/D:/Temp/...
by DmitryS
Fri Dec 13, 2019 5:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to avoid page breaks between some chapters?
Replies: 3
Views: 291

Re: How to avoid page breaks between some chapters?

Dan, Costin, thanks a lot!
It hepls and works.

Sincerely,
Dmitry
by DmitryS
Fri Dec 13, 2019 2:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Picture path error in PDF output
Replies: 5
Views: 324

Picture path error in PDF output

Hi team!
I've met a strange thing - inline images don't appear in PDF. I tried to prepare an example, but it didn't happen again for the short filepath.
Please see a screenshot.

Sincerely,
Dmitry
path_error.png
path_error.png (167.47 KiB) Viewed 324 times
by DmitryS
Fri Dec 13, 2019 10:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to avoid page breaks between some chapters?
Replies: 3
Views: 291

How to avoid page breaks between some chapters?

Hi! I need to place some very short chapters on the same page. I see that chapter heading has a different behavior than topic heading, and *[class~="topic/topic"] > *[class~="topic/title"] { page-break-before:avoid; } doesn't work. I tried to apply something like this: *:not([class ~= "map/chapter"]...
by DmitryS
Tue Dec 10, 2019 2:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: The first page of document (not frontmatter) - different background
Replies: 9
Views: 738

Re: The first page of document (not frontmatter) - different background

Hi Costin!
Thanks a lot! It works.
But works for chapter after TOC only. What should I modify to apply this solution to chapter with outputclass="before-toc"?
(I don't know how to combine two or more "outputclass". I found the 'before-toc' string in XSL file only.)

Sincerely,
Dmitry
by DmitryS
Wed Dec 04, 2019 12:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to skip chapter number for the first topic?
Replies: 7
Views: 438

Re: How to skip chapter number for the first topic?

Hello Julien,
no result again... It looks like custom CSS is ignored. Maybe merged.html can help? I have attached it.
b_32-01_installation_ug.zip
(80.68 KiB) Downloaded 17 times
Thanks,
Dmitry
by DmitryS
Tue Dec 03, 2019 3:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: The first page of document (not frontmatter) - different background
Replies: 9
Views: 738

The first page of document (not frontmatter) - different background

Hi again.
Please tell me how to provide the first page of the first chapter with it's own background image.
Is there some named page for this case?
I tried

Code: Select all

    @page :first {
background-image: url(page_background.svg);
    }
but it works exactly like

Code: Select all

"@page chapter:first"
.
by DmitryS
Tue Dec 03, 2019 3:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Is there a Macro Recording for Repeated Tasks???
Replies: 3
Views: 299

Re: Is there a Macro Recording for Repeated Tasks???

Hi!
If your files have exacly the same structure, and it's possible to organize XXX as one row, maybe there's a reason to make a table with columns:

filename
cmd
title

and process it with MS SQL Server Cursor function. I made it once, 200 files per second.

Regards,
Dmitry
by DmitryS
Tue Dec 03, 2019 2:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to skip chapter number for the first topic?
Replies: 7
Views: 438

Re: How to skip chapter number for the first topic?

Hello Julien,
example is attached.
(I hope to remove the chapter number for Appendix with your solution. I don't need it as well)

Sincerely,
Dmitry
example.zip
(11.69 KiB) Downloaded 18 times
by DmitryS
Mon Dec 02, 2019 3:01 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Scaling suppresses alignment (bug?)
Replies: 2
Views: 471

Scaling suppresses alignment (bug?)

Hi!
I've found that scenario "DITA Map PDF - based on HTML5 & CSS" doesn't allow me to scale image and center it at the same time.
Scaled image becomes aligned to left.
Please see attachment.

Regards,
Dmitry
scale.zip
(235.22 KiB) Downloaded 19 times
result.zip
(240.27 KiB) Downloaded 17 times
by DmitryS
Thu Nov 28, 2019 4:40 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to skip chapter number for the first topic?
Replies: 7
Views: 438

How to skip chapter number for the first topic?

Hi Team! Some document standards wants me to place introductory topics before TOC, an these topics have to have no number: <chapter href="32-01_installation_ug/concept/c_annotation.dita" outputclass="before-toc"/> <chapter href="32-01_installation_ug/concept/c_abbreviations.dita" outputclass="before...