Commit graph

28 commits

Author SHA1 Message Date
Gabor Kovesdan
f31101a8aa - Temporarily disable some constraints 2013-11-07 12:38:57 +00:00
Gabor Kovesdan
bdf0dffb7a - Fixes after MFH 2013-11-06 14:25:23 +00:00
Gabor Kovesdan
916571f780 - Drop table constraints, which do not help too much 2013-08-13 08:46:17 +00:00
Gabor Kovesdan
ec3cf8682b - MFH 2013-07-26 12:58:37 +00:00
Gabor Kovesdan
988c5ce88c - MFH 2013-07-24 19:11:16 +00:00
Gabor Kovesdan
5633c0cd23 - Add constraint for misplaced indexterms in listitems
- Make the constraints write out the primary indexterms so that they can
  be found better
2013-07-24 18:47:43 +00:00
Gabor Kovesdan
99f6fae9f4 - What applies to tables, also applies to informaltables 2013-07-22 16:17:30 +00:00
Gabor Kovesdan
a47579024e - Add constraints for filename vs. package 2013-07-22 15:59:22 +00:00
Gabor Kovesdan
888db9ae19 - MFH 2013-07-11 17:27:09 +00:00
Gabor Kovesdan
b0b78fa4e9 - Indexterms should not be embedded directly into a question or answer
element but into a deeper paragraph, optimally right after the
  referenced word without spaces even [1] but somehow the schema allows
  badly nested indexterms.  Correct such entires in the whole documentation
  set.
- Add constraints to check for invalid indexterm entries.

See also: http://www.sagehill.net/docbookxsl/GenerateIndex.html#Indexterms [1]
2013-07-11 16:34:54 +00:00
Gabor Kovesdan
d31228bd31 - MFH 2013-07-06 15:14:42 +00:00
Gabor Kovesdan
0dcb7a2f33 - Avoid footnotes in tables; it looks strange and is problematic for
some tools. (Either removed if the affected text has been removed
  from the English version or moved into parentheses.)
- Add constaints to avoid programlisting, screen and footnote in tables.
2013-07-06 14:05:02 +00:00
Gabor Kovesdan
57cba96872 - MFH 2013-07-04 19:03:44 +00:00
Gabor Kovesdan
e819151e45 - Fix the cases when the specified column number does not match the real one
- Add a constraint for this
2013-07-03 17:35:46 +00:00
Gabor Kovesdan
fc03eb5c00 - MFH 2013-07-03 10:43:17 +00:00
Gabor Kovesdan
e2e8ddc90e - Add constraint to check the required title element
- Add constraint to check colname and spanname attributes on table entries
2013-07-03 10:17:02 +00:00
Gabor Kovesdan
11421c72e2 - Add a constraint to check the validity of titles 2013-07-02 09:20:09 +00:00
Gabor Kovesdan
6ab2cc267d - Add a Schematron namespace declaration
- Stock DocBook schematron constaints use different Schematron namespace
  so copy-paste them here because they cannot be processed with the
  ISO Schematron stylesheets
2013-06-21 11:40:43 +00:00
Gabor Kovesdan
e8f31bdaa6 - Add namespace to the elements
- Remove backported DB 5.0 constraints since they can now directly be used
2013-06-21 07:27:27 +00:00
Gabor Kovesdan
1ed4fc6cb7 - Backport some constraints from DocBook 5.0; this will help keeping
things consistent and facilitate a future technology upgrade
2013-04-04 12:11:43 +00:00
Gabor Kovesdan
a6684b4306 - Reduce the misuse of role attribute; role="directory" should actually be
class="directory"
- Add constraint to enforce this
2013-04-04 11:40:58 +00:00
Gabor Kovesdan
ffd8fc666f - Allow foreign elements in Schematron
- Add some embedded XSLT to improve the input of validation failures
2013-04-03 10:56:14 +00:00
Gabor Kovesdan
e8e2dfdbab - Do not specify image file extensions in documents; the proper extension
is appended during rendering
- For the same reason, do not specify format either
- Add constraints to enforce this
2013-04-02 09:50:10 +00:00
Gabor Kovesdan
1a1367cdbc - Add constraints for profiling attributes 2013-03-15 08:37:25 +00:00
Gabor Kovesdan
53b00294cd - Fix the last three test cases 2013-03-15 07:47:22 +00:00
Gabor Kovesdan
c5bbd26680 - Do not use line break in assert text since it will also break the text when
printed out
2013-03-15 07:44:31 +00:00
Gabor Kovesdan
f6c79f1bc8 - Change screenco to screen + co since the former is not supported
properly with xsltproc and the latter is simpler
- Add a constraint to prevent using screenco, programlistingco and
  graphicco in the future
- Note that mediaobjectco is used in the documentation to properly
  compose a figure element but the callout bugs are already there
  in the source image and not placed there by the stylesheets
2013-03-14 20:51:01 +00:00
Gabor Kovesdan
44368e5859 - Add support for Schematron validation
- Add a simple Schematron file that validates file references
- Silence the output of validation so that the result be more readable
2013-03-14 10:25:23 +00:00