Line break in footnotes
Line break in footnotes
Hi all,
In a nutshell: How do I add a line break between the strings in the following:
@bottom-center {
content: string(maptitle) string(parttitle) string(chaptertitle);
}}
Thanks,
Timo Laaksosaari
In a nutshell: How do I add a line break between the strings in the following:
@bottom-center {
content: string(maptitle) string(parttitle) string(chaptertitle);
}}
Thanks,
Timo Laaksosaari
-
- Posts: 351
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Line break in footnotes
Hi,
Unfortunately, this is not possible with the current version (oXygen PDF Chemistry 19.1).
This improvement was already added in the current development snapshot. If you need this improvement until the next version will be released, please contact us on support@oxygenxml.com to provide you a development kit.
Unfortunately, this is not possible with the current version (oXygen PDF Chemistry 19.1).
This improvement was already added in the current development snapshot. If you need this improvement until the next version will be released, please contact us on support@oxygenxml.com to provide you a development kit.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: Line break in footnotes
Hi Radu,
I think we will wait but it is good to know that the feature is coming soon.
Thanks,
Timo
I think we will wait but it is good to know that the feature is coming soon.
Thanks,
Timo
Re: Line break in footnotes
I guess the same goes for front-page-title? Needs to be on two lines with different font sizes.
Re: Line break in footnotes
Hi,
If for publishing you use a DITA Bookmap, it has two titles, a main book title and an alternate book title. We have a sample bookmap in:
OXYGEN_INSTALL_DIR\samples\dita\it-book\taskbook.ditamap
For a regular DITA Map I'm not sure how this could be done, maybe in the main <title> add two sibling <ph> elements, each containing a title, set an "outputclass" attribute value on each of them and then style those <ph> elements from your custom CSS by matching their @class attribute values, making them "display:block" and setting various font sizes to them.
Regards,
Radu
If for publishing you use a DITA Bookmap, it has two titles, a main book title and an alternate book title. We have a sample bookmap in:
OXYGEN_INSTALL_DIR\samples\dita\it-book\taskbook.ditamap
For a regular DITA Map I'm not sure how this could be done, maybe in the main <title> add two sibling <ph> elements, each containing a title, set an "outputclass" attribute value on each of them and then style those <ph> elements from your custom CSS by matching their @class attribute values, making them "display:block" and setting various font sizes to them.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 12
- Joined: Thu Jun 01, 2017 2:10 pm
Re: Line break in footnotes
This is similar question I hope. Based on the example:
Using chemistry the \A does not create a line break in my output. The \A does not appear in the output, so something happens, and the line is on one line.
Is this a common fault? or am I alone in that?
Code: Select all
@page :right{
@bottom-center {
content: "© 2017 - My Company Ltd [b]\A [/b]All rights reserved";
font-size: 0.5em;
color: silver;
}
}
Is this a common fault? or am I alone in that?
Re: Line break in footnotes
Hi mrpaultracey,
I have just tried creating a custom .css file that contains only the snippet from the example and I couldn't reproduce the issue you report, as the footnote appears split over 2 different lines.
I used the DITA Map PDF WYSIWYG default transformation scenario from oXygen. How do you run the transformation?
Are you using this scenario from oXygen, or are you using the standalone Chemistry plugin?
Do you have any other rules in your CSS (besides the ones from the example)?
In order to investigate this, please provide the full console log for your transformation. If you run this from oXygen, you should click the small "Show Console Output" widget (looks like a tiny log file) in the oXygen status bar at the bottom to see the transformation log. Alternatively, you could make the transformation log appear for any transformation if you set "Always" for the "Show console output" option from oXygen menu Options > Preferences > DITA > Logging.
Regards,
Costin
I have just tried creating a custom .css file that contains only the snippet from the example
Code: Select all
@page :right{
@bottom-center {
content: "© 2017 - My Company Ltd [b]\A [/b]All rights reserved";
font-size: 0.5em;
color: silver;
}
}
I used the DITA Map PDF WYSIWYG default transformation scenario from oXygen. How do you run the transformation?
Are you using this scenario from oXygen, or are you using the standalone Chemistry plugin?
Do you have any other rules in your CSS (besides the ones from the example)?
In order to investigate this, please provide the full console log for your transformation. If you run this from oXygen, you should click the small "Show Console Output" widget (looks like a tiny log file) in the oXygen status bar at the bottom to see the transformation log. Alternatively, you could make the transformation log appear for any transformation if you set "Always" for the "Show console output" option from oXygen menu Options > Preferences > DITA > Logging.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 12
- Joined: Thu Jun 01, 2017 2:10 pm
Re: Line break in footnotes
Thank you for your time, sorry, I had forgotten to update my chemistry. It works without issue now. Solved both issues with one stone.