Git Product home page Git Product logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
I just tried generating the tutorial's doc using a docbook 5 DTD. The only 
required change was to adjust the header of docs/tutorial/src/en/index.xml (the 
DTD version is part of the XML namespace) and also the DTD changed name 
(docbook.dtd instead of docbookx.dtd).

This did not fix the PDF formating problems.

However, if we only need to change the header of the three index.xml files, I 
would be tempted to suggest we consider moving to docbook 5, which by the way 
still seems to be in beta phase.

Original comment by [email protected] on 25 Oct 2010 at 2:28

  • Changed state: Started

from mybatisnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Docbook 5 DTD also works well for DataAccessGuide and DataMapperGuide.

I'm testing all this on a local copy, I do not intend to commit these changes 
until I get feedback from others, and until we fix all the urgent issues with 
the doc build process.

Original comment by [email protected] on 25 Oct 2010 at 2:39

from mybatisnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
In trying to fix the FOP related problems (PDF version of the doc), I looked at 
the Hibernate docbook source files (our fopdf.xsl files were oringinnally 
imported from the hibernate project, so the headers say).

They seem to still be using docbook 4.5. I suppose there might be good reasons 
for that. Food for thought in our decision making regarding upgrading our 
source to a more recent version of docbook than our current 4.1.2.

Original comment by [email protected] on 26 Oct 2010 at 1:21

from mybatisnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Here is my current list of issues with the production of the PDF format of the 
doc:

- Cover page missing most of its information (authors, date, version number, 
...).
- Leaders in TOC not adequate,
- Some images are way too wide, I don't yet know how to control this from the 
stylesheets, or even if it's possible.
- When code samples are too long, the line doesn't wrap automatically and the 
rightmost portion is lost.

If someone else manages to build the PDF doc and notices other issues, please 
add them here.

As far as I know, the CHM output is as good as it can get, I haven't noticed 
any issues, but I did not read the CHM docs thoroughly, just skimmed them.

Original comment by [email protected] on 26 Oct 2010 at 1:37

from mybatisnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Revision 28 fixes the overblown images in PDF output problem. This required 
changing both the docbook XML source files AND the stylesheets for HTML.

I also proposed a temporary path to the cover page and TOC problems, by 
removing the custom first page and custom TOC in the PDF stylesheet 
(tutorial/styles/fopdf.xsl). If this is acceptable, I will mimic this solution 
in DataAccessGuide and DataMapperGuide PDF stylesheets until I can figure out 
what the problem is with FOP and custom first pages.

The only remaining issue would be the long lines in code samples which are 
clipped.

Original comment by [email protected] on 27 Oct 2010 at 3:31

from mybatisnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Revision 29 fixes the overrunning lines in code samples.

Original comment by [email protected] on 27 Oct 2010 at 3:49

from mybatisnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Closing this issue, will create a new one with the remaining PDF problem 
(custom first page).

Original comment by [email protected] on 27 Oct 2010 at 11:43

  • Changed state: Fixed
  • Added labels: Priority-High
  • Removed labels: Priority-Critical

from mybatisnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.