-
Notifications
You must be signed in to change notification settings - Fork 19
/
ChangeLog
2121 lines (1766 loc) · 84.7 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-------------------------------------------------------------------
Tue Feb 21 11:02:00 UTC 2023 - [email protected]
Beta release DAPS 4.0.beta1:
* New features:
- Support for DocBook assemblies
- DocBook's topic-based authoring approach, the Assemblies
(https://tdg.docbook.org/tdg/5.2/ch06.html) are now supported
by DAPS. IF MAIN in the DC-file is set to an assembly, it
will automatically be recognized as an assembly by DAPS and
be converted to a bigfile that is then processed like a
regular DocBook file.
In case you assembly consists more than one structure, create
a DC-file for each structure and set STRUCTID to the
respective structure ID(s) in the DC file(s).
NOTE: assembly-support in DocBook is still in development.
DAPS requires DocBook 5.2-pre or better!
- Limitations:
File list commands (e.g. list-srcfiles) will not show the
assembly files and included resources, but rather the bigfile.
Images will be correctly listed.
Similar limitations apply to the package-src and locdrop
commands - the packages will contain the bigfile rather
than the original sources.
Correctly supporting these features is planned for future
DAPS releases.
- Custom source directories:
- Previous DAPS versions required sources to be located in
directories xml/ (DocBook) or adoc/ (ASCIIDoc) and
images/src/<IMGFORMAT>. These directories had to be in the
same directory as the respective DC-file.
By setting SRC_DIR and IMG_SRC_DIR you now set custom
directories for xml/adoc sources and images. Placing images
in subdirectories representing their format is also no longer
necessary (but still supported). This allows a much more
flexible directory setup.
Default settings are the ones inherited from DAPS 3.x:
xml/ (DocBook) or adoc/ (ASCIIDoc) and
images/src/<IMGFORMAT> (images).
Values can be set via DC-file (for document-specific settings)
or globally in /etc/daps/config or via the command-line
(daps -d <DC> --imgsrcdir="foo/img" --srcdir="foo")
!! Refer to the documentation for more details
(incl. do's and dont's). !!
- Always rebuild:
- DAPS makes use of Makefiles to make sure only files that
really need to be touched get rebuild. So if you would, for
example build a PDF and then rebuild it again while the
sources have not changed, DAPS would do nothing but displaying
the link of the existing PDF. This considerably speeds up
build times for large projects.
However, it fails to recognize the necessity of a rebuild when
changing stylesheets, or sometimes produces unwanted
results. With DAPS 3.x you could specify daps --force to force
rebuilding everything.
With DAPS 4 rebuilding everything will become the new default.
To restore the old behavior, set ALWAYS_REBUILD=no in
/etc/daps.config (global setting), in ~/.config/daps/dapsrc
(user setting), or in the DC-file (document setting).
- New default spell-checker: hunspell
- Switching from aspell to hunspell as the default spell checker
To restore the old behavior, set SPELL_CHECLKER=aspell in
/etc/daps.config (global setting), in ~/.config/daps/dapsrc
(user setting), or in the DC-file (document setting). You can
specify the spell checker on the command line, see
daps spellcheck help
- PDF file names:
- In DAPS 3.x PDF file names for color PDFs followed the pattern
<NAME>_color.pdf. The string "_color" has been removed from the
filename. Note that graysacle PDFs continue to use the pattern
<NAME>_grayscale.pdf
(https://github.com/openSUSE/daps/issues/665)
- PNG optimization
- In DAPS 3.x, When optimizing PNGs with optipng an exif
comment "optipng" was added to the image. However, when
editing the image afterwards and saving it without
optimization, it would be skipped by subsequent optipng runs,
because the exif information was still there. The following
has been changed:
- exif information is no longer used (also removes dependency
on exiftool)
- with each optipng run, all images are scanned by optipng
using "optipng -o0 -simulate" (which should not introduce
a performance penalty compared to looking up EXIF information
- if the check reveals a requirement for optimization
the image is changed by a second optipng call
- using "optipng -fix" also ensures to fix iCCP warnings
with libpng > 1.6
(https://github.com/openSUSE/daps/issues/513)
- Improved file lists for ASCIIDoc sources
- list-srcfiles on adoc MAINs now also lists docinfo-files
and includes from includes. Conditionals are _not_
evaluated, list-srcfiles will always show _all_ included
adoc files.
(https://github.com/openSUSE/daps/issues/656)
* Bug fixes:
- Added documentation on uppercase and lowercase file extensions
(good: *.png, bad: *.PNG)
(https://github.com/openSUSE/daps/issues/436)
- In case a variable was _initially_ assigned with "+=" (VAR+=value)
rather than with "=" (VAR=value) a space was added in front of
the value.
(https://github.com/openSUSE/daps/issues/650)
* Removed features:
- automatic detection of a single or default DC-file has been
disabled, the DOCCONF_DEFAULT configuration option has been
removed
-------------------------------------------------------------------
Tue Oct 25 13:39:00 UTC 2022 - [email protected]
Stable release DAPS 3.3.2:
* Bug fixes:
- Make DAPS work with libslt > 1.1.34
(https://github.com/openSUSE/daps/issues/679)
- Profiling no longer requires processing instruction
- if DC-file/command line contains profile settings the
profiling stylesheets will autoimatically be applied
(https://github.com/openSUSE/daps/issues/529)
- FOP support for google noto-sans fonts (for Japanese, Korean,
traditional & simplified Chinese)
(https://github.com/openSUSE/daps/issues/684)
- Fix validation error where errors were ignored or failed with a
bash error
(https://github.com/openSUSE/daps/issues/679)
- unpacking locdrops automatically removes dm:editurl from
docmanager XML header (if present)
- Building parts of a document (with --rootid) is no longer
supported when rootid points to a section or sect1 (because
depending on HTML chunkling, this may result in an empty
document)
(https://github.com/openSUSE/daps/issues/686)
* Helper scripts:
- Added a few scripts for handling SUSE localization branches,
improving SEO and migrating frm DocBook4 to DocBook5
- can be found in the sources under contrib/ (not included in
SUSE packages)
-------------------------------------------------------------------
Mon Feb 14 09:00:00 UTC 2022 - [email protected]
Stable release DAPS 3.3.1:
* Bug fixes:
- Added `--not-validate-tables` parameter that disables extended
table validation to additional targets
-------------------------------------------------------------------
Mon Feb 7 19:00:00 UTC 2022 - [email protected]
Stable release DAPS 3.3.0:
* New features:
- DocBook table validation is now enabled by default as part of
validation and building (#532)
- Improved validation to always check XML validity, tables, images,
and IDs, rather than stopping after the first issue occurs
- Set up Poppins font in FOP config delivered with DAPS
* Bug fixes:
- Fixed validation failures occurring because `--verbose` was set
- Fixed xml-wellformedness check to use a non-zero exit code
when entity definitions are missing (#539)
- Improved image check during validation to check within context
of entire set, not just current root ID (#627)
- Fixed output of missing/duplicated image list displayed during
build (#634)
- Fixed paths to entity files in `unpack-locdrop`
- Fixed output of `daps -v` when there is no XSL-FO formatter
installed (#622)
- Fixed `daps spellcheck --help` output
- Improved messages for `unpack-locdrop` and other subcommands
* Removed features:
- Removed unused `process-xrefs` and `checkconformance`
stylesheets (#612)
* Repository changes:
- Integrated Python tooling and tests for `xml-wellformed` and
`getentityname`
-------------------------------------------------------------------
Thu Jun 10 10:00:00 UTC 2021 - [email protected]
Stable release DAPS 3.2.0:
* New features:
- Added config file compatible with xmlformat 1.9 (from
github.com/someth2say/xmlformat)
- Added DocBook table validation script (must be run manually
currently)
* Bug fixes:
- Properly enabled `--validate-ids` and `--validate-images`
validation options
- For consistency/compatibility, output PDFNAME deprecation
message to stderr
- In AsciiDoc postprocess stylesheet, fixed handling of
subtitles
- Removed remaining references to Ghostscript (#614)
* Removed features:
- Remove `html --jsp` target that was unused for years (#609)
- Removed the `online-docs` target and associated DocBook 5-to-4
conversion stylesheets (#610)
- Removed code to query SVN properties that was unused for years
(#611)
-------------------------------------------------------------------
Fri May 21 15:00:00 UTC 2021 - [email protected]
Stable release DAPS 3.1.2:
* Bug fixes:
- Fixed issue where irrelevant XIncludes would cause validation
errors (#617)
* Documentation:
- Updated installation documentation
-------------------------------------------------------------------
Tue May 12 12:00:00 UTC 2021 - [email protected]
Stable release DAPS 3.1.1:
* Bug fixes:
- Removed error messages that appeared during command-line
completion
* Packaging changes:
- Updated Spec file from OBS repo
-------------------------------------------------------------------
Tue May 11 13:37:00 UTC 2021 - [email protected]
Stable release DAPS 3.1.0:
* New features:
- Allow converting AsciiDoc books with multiple parts into a
DocBook set (`--adocset`/`ADOC_SET="yes"`)
- Remove `dm:docmanager` during `unpack-lockdrop` when
`--remove-dm` is used
- Added support for DITAA diagrams as an image format (must be
added as an external file) (#540)
- Allow using `{daps-adoc-attribute}` from AsciiDoc sources to
add a list of all AsciiDoc attributes used by DAPS to the
output (#573)
- Added `daps validate` options `--validate-ids` (checks
whether IDs match a basic SEO-compatible set of characters) and
`--validate-images` (checks for missing and duplicated images)
- Renamed `daps checklink` to `daps linkcheck` for consistency
with `daps spellcheck` and `daps stylecheck`
- Renamed `PDFNAME` to `OUTPUTNAME` DC file option to clarify
its purpose
* Removed features:
- Removed support for the Xfig (`.fig`), PDF, and EPS image
formats
- Removed support for the `asciidoc` tool, DAPS now only supports
AsciiDoctor
- Removed support for `--xsltparam` which has been replaced by
`--stringparam`
- Removed `--css=none` option of `daps epub`
- Removed `daps-auto.pl` which has been replaced by
`daps-autobuild`
- Removed all support for Python 2 dependencies
* Bug fixes:
- When AsciiDoctor outputs a warning, DAPS will now fail,
avoiding XML issues that would crop up later (this only works
if AsciiDoctor >= 1.5.7 is used)
- Find unresolvable AsciiDoc attribute references (such as
`{reference}`) and error out rather than adding them to the
output
- When converting AsciiDoc, always unset the `imagesdir`
attribute, so DAPS can mandate its own `images` directory
- On successive DAPS runs, always convert AsciiDoc files to XML
again
- Improved default IDs generated by AsciiDoctor, to avoid leading
underscores in IDs (#520)
- Improved AsciiDoc `postprocess.xsl` clean-up stylesheet:
- Rewrite `@contentwidth` to `@width`
- Improved display of article titles
- Fixed validation of generated abstract elements
- Improved workarounds for `authorinitials`, `othername`,
`lineage`
- Output AsciiDoc `<<reference, title>>` construct as
`title (<xref linkend="reference"/>)` (same for links)
- Improved handling of slightly misused AsciiDoc block/
example syntax that was previously converted to
GeekoDoc-incompatible `formalpara` elements
- Fixed updating of profiled files when an entity or the DC
file of the source has changed
- Only use AsciiDoctor's `--failure-level` if the version of
AsciiDoctor is new enough to support it
- Allowed use of AsciiDoc attributes defined on command line
and in DC file at the same time
- Made DAPS's default set of AsciiDoc attributes overridable
- Internally handle `--param` the same as `--stringparam` (#589)
- Made sure that both `index.html` and `[ROOTID].html` are
generated during HTML builds
- Reworked `getentityname.py` (#556)
- Restored compatibility with Novdoc profiling stylesheet
references
- Avoid stumbling over empty hrefs in XIncludes during validation
- Fixed issue where DC file parser would concatenate rather
than overwrite values
- Fixed issue where DC file parser would not correctly recognize
last line of a DC file if it did not end in a newline character
(#553)
- Fixed issue where default entities like `—` could not
be found
- Fixed `unpack-locdrop` runs that failed because file lists
contained spaces rather than line breaks
- Use `PROFOS` value during `locdrop`
- Fixed `daps html --nostatic` build failure resulting from
identical files error
- Fixed GNU Make 4.3 `+=` operator compatibility
(obsoletes patch daps-gnu-make-4.3.patch for SUSE rpm builds)
- Added compatibility with Inkscape 1.0 command-line options
- Set initial memory for FOP
- Fixed path to Avalon Framework (bsc#1175214)
- Fixed LibreOffice Draw executable name for Debian (#564)
- Improved error message when MAIN file is missing (#494)
- Improved error message displayed when ROOTID does not exist in
the document (#546)
- Show FOP warnings when running with `-vv` or higher verbosity
- Suppressed error messages about missing `xml:base` during
`daps linkcheck` (#558)
- Improved message output of `daps-xmlwellformed`
- Improved Git updating flow in `daps-autobuild`
* Documentation:
- Added man pages for `daps-xmlformat` and `daps-check-deps`
(#491)
- Added documentation for generating a DocBook set from an
AsciiDoc book
- Fixed typos and other minor issues throughout the documentation
* Packaging changes:
- Only require LibreOffice Draw when building on Arm and x86
architectures but not on IBM Power/IBM Z
- Cleaned up TAR archives generated by GitHub (#489)
- Removed dependency on `xml-commons-jaxp-1.3-apis`, use generic
`xml-apis`
- Do not make libexec XSL files executable (#492)
-------------------------------------------------------------------
Tue Nov 06 10:50:26 UTC 2018 - [email protected]
Stable release DAPS 3.0.0:
* New Features:
- added support for ASCIIDOC sources
- added support for LibreOffice Draw images (*.odg)
- added support for specifying a config file on the command line
(with --config)
- added SVG support for HTML builds
- integrated hunspell and make aspell optional
- initial well-formedness check ignores duplicated IDs (this
allows to have identical IDs in parts that get profiled)
- initial well-formedness warns about missing xi:include files
- daps-autobuild now supports building single books (via the
--dcfiles option)
- DAPS prgram name and version are passed to stylesheets with
xslt parameters "converter.name" and "converter.version"
- implement file not found for XIncludes
- FOP and XEP version numbers are shown in debug/verbose output
- various improvements for the DocBook to NovDoc conversion
- split lib/daps_functions into several files to improve speed
and maintainability
* Bugfixes:
- #476: DAPS generates ODG->SVG files into images/src
- #475: Tab completion creates error
- #474: Potentially wrong variable assignment
- #437: lodraw tries to convert empty SVG
- #469: RPMLINT complains about permissions of XSLT stylesheet
- #468: xmlwellformed script creates RPMLINT warning
- #466: Build issues with daps-xmlwellformed
- #464: xmlformat incorrectly formats variablelist terms
- #462: Implement file not found for XIncludes
- #459: By default, use the xep-daps.xml configuration from
stylesheets
- #457: Ship the asciidoc postprocessing stylesheet
- #455: Transform glosslist into variablelist (NovDoc conversion)
- #453: Cleanup stylesheet for results from ASCIIDoctor
- #452: Make it possible to specify the ASCIIDOC doc type
- #439: Make xmlformat more verbose in debug mode
- #435: require java-devel >= 1.8.0
- #425: Well-formedness check fails with double occurrences
of xml:ids
- #424: Fix XML catalog generation
- #422: Integrate hunspell and make aspell optional
- #421: Show FOP and XEP version in debug/verbose output
- #419: HTML and PDF builds need different paths for Admonition
and Callout Images
- #416: DAPS Won't Built With UTF-8 Characters in XML Filenames
- #415: Add support for LibreOffice Draw files
- #397: Spaces in path problem
- #322: Add documentation for --xmlonly / --imgonly switches
for the list-srcfiles subcommand
- #226: Let stylesheets know which version of DAPS calls them
- #119: daps-init: also include example for set
- show a warning when an existing PDF has a size of 0 bytes
(usually the result of a failed FOP build)
- PDF fails when static links in build/.tmp already exist
- fixed DocBook identifiers in configure.ac
- made unpack-lopcdrop more robust against non-critical issues;
improved its debugging output
* Documentation:
-new guide: ASCIIDOC Quick Start
- Various updates to reflect changes in the code
- Improve help text for daps-xslt
- Improve error message for IDs defined multiple times
* Removed support for:
- sourcing DC-files
- help texts for deprecated daps 1.x commands
* Misc:
- converted Python scripts to Python 3; changed build
dependencies to python3
-------------------------------------------------------------------
Tue May 30 12:32:26 UTC 2017 - [email protected]
Stable release DAPS 2.4.0:
* New Features:
- added a dependency checker for DAPS (/usr/bin/daps-check-deps)
that makes it easy to check for missing programs/packages
- added a "--lean" parameter to PDF generation for creating PDFs
with a reduced file size (by reducing the quality of included
images); useful for sharing PDFs via e-mail
- added a srylesheet for returning all IDs from an XML file
(daps-xslt/common/get-all-xmlids.xsl)
* Bugfixes:
- #408: The list-file-* commands now work with ROOTIDs from all
possible elements
- #390: When an ID appears twice in the XML and this ID is used
with --rootid, DAPS's error message is unhelpful
- #365: Improved error messages on "File not found" errors
(now tells whether the path was provided by command-line
or config file)
- #371: Make path to the xmlformat config file configurable
- #372: Adjusted debian dependency list
- #373: Check unpack-locdrop
- #379: Output error of list-images-multisrc with
pretty | wc option
- #380: Proper error messages when binaries/packages are missing
- #392: daps-xmlformat writes name of config file into output
- SVGs were not included in ePUBs
(https://bugzilla.suse.com/show_bug.cgi?id=1006204)
- Setting a default value for db5_version in configure.ac
otherwise the DB5 URN in etc/config will be set to an invalid
value if DB5 is not installed when running make
- fixed a few minor issues with the config file parser that was
introduced with 2.3.0 (among them #387)
- Increased Java stacksize for jing
- Improved the DocBook5 -> DocBook 4 (-> NovDoc) conversion
- compatibility: Debian's version of "which" does not support
long parameters
* Documentation:
- Various updates to reflect changes in the code
- #345: added documentatioon for the xmlformat subcommand
- #362: added documentation for the --jobs option
- #363: added documentation about building a bigfile from
invalid sources
- #364: added documentation for the --norefchecks option
- #403: improved documentation about stylesheet customizing
(also see #407)
- #404: clarify doc about listing unused images
- completely revised the doc (spelling, language and grammar)
- doc is not yet 100% on par with the code, but we are getting
closer
* Compatibility:
- successfully tested DAPS on Linux Mint 18.1
-------------------------------------------------------------------
Fri Aug 04 12:36:01 UTC 2016 - [email protected]
Stable release DAPS 2.3.0:
* New Features:
- Config File Parser:
Up to now, config files (DC-files, /tec/daps/config and
~/.config/daps/dapsrc) have been sourced. This has been a major
security issue, since every shell code gets executed when a file
is being sourced. DAPS 2.3.0 now comes with a parser that fixes
this security hole. Apart from one exception (see below) existing
config files do _not_ need to be changed. However, the parser
offers more flexibility, see
https://github.com/openSUSE/daps/blob/develop/etc/config.in
for documentation (the manuals has not been upfdated, yet).
The only exception that requires changes in the config file is
something like FOO="$FOO bar" To concatenate values, use "+="
now. See the following commit for an example:
https://github.com/openSUSE/daps/commit/7a2ce04
- Bash Completion:
TAB-completion for DAPS has been one of the very first feature
requests we opened (almost five years ago). Now we finally
managed to conquer the black Bash magic required to get it!
- Automatically detect the DocBook 5 version: If you have
DocBook 5.1 installed, docbookxi.rng from 5.1 will
automatically be used as the validating schema for DocBook 5
documents. If you rather want to use the 5.0 schema
or a custom schema, set DOCBOOK5_RNG_URI accordingly in
/etc/daps/config (for a system wide configuration), in
$HOME/.config/daps/dapsrc (for a user specific configuration),
or in the DC-file (for a document-specific configuration)
* Bugfixes:
- subcommand "locdrop" failed when the book did not include
images
- spellcheck now ignores text in <replaceable> tags
- obsolete daps-susespell has been removed (replaced by
daps ... spellcheck long ago)
- paths starting with "~" were not always correctly resolved
- several fixes for ePUB, among them a fix that now correctly
chooses mediaobject entries with role="html" rather than
choosing the first one listed ion the XML source
- #10 : Generate TAB completion
- #359: Drop bash 3 suppor
- #369: Code review: Check Variable Assignments
- #375: Issues with the xmlformat target
-------------------------------------------------------------------
Wed Jun 15 11:58:00 UTC 2016 - [email protected]
Stable release DAPS 2.2.0:
* New Features:
- new subcommand "xmlformat" prettyfies the XML sources of a
given DC-file or ROOTID using daps-xmlformat with
/etc/daps/docbook-xmlformat.conf.
(Note: this command will modify the original XML sources!)
- SVG image support for HTML builds. To use it, make sure to
provide the images in SVG format and reference to them as follows:
<imageobject role="html">
<imagedata fileref="<SVG-FILE>">
</imageobject>
- the new global switch --jobs lets you specify how many parallel
jobs to use. The default is set to the number of CPU cores (as was
done in previous versions).
- all commands generating file lists (e.g. "list-srcfiles") now
generate human readable output on STDOUT. When the output goes
to a pipe or subshell, it will be generated as a a one-liner.
- Debugging of XML errors has been made easier. Sometimes the error
message of the validator only points to an xi:include line, making
it impossible to find the real location of the error. The option
--novalid for the target "bigfile" will create the bigfile
without performing a validation check on the sources. A single XML
will be built and validated. Now the error message points to the
exact location of the error in the bigfile. From there it should be
easy to find the error in the original sources.
- Verbose and debugging output now also show all profiling
attributes set in the DC-file, plus version information for
the sytlesheets (if available)
- added the option --norefchecks to all output-generating targets
("html", "pdf", ...), "validate", "bigfile" and others. Allows
to build/validate documents without checking internal links
(<... linkend="<ID>">).
- subcommand "online-docs" now always converts the bigfile that is
created to NovDoc. To keep the same format as the original
sources, specify --dbnoconv. To create a DocBook4 bigfile from
DocBook5 sources, specify --db5todb4.
* Bugfixes:
- #368: db4tonovdoc.xsl generates invalid NovDoc
- #367: daps does not validate fop output
- #366: Spellcheck trying to check the files "Cannot", "stat:", "No",
"such", "file" ...
- #364: DocBook5: Allow validating without checking xrefs
- #363: Allow building a bigfile from invalid sources
- #362: Make the number of parallel jobs configurable
- #361: Externel xrefs are resolved to "????"
- #360: Check Rootid fails on Debian 8.4.0
- #356: file list output should default to pretty format
- #354: Validate the result of online docs when it has been
converted from DB5 to DB4 or novdoc
- #353: Make db5 to db4 conversion default for online-docs
- #351, #348, #342, #282: Fixes for the daps spec-file
- #346: daps-xmlformat writes its messages into the output
- #343: daps-init warning messages
- #340: ePUB builds always show remarks
- #335: on Debian, make install creates incorrect group in
/etc/xml/config
- #330: Enable SVG2Grayscale stylesheet to handle new color
names
- #305: locdrop produces no "non-trans" image tarball for a
complete set
- #301: SVG to PNG conversion creates very large PNGs
- #289: Verbose / Debugging Output Should Show Profiling
Attributes
- #251: Write XSLT to Return xml-model PI
- #226: Let stylesheets know which version of DAPS calls them
- subcommand "clean-all" fails if run from within a directory
that will be removed with that command
- daps fails when called from a directory that no longer exists
* Cross-Distribution Support
- first release with full Debian/Ubuntu support--manual
adjustments after the installation are no longer needed
(was required in previous releases for DocBook5 support).
Many thanks to Tomáš Bažant and Christoph Berg for their help!
- GitHub checkouts now also work for Fedora/RedHat and
Debian/Ubuntu--refer to
https://github.com/openSUSE/daps/blob/develop/INSTALL.adoc
for details
- tested on Debian 8.5.0 / Fedora 23 / openSUSE 13.2 and
Leap 42.1 / SUSE Linux Enterprise 12 / Ubuntu 16.0
* Misc:
- removed "daps-envconvert", a script for converting susedoc
ENV-files to DAPS DC-files. susedoc was the predecessor of
DAPS.
* Documentation:
- the documentation has _not_ been updated for this release, so
new features mentioned above are not yet covered
-------------------------------------------------------------------
Mon Dec 07 14:43:47 UTC 2015 - [email protected]
Stable release DAPS 2.1.5:
* New Features:
- parameters for text generation can be set in the config files
via TXT_PARAMS or via --param/--stringparam on the command line
- a change introduced in 2.0 made using the original DocBook
stylesheets for text generation the default. Since this behavior
is confusing and unexpected, it is reverted with this change:
* the stylesheets configured via STYLEROOT or --styleroot are
used by default for text generation
* to ignore _any_ STYLEROOT definitions, set
TXT_IGNORE_STYLEROOT="yes" in the config files or use
--ignore-styleroot on the command line
(daps -d <DC> text --ignore-styleroot)
* Bugfixes:
- Fix for issue #294: xmlcatalog returns file:<PATH> rather than
file://<PATH> on Debian Jessie and openSUSE Tumbleweed and
caused DAPS to fail with DB5 sources
* Misc
- added basic debugging output to test suite (--debug)
-------------------------------------------------------------------
Tue Dec 02 13:01:00 UTC 2015 - [email protected]
Stable release DAPS 2.1.4:
Find issues in our GitHub tracker at
https://github.com/openSUSE/daps/issues/NUMBER
* Bugfixes:
- Target text shows remarks (issue #293)
- DAPS checklink doesn't work (issue #296)
- ASPELL_EXTRA_DICT from ~/.config/daps/dapsrc is ignored
(issue #297)
- DAPS package includes SUSE wordlist (issue #298)
- Parameter passed with --param is ignored with subcommand "text"
(issue #299)
- Target locdrop does not generate
graphics-setfiles-$(DOCNAME)$(LANGSTRING).tar.bz2 (issue #302)
- Translation check for locdrop (issue #306)
- Add --optipng to unpack-locdrop (issue #307)
- Add --xmlonly / --imgonly switches to list-srcfiles (issue #310)
- bigfile creates unresolved xrefs for DocBook5 (issue #314)
- Improve DocBook5 -> DocBook4 -> Novdoc Stylesheets (issue #311)
- Enhancements in user guide, thanks to Martin Koeditz (issue #315)
- FO contains wrong image paths when XML contains no profiling PI
(issue #316)
- DB-4-to-5 migration: missing book
titles/productnames/productnumbers (issue #319)
* New Features:
- Option --schema lets you specify an URN to a DocBook 5 schema that
is to be used for validation. Will be ignored when validating
Docbbok4 documents.
- DOCBOOK5_STYLE_URI, DOCBOOK5_STYLE_URI, and DOCBOOK4_STYLE_URI
may now also point to a local file. If the URN begins with the
prefix "file://", it will not be resolved via xmlcatalog, but
rather taken as is (minus "file://").
- Add conversion options to online-docs:
. --db5todb4: converts DocBook 5 sources to a DocBook 4 bigfile
. --db5todb4nh: converts DocBook 5 sources to a DocBook 4 bigfile
without a DOCTYPE declaration
. --dbtonovdoc: converts DocBook 4/5 to Novdoc
* Misc:
- Do not set -nocs, hurts us when building Arabic
(related: issue #108)
- Avoid adding version attribute on all elements (commit 3a273d5)
-------------------------------------------------------------------
Tue Sep 22 11:28:03 UTC 2015 - [email protected]
Stable release DAPS 2.1.3:
* Bugfixes:
- Fix for issue #284 (spellcheck / getimages use wrong filelist
when called with --debug
- "--param" and "--stringparam" were missing for the subcommands
package-pdf and package-html
- all warning messages now go to STDERR, making it possible to
always catch the output of a DAPS command with FOO="$(daps...)
* Misc:
- added a wrapper for jing allowing to customize java flags,
jars, and options
- standardized customising options for all java programs (fop,
jing, xep)
-------------------------------------------------------------------
Tue Aug 4 09:28:03 UTC 2015 - [email protected]
Stable release DAPS 2.1.2:
* Bugfixes:
- man page for daps-init was named daps_init
* Misc:
- renamed daps_autobuild to daps-autobuild for consistency
-------------------------------------------------------------------
Fri Jul 10 07:47:38 UTC 2015 - [email protected]
Stable release DAPS 2.1.1:
* Bugfixes:
- Fix for issue #274 (PDF Index Building Fails Because of Empty
Profiling Directory)
- fix for issue #275 (Avoid Same Target Names in Different
Makefiles)
- fix for issue #276 (PROFILE_URN Detection Depends on Position of PI
in Document)
- fix for issue #277 (Debugging Targets Fail when xml:lang is
not set)
- fix for issue #278 (Avoid Using "LANGUAGE" as a Variable Name)
- fix for issue #280 (Webhelp: Common/ Directory Contains Dead
Symbolic Links)
* New Features:
- added support for profiling attribute "outputformat" by
intrducing PROFOUTPUTFORMAT (issue #279)
* Miscellaneous:
- replaced Chinese font "FZSongTi" with "wqy-microhei" in the
default config file for XEP
(XEP_CONFIG_FILE=etc/xep/xep-daps.xml)
-------------------------------------------------------------------
Thu Jul 02 14:38:11 UTC 2015 - [email protected]
Stable release DAPS 2.1:
- added support for webhelp
Please note the following when using the DocBook webhelp
stylesheets:
* building with ROOTID should be avoided (does not generate
sidebar)
* building webhelp is slow, speed up by adjusting the chunk size,
recommended parameters are
"chunk.fast 1" and "chunk.section.depth 0"
- added support for <xi:include ... parse="text"> (issue #71)
- handling of passing XSLT parameters on the command line has been
improved (issue #263), use
* --param "KEY=VALUE" and --stringparam "KEY=VALUE"
* use of --xsltparam still supported for compatibility reasons, but
should be avoided; support will be removed in future versions
* each parameter can be specified multiple times
* bopth parameters are supported for the following subcommands:
epub, html, man, pdf, text, webhelp
* changes only apply to the command-line - settings in the DC-file
still need to be done with XSLTPARAM as before
- improved handling of documents that do not need to be profiled
- daps_autobuild: changed the order of builds to increase performance
- Bugfix package-src: removed extraneous text
- Bugfix daps_autobuild: in case no rebuild was necessary, rsync
deleted the previous results
- Bugfix DB4 -> DB5 migration: Fixed various issues in the migration
stylesheet
-------------------------------------------------------------------
Fri Jun 19 09:21:31 UTC 2015 - [email protected]
Stable release DAPS 2.0:
- supporting rng _and_ rnc schemas for validation with jing
- added a --debug switch and error reporting to daps_autobuild
- moved a --meta related warning so it does not get displayed
when running a *-name subcommand
- fixed a quoting issue in daps-migrate and daps_functions
- fixed an error in the DB4->DB5 migration stylesheet (formatting
was lost on <term> tags)
-------------------------------------------------------------------
Tue Jun 10 13:50:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc7
- replaced daps-auto.pl with daps_autobuild
* uses an XML file as a config file (can be validated with
schema that is also provided)
* supports git _and_ svn repos
- DB5 fix for target productinfo
- locdrop target can now read information about translated files
from in-file tag provided by docmanager
- fixed two issues in the unpack-locdrop target
- fixed stylesheet issues when using saxon as a parser
- Added missing dependency on $(RESULT_DIR) for epub
- bash code cleanup
- Changed default DB5 schema from docbook.rng to docbookxi.rng
(supports xi:includes)
- Documentation: now covers all 2.0 changes
-------------------------------------------------------------------
Tue Apr 27 16:26:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc6
* Bugfix: Due to an error in Makefile.am, the contents of
daps_xslt/relnotes were installed to daps_xslt/xhtml and
vice versa.
-------------------------------------------------------------------
Tue Apr 21 12:58:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc5
- various fixes for ePUB:
-ePUB 2 builds without warnings/errors in epubcheck
-ePUB3 shows a few warnings/errors in epubcheck resulting from
errors in the stylesheets
-make sure ePUB gets a correct date format (YYYY-MM-DD)
- stylesheets for mallard and desktop file generation can now handle
DocBook 5
- fixed for PDF: callout graphics were not shown when using the
DocBook stylesheets
- adjusted the test suite; made sure all tests are passed
- man pages for daps-init, daps-susespell and daps-envconvert will
now be correctly installed
- added various XSLT parameters to the documentation's DC-files to
make them look better when build with the upstream stylesheets
-------------------------------------------------------------------
Tue Apr 14 14:26:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc4
- various fixes for the man pages
- improved the make code
-------------------------------------------------------------------
Mon Apr 13 11:00:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc3
- Full support for DocBook 5 now (finally)
- Moved DAPS user config directory to ~/.config/daps/. The config file
has been renamed to dapsrc (the user will be notified and DAPS will
automatically do the move if the user agrees)
- all of DocBook's profiling attributes are no supported
- Various build fixes to make it work on Debian Wheezy, Fedora 20/21
openSUSE 13.x, SLE 12, and Ubuntu 14.10
- tested DAPS on Debian Wheezy, Fedora 20/21 and Ubuntu 14.10
- Added script and stylesheets to migrate DocBook4 projects to
DocBook 5 (libexec/daps-migrate)
- various fixes and improvements for bin/daps-init
- Added support for local static/ directories
- Established new locdrop workflow
- Fixed daps-init
- strings passed with --xsltparam no longer need to be uoted with double
and single quotes--only use double quotes now
- Definied DAPS version for major, minor, and micro (configure.ac)
. Introduced daps_version_{major,minor,micro} substitutions
. Corrected URL from SourceForge to GitHub
. Used DAPS version in AC_MSG_NOTICE
- Unified copyright statements
- Let configure change the Version in entity-decl.ent
- Created DOCTYPE and PI node manually for daps-xslt/profiling/
stylesheets
- Added more testcases, fixed erfrors in test cases
- Significant documentation updates for version 2.0
- version string in manuals and man pages is now automatically set by
configure/make
- provided useful READMEs in ASCII Doc format
- Support for both, /usr/bin/xml (SUSE) and /usr/bin/xmlstarlet (Ubuntu)
Bug fixes:
- issue#151: Detect DocBook XSL Stylesheet Version in daps
- issue#157: Add option for optimising PNG files for targets locdrop and
package-src
- issue#223: Paths starting with ~ are now correctly resolved
- issue#227: Made --static for HTML builds the default
- issue#230: Moved DAPS config to ~/.config/daps/
- issue#249: Added support for all missing profiling attributes supported
by DocBook
- issue#250: building Japanese text format requires external LANG
setting
- issue#253: Implement Migration Stylesheets from DocBook 4 <-> DocBook 5
- issue#260: Removed project-web directory (moved into gh-pages branch)
- check for embedded fonts in PDF now works correctly
- ASPELL_LANG no longer gets overwritten with value from XML document if
set in config or on the command line
- package-html no longer fails when called with --draft
- DocBook5 validation now works correctly
- epub is now correctly generated (STYLEIMG was not always set)
- existing man page builds were duplicated rather than overwritten
Project:
- project moved to GitHub
- Moved all stylesheet related files to github://openSUSE/suse-xsl
- obsolete docmanager code has been removed from the repository
- source clean-up
- source changes are tested with Travis
TODOs:
- test DocBook 5 with the latest DAPS develop version
- review DAPS documentation
- check existing test cases, add test cases for DocBook5
- add tests to Travis integration service
- Integrate manpage fixes from feature branch
- Integrate make improvements from feature branch
-------------------------------------------------------------------
Thu Aug 14 11:09:36 UTC 2014 - [email protected]
New release DAPS 2.0~rc2
- EPUB 3 builds now succeed
- Mobipocket builds succeed again
- "static" directories are now expected to be located within
specific subfolders of the chosen style root
- EPUB now supports "static" folders
-------------------------------------------------------------------
Fri Aug 1 11:56:05 UTC 2014 - [email protected]
- Changing the version number from "RC1" to "rc1" because the
uppercase form is considered to be older than the previous release
"beta8". No code change.
-------------------------------------------------------------------
Wed Jul 30 08:27:09 UTC 2014 - [email protected]
New release DAPS 2.0~RC1:
- Language string in resulting filenames is no longer transformed to
lowercase but taken as specified in MAIN (needed for Release Notes)
-------------------------------------------------------------------
Wed Jul 23 14:59:13 UTC 2014 - [email protected]
New release DAPS 2.0~beta8:
- Added two stylesheets to daps-xslt/relnotes needed to build
release-notes
-------------------------------------------------------------------
Thu Jun 26 15:31:56 UTC 2014 - [email protected]
New release DAPS 2.0~beta7:
- Reverted the change that was introduced with beta6, since
the libxml2-2 patches have been removed - they broke too many
applications
- apart from a minor change in the automake setup this release is
identical to beta5
-------------------------------------------------------------------
Wed May 21 14:36:57 UTC 2014 - [email protected]
New release DAPS 2.0~beta6:
- Fixed fatal error:
an update of libxml2 changed the behaviour of xmllint's
entity handling which made it necessary to add --noent
to the xmllint calls that check whether the sources are
well-formed
-------------------------------------------------------------------
Wed Apr 23 15:31:09 UTC 2014 - [email protected]
New release DAPS 2.0~beta5:
- fully supporting the suse-doc-style-checker (target stylecheck)
- fix for "online-docs": only tar'ing png and jpg if respective
images are available