2-Column n / Dual Language
Are you missing a feature? Request its implementation here.
-
- Posts: 4
- Joined: Fri May 31, 2019 5:22 am
- Contact:
2-Column n / Dual Language
I am interested in collaborating to create a DITA template that supports a Dual Language document. On the left the source language...on the right the target language. Language support is key (left language might Arabic / right language English). Also, it must allow for text alignment , i.e. the text column always retains its independence from the other. I have created documents in InDesign and Latex that can do this but do not have the "techincal chops" here to make it happen. Thanks for your consideration.. Jake
-
- Posts: 4
- Joined: Fri May 31, 2019 5:22 am
- Contact:
Re: 2-Column n / Dual Language
Radu: It would be for publishing translations of texts. Thanks, Jake
-
- Posts: 4
- Joined: Fri May 31, 2019 5:22 am
- Contact:
Re: 2-Column n / Dual Language
Radu: Thank you. It is for publication of dual language texts. Here is a link to something I did in InDesign but really want to use DITA for many reasons.
https://indd.adobe.com/view/ac392496-0a ... 9e093c5688
Jake
https://indd.adobe.com/view/ac392496-0a ... 9e093c5688
Jake
-
- Posts: 9422
- Joined: Fri Jul 09, 2004 5:18 pm
Re: 2-Column n / Dual Language
Hi Jake,
That's quite an interesting use case, we need to explore this more, I will add an issue on our side.
Our DITA to PDF output based on HTML5 & CSS allows you to write and apply a custom CSS for PDF output:
https://www.oxygenxml.com/doc/versions/ ... 5-x-2.html
What I tried was to create a DITA topic looking like this:
and then with this custom CSS:
I defined a two column table layout and placed the two sections each in its own column.
This seems to look more or less like what you want.
Regards,
Radu
That's quite an interesting use case, we need to explore this more, I will add an issue on our side.
Our DITA to PDF output based on HTML5 & CSS allows you to write and apply a custom CSS for PDF output:
https://www.oxygenxml.com/doc/versions/ ... 5-x-2.html
What I tried was to create a DITA topic looking like this:
Code: Select all
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="introduction">
<title>Side by side translation</title>
<body outputclass="two-columns-table">
<bodydiv outputclass="two-columns">
<section outputclass="column">
<title>Section 1</title>
<p>Para 1</p>
</section>
<section outputclass="column">
<title>Section 1 translation</title>
<p>Para 1 translated</p>
</section>
</bodydiv>
</body>
</topic>
Code: Select all
.two-columns-table{
display:table;
table-layout:fixed;
}
.two-columns {
display:table-row;
}
.column {
display:table-cell;
}
This seems to look more or less like what you want.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4
- Joined: Fri May 31, 2019 5:22 am
- Contact:
Re: 2-Column n / Dual Language
Radu: Thanks much and glad you think the use case has merit. I will check out the DITA Map to PDF - based on HTML5 and CSS Transformation. I have to admit to not having the technical "chops" to test your customization code. Thanks for doing this. I get the basic gist that you set up two parallel columns, Up for learning of course how to involve myself in the customization.s, but not soon enough to reply to your post. Would love to work with someone on this and have other ideas for features., Thanks again! Jake
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service