Comments (7)
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.
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.
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.
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.
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.
Revision 29 fixes the overrunning lines in code samples.
Original comment by [email protected]
on 27 Oct 2010 at 3:49
from mybatisnet.
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)
- Patch for /trunk/src/MyBatis.DataMapper/Configuration/Interpreters/Config/Xml/Processor/Handlers/ProcessStatementElement.cs
- Why not use BindingFlags.IgnoreCase
- Huge results - want to iterate myself. HOT 1
- Concurrency and SQL Injection HOT 1
- Loading dynamic assemblies fails with 'System.NotSupportedException' HOT 1
- mybatisnet invoke mysql procedure error
- How to get Table Columns using ibatis HOT 2
- There is no Get member named 'Wrapper' in class 'List`1' HOT 2
- Dynamic insert columns and values using mybatis
- Include tag with sql statement
- How to send string inside Sql tags HOT 1
- for each statement not working
- 很久都没发布版本了,希望能加快发布版本的步伐
- generate tag error
- sqlite :String was not recognized as a valid DateTime.
- how can i create temp table in ms-sql
- the newest source code (3.0) cannot build HOT 2
- AllowPartiallyTrustedCallers
- Unable to load embedded resource from assembly "MyBatis.SqlMap.config, MyBatis". HOT 2
- there no ibatis&mybatis for spring.net driver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mybatisnet.