Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 9:31 PM, Manveru wrote:

Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert  File  External Material

--
Julien



Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
2011/9/14 Julien Rioux jri...@physics.utoronto.ca:
 On 14/09/2011 9:31 PM, Manveru wrote:

 Hi LyXers,

 Has anyone ever successfully embed parts of Doxygen generated
 documentation into LyX documents (Appendix in my case)?

 I would like to have couple pages of the documentation be presented as
 appendixes in my thesis, however single latex file included in LyX
 want work due to Lonely \item errors, and I cannot include all
 refman.tex as it is full documents with all headers.

 Manual striping of them is not a case - it is far better not include
 anything. This is because at any time Doxygen would rerun to generate
 new version of reference documentation. It would be probably nice to
 have such feature in Doxygen itself to generate stripped .tex for
 including in other document. However such requirement has to be
 somehow defined - what should be present in that file, and what not.
 Maybe some LyX modules could be used to feed package dependencies.

 Any advices? Any solutions?

 Insert it as a pdf with pdfpages?

 There's some support for that in Isert  File  External Material


I considered this, but I will get different formatting between
included content and my work. Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.

I made some process on including Doxygen into my document, however it
still requires manual corrections of the refman.tex file. General
result is far from being satisfactory. I am thinking on dropping this
idea.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 11:39 PM, Manveru wrote:

2011/9/14 Julien Riouxjri...@physics.utoronto.ca:

On 14/09/2011 9:31 PM, Manveru wrote:


Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert  File  External Material



I considered this, but I will get different formatting between
included content and my work.


OK, I must admit I never made such an operation. So I'm not sure, but I 
think you might be discarding this a little quickly. I found some PDF 
pages example that you find online. It's seems it would fit.


Use the same document class, fonts, margins, etc. I would imagine that 
you can supply your own preamble to Doxygen, which would handle all of 
that. Try copying the preamble code generated by LyX.


To remove headers and footers, you could do preamble code as well, which 
is just as easy as above, or apply a trim on the inserted PDF pages. You 
can set a pagecommand to overlay a \pagestyle{} command on top of the 
included PDF pages, thus keeping your headers, footers and page numbers 
running.



Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.



You're stuck with starting the Docu on a new page, is that what you 
mean? Formatting the first included page with a Chapter title is an 
issue. Here I don't see another way then editing of your external .tex 
file. Hopefully the amount of editing is sufficiently limited.


--
Julien



Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 9:31 PM, Manveru wrote:

Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert  File  External Material

--
Julien



Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
2011/9/14 Julien Rioux jri...@physics.utoronto.ca:
 On 14/09/2011 9:31 PM, Manveru wrote:

 Hi LyXers,

 Has anyone ever successfully embed parts of Doxygen generated
 documentation into LyX documents (Appendix in my case)?

 I would like to have couple pages of the documentation be presented as
 appendixes in my thesis, however single latex file included in LyX
 want work due to Lonely \item errors, and I cannot include all
 refman.tex as it is full documents with all headers.

 Manual striping of them is not a case - it is far better not include
 anything. This is because at any time Doxygen would rerun to generate
 new version of reference documentation. It would be probably nice to
 have such feature in Doxygen itself to generate stripped .tex for
 including in other document. However such requirement has to be
 somehow defined - what should be present in that file, and what not.
 Maybe some LyX modules could be used to feed package dependencies.

 Any advices? Any solutions?

 Insert it as a pdf with pdfpages?

 There's some support for that in Isert  File  External Material


I considered this, but I will get different formatting between
included content and my work. Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.

I made some process on including Doxygen into my document, however it
still requires manual corrections of the refman.tex file. General
result is far from being satisfactory. I am thinking on dropping this
idea.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 11:39 PM, Manveru wrote:

2011/9/14 Julien Riouxjri...@physics.utoronto.ca:

On 14/09/2011 9:31 PM, Manveru wrote:


Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert  File  External Material



I considered this, but I will get different formatting between
included content and my work.


OK, I must admit I never made such an operation. So I'm not sure, but I 
think you might be discarding this a little quickly. I found some PDF 
pages example that you find online. It's seems it would fit.


Use the same document class, fonts, margins, etc. I would imagine that 
you can supply your own preamble to Doxygen, which would handle all of 
that. Try copying the preamble code generated by LyX.


To remove headers and footers, you could do preamble code as well, which 
is just as easy as above, or apply a trim on the inserted PDF pages. You 
can set a pagecommand to overlay a \pagestyle{} command on top of the 
included PDF pages, thus keeping your headers, footers and page numbers 
running.



Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.



You're stuck with starting the Docu on a new page, is that what you 
mean? Formatting the first included page with a Chapter title is an 
issue. Here I don't see another way then editing of your external .tex 
file. Hopefully the amount of editing is sufficiently limited.


--
Julien



Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to "Lonely \item" errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 9:31 PM, Manveru wrote:

Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to "Lonely \item" errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert > File > External Material

--
Julien



Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
2011/9/14 Julien Rioux :
> On 14/09/2011 9:31 PM, Manveru wrote:
>>
>> Hi LyXers,
>>
>> Has anyone ever successfully embed parts of Doxygen generated
>> documentation into LyX documents (Appendix in my case)?
>>
>> I would like to have couple pages of the documentation be presented as
>> appendixes in my thesis, however single latex file included in LyX
>> want work due to "Lonely \item" errors, and I cannot include all
>> refman.tex as it is full documents with all headers.
>>
>> Manual striping of them is not a case - it is far better not include
>> anything. This is because at any time Doxygen would rerun to generate
>> new version of reference documentation. It would be probably nice to
>> have such feature in Doxygen itself to generate stripped .tex for
>> including in other document. However such requirement has to be
>> somehow defined - what should be present in that file, and what not.
>> Maybe some LyX modules could be used to feed package dependencies.
>>
>> Any advices? Any solutions?
>
> Insert it as a pdf with pdfpages?
>
> There's some support for that in Isert > File > External Material
>

I considered this, but I will get different formatting between
included content and my work. Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.

I made some process on including Doxygen into my document, however it
still requires manual corrections of the refman.tex file. General
result is far from being satisfactory. I am thinking on dropping this
idea.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 11:39 PM, Manveru wrote:

2011/9/14 Julien Rioux:

On 14/09/2011 9:31 PM, Manveru wrote:


Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to "Lonely \item" errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert>  File>  External Material



I considered this, but I will get different formatting between
included content and my work.


OK, I must admit I never made such an operation. So I'm not sure, but I 
think you might be discarding this a little quickly. I found some PDF 
pages example that you find online. It's seems it would fit.


Use the same document class, fonts, margins, etc. I would imagine that 
you can supply your own preamble to Doxygen, which would handle all of 
that. Try copying the preamble code generated by LyX.


To remove headers and footers, you could do preamble code as well, which 
is just as easy as above, or apply a trim on the inserted PDF pages. You 
can set a pagecommand to overlay a \pagestyle{} command on top of the 
included PDF pages, thus keeping your headers, footers and page numbers 
running.



Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.



You're stuck with starting the Docu on a new page, is that what you 
mean? Formatting the first included page with a Chapter title is an 
issue. Here I don't see another way then editing of your external .tex 
file. Hopefully the amount of editing is sufficiently limited.


--
Julien