OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Docbook To Man Pages Convertion: Using Oxygen 20.1 with Saxon 6.5.5 - Missing Titles


More details needed. Do those refsect1 elements contain title elements?

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
On 2/15/2019 5:07 PM, Vivek Ghosh wrote:
Hi,
I noticed that converted man pages are missing < refsynopsisdiv> and < refsect1 > titles. 

For example 
<refsect1 role="description">
<refsect1 role="options">
<refsect1 role="errors">
<refsect1 role="attributes">

are missing. 

Any insight will be greatly appreciated.

Thanks in advance.
Vivek


-----Original Message-----
From: Vivek Ghosh 
Sent: Friday, February 8, 2019 11:05 AM
To: Radu Coravu; docbook-apps@lists.oasis-open.org
Subject: RE: [docbook-apps] Docbook To Man Pages Convertion: Using Oxygen 20.1 with Saxon 6.5.5

Hi Radu,
Thanks a lot for your response. You are right. The files were getting created in root Oxygen install directory. I will try out you solution to direct the output to the XML folder.

Greatly appreciate your help.

Thanks,
Vivek

-----Original Message-----
From: Radu Coravu [mailto:radu_coravu@sync.ro] 
Sent: Thursday, February 7, 2019 11:49 PM
To: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Docbook To Man Pages Convertion: Using Oxygen 20.1 with Saxon 6.5.5

Hi Vivek,

I looked a little bit into this.
Actually the files are also written when publishing in Oxygen, but they 
are not written in the place where you expect, you should look for them 
in the Oxygen installation folder.
If you edit the Oxygen transformation scenario, click the "Parameters" 
button, there is a transformation parameter called "man.output.base.dir" 
which you can set to "${cfd}/man/".
And there is another parameter called "man.output.in.separate.dir" which 
should be set to "1".
These parameters should direct the publishing to output files in a 
folder next to the XML file.

Regards,
Radu

Radu Coravu
<oXygen/> XML Editor
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.oxygenxml.com&d=DwIC-g&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=kzMnG5i49IC18l_bzgH0vwteBlEtKXinkB0lg6COKjc&m=GSFmmwYniujj0l_nNo41CQ0t5Ru1P6BAwsKnqJ0vb7o&s=yigdEH01GaVXUsxih9FZSazx0k6fBhqa1Ku_7xSFiUw&e=

On 2/7/2019 11:54 PM, Vivek Ghosh wrote:

Hi,

I am trying to convert Docbook to man pages from Oxygen using Saxon 6.5
 with available Docbook.xsl
(<oxygen_install_directory>>frameworks>>docbook>>xsl>>manpages)



From the log file (see below) I can see that transformation is
successfully completed but the man pages are not generated.



*/System ID: D:\Oxygen_Download\Oxygen XML Author
20\frameworks\docbook\xsl\html\chunker.xsl/*

*/Description: [Saxon6.5.5] Note: Writing Intro.1M/*

*/Start location: 111:0/*

*/ /*

*/System ID: D:\Oxygen_Download\Oxygen XML Author
20\frameworks\docbook\xsl\html\chunker.xsl/*

*/Description: [Saxon6.5.5] Note: Writing intro.1M (soelim stub)/*

*/Start location: 111:0/*



To test the docbook I tried using xsltproc which generates the man pages
without any issues confirming that docbook is all good.



Any insight will be greatly appreciated.



Thanks,

Vivek



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]