-
Notifications
You must be signed in to change notification settings - Fork 1
/
Changes
640 lines (382 loc) · 14.6 KB
/
Changes
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
Revision history for perl module Text::Amuse::Compile
1.90 2024-06-03
- Correct komascript setup for multiparagraph footnotes
1.89 2024-04-01
- Add a timeout to latex/xindy run
1.88 2023-07-11
- Improve bidi support (use the better switches for babel)
1.87 2022-08-21
- Support #colophon header in the output formats
1.86 2022-05-10
- New option: body_only
1.85 2022-03-31
- EXPERIMENTAL feature: support different volumes in the same PDF
- Support \addcontentsline in the magic comments
1.84 2022-03-29
- EXPERIMENTAL feature: Support <ruby>lower|upper</ruby>
1.83 2022-02-26
- Add option to set the paragraph indentation
1.82 2022-02-13
- Disable the babel shorthands
1.81 2022-02-13
- Fix failing tests for Windows
1.80 2022-02-12
- Extend support for languages with language-specific fonts
- Use babel instead of polyglossia
1.67 2021-12-30
- Preliminary support for Chinese (without font selection)
1.66 2021-12-08
- Replace IO::Pipe with IPC::Run
1.65 2021-11-04
- Add linespacing template option
1.64 2021-06-11
- Add new template options geometry_outer_margin and
geometry_top_margin
1.63 2021-06-10
- On failure, store the reason in the status file
1.62 2021-04-13
- Fix missing file in MANIFEST
1.61 2021-04-11
- Improve CSS for HTML on screen
- Add support for Greek script
- Add new magic comment syntax for all formats (:*: or :ALL:)
1.60 2021-02-06
- Remove the old webfonts handling.
- Store in the EPUB all the needed fonts, not only the main one
- Support muse inline tags <sc> and <sf> in CSS
1.52 2021-01-14
- Support \looseness in TeX magic comments
- Add --sl-pdf switch to muse-compile.pl (alias for --slides)
- Add warning if fontspec couldn't be loaded
1.51 2020-09-19
- Fix interaction between headings and indexes
1.50 2020-07-30
- Support file inclusion from a list (searched in a list of explicit
paths)
1.46 2020-06-16
- Improve performance of LaTeX indexing. This is still experimental
but stabilizing (testing against a real-life book)
1.45 2020-06-15
- Secondary footnote: move back the loading of the bigfoot package to
the template. If you use custom templates and secondary footnotes, you
need to update it loading the bigfoot or manyfoot
1.44 2020-06-14
- Extend the range of permitted commands in the magic comments
1.43 2020-06-12
- Fix bug in handling xindy failure
1.42 2020-06-01
- Remove special case for macedonian (expecting recent texlive for
this language).
1.41 2020-05-21
- Fix tests on Windows
1.40 2020-05-19
- Add Ligatures=TeX to fontspec (which appears to be missing lately)
- Add EXPERIMENTAL LaTeX indexing
1.35 2020-04-02
- Refine tables CSS
1.34 2020-03-01
- Do not load LaTeX bigfoot if not needed
1.33 2019-11-29
- Fix muse-compile --output-templates option
1.32 2019-11-27
- Minor CSS change for right and center environments
1.31 2019-07-30
- Permit loading of format-specific templates from the template
directory if prefixed by the format ID.
1.30 2019-05-11
- Extend magic comments with more commands
1.29 2019-03-31
- Fix tests for Win32 (again)
1.28 2019-03-28
- Extend the magic comments (still experimental)
1.27 2018-01-08
- Fix crash on conflicting options continuefootnotes and nocoverpage
- Permit empty format_id and treat as DEFAULT
- Set "overflow: auto" CSS property on "pre" elements for standalone
HTMLs (thanks to @link2xt)
1.26 2018-11-04
- Remove Crimson Text from the default font list
- Improve the font importer
1.25 2018-11-03
- Fix tests (hopefully) for windows
1.24 2018-11-01
- New heading style: part_chapter
- New option: typearea dimensions
- New options: tex_tolerance, tex_emergencystretch, fussy_last_word, ignore_cover
- New experimental feature: magic comments (not documented)
- New option: format_id, to be passed down to the template.
- Refactor the LaTeX fontspec loading using filenames when possible.
1.23 2018-09-22
- Report overfull boxes
1.22 2018-09-09
- Support directives: publisher, isbn, rights, seriesname,
seriesnumber for all the output formats.
1.21 2018-07-29
- Add RTL support for slides
1.20 2018-07-26
- Introduce experimental RTL/LTR support
1.06 2018-07-18
- HTML: respect centerchapter and centersection
1.05 2018-07-17
- New options: continuefootnotes, centerchapter, centersection
- Remove tags from HTML title in standalone HTML
- CSS adjustment for floats and captions
1.04 2018-03-31
- Handle the new way Text::Amuse encodes the non-breaking space
1.03 2018-03-27
- Add a helpful error message when bigfoot doesn't have the fragile
option (needed by the template)
1.02 2018-03-26
- Normalize the footnotes (make them similar to the standard class)
- Properly decode the latex output
1.01 2018-01-28
- Bump Text::Amuse dependency
- Ajust EPUB's HTML
1.00 2017-12-29
- Add start_with_empty_page option
0.99 2017-12-15
- Add nobold option to disable bold typeface in PDFs
0.98 2017-12-10
- Support for secondary footnotes (and option for styling)
0.97 2017-10-26
- At the CLI, do not validate the font names (just warn)
- Added support for a new bunch of fonts
- Added boolean option impressum, to turn the #notes into an impressum
- Added sansfontsections option to restore komascript default layout
with sans fonts on section headers
0.96 2017-09-30
- Font importing improvement
0.95 2017-08-20
- Improved style for HTML and EPUB
0.94 2017-08-18
- Use relative font size in CSSs (thanks to @labdsf)
0.93 2017-07-29
- Updated default font list
- Added option --coverpage-only-if-toc to restore the conditional
nocoverpage
0.92 2017-06-06
- Replace enumerate package with enumitem (more flexible)
- Support #nocoverpage both in options and in file header
0.91 2017-05-11
- Make \sout (strike) really robust and survive hyperref
0.90 2017-04-07
- Obey #notoc for HTML as well
0.89 2017-04-06
- Obey #notoc if set in the header
- Always obey #nocoverpage (both in header or in option)
0.88 2017-04-04
- Fix handling of internal linking in epub and bump Text::Amuse
version
0.87 2016-11-11
- Store metadata in the PDF (both plain and imposed)
0.86 2016-10-22
- Do not use $_ when reading files and pipes.
0.85 2016-10-18
- Improved fontspec.json creator
0.84 2016-10-18
- Support consistent font selection across all the formats.
0.83 2016-10-18
- Fixed font validation (it was too strict, preventing sans or mono
fonts to be used as main font).
0.82 2016-10-16
- New options: epub_embed_fonts (defaults to true)
0.81 2016-10-15
- Fixed tests for case insensitive file systems
0.80 2016-10-14
- New way to select the fonts. To activate it, you need to pass
fontspec to the constructor (or to the script).
0.74 2016-09-30
- In merged files, do not display the title on a page on itself if
there is no sectioning. This way the output when collecting
articles is much better.
0.73 2016-09-02
- Embed authors and topics in the EPUB under the relevant fields
0.72 2016-07-21
- Permit font dimensions from 9 to 14 (and stop people complaining
about fonts being too small)
0.71 2016-07-19
- Assert we can compile texts with multiline footnotes in the title names
0.70 2016-07-13
- Add support for internal linking in epub, partials and merged files.
0.65 2016-06-28
- Fix an infinite loop which is triggered when Text::Amuse spits warnings and the logger
calls warn().
0.64 2016-06-20
- Try to always keep the cover image on the first page, enforcing the height to
0.5 of the text height (and keeping the aspect ratio).
0.63 2016-06-18
- Fixed tests on windows
0.62 2016-06-17
- Fixed tests
0.61 2016-06-17
- Obey #cover and #coverwidth if found in the muse file (with proper
filtering).
0.60 2016-06-09
- Fixed tex.t (RT #115177), thanks to Slaven Rezić for the report.
0.59 2016-05-12
- Another round of test fixes for ancient perls
0.58 2016-05-11
- Fixed tests for ancient perls 5.8.x
0.57 2016-05-10
- Fixed syntax error on perl 5.8.9 (thanks to ribasushi)
0.56 2016-05-09
- Avoid hyphenation on the last word of a paragraph in PDF
- Improved toc removing strings like "start body" and "titlepage" in
ToCs (#4)
- Removed minimum perl version
- Let the image to expand on the EPUB covers (#3)
0.55 2016-02-25
- Removed footer/header from first page with nocoverpage option
0.54 2015-01-01
- Previous release was not installable because of too strict (and too
weird) filename check. Fixed.
0.53 2015-01-01
- Adjusted spacing between headings and text body in PDFs
- When cover option is passed, actually use it for the EPUB
0.52 2015-12-31
- NYE release :-)
- New papersize options allowed: B3-B6 and A3
- headings option now takes a value (but boolean still accepted)
0.51 2015-12-19
- Layout fixes for bare tex output: do not put the postamble in the
title page, but append it to the end of the body.
0.50 2015-12-05
- Handle partials
0.46 2015-12-02
- Handle long author's name in documents, avoiding \maketitle
- Added headings option to the template
0.45 2015-10-30
- Fixed bug on fileparse() usage.
0.44 2015-10-28
- Added class to parse the muse headers
- Added methods to the template options to get some defaults
0.43 2015-10-15
- Cleanup files left by previous compilation and remove LaTeX
leftovers (.aux, .vrb, etc).
0.42 2015-10-14
- "slides" is now an alias for "sl_pdf"
0.41 2015-10-14
- Fixed default for older Moo
0.40 2015-10-13
- Generate slides when the header #slides is true.
- New beamer themes options
- New option for sans serif and typewriter fonts
- Updated styles for description lists
- Internal refactoring for option handling
- New option --purge to muse-compile
0.38 2015-08-26
- Replaced EBook::EPUB with EBook::EPUB::Lite (to lighten up the
dependecies, no XS).
0.37 2015-05-10
- Added --luatex option to use lualatex instead of xelatex
0.36 2015-04-08
- Adjusted definition of \forcelinebreak preventing a pagebreak after
that. This could have some unwanted side effects in some corner
case (like poetry overflowing).
0.35 2015-02-14
- It looks like Archive::Zip 1.30 fails to extract the whole zip with
the syntax $zip->extractTree('', $dest). This appears to work at
least on 1.37 and 1.45 (latest). Changes file doesn't talk about
this, though. 1.30 is shipped by debian, so we have to support
this. Relevant tests updated.
- Added support in the class and in the script for embedding fonts in
the EPUB (--webfontsdir)
0.34 2015-02-12
- Table of contents for EPUB now is properly nested
- The compiler now can merge multiple texts into an EPUB. Merging
into a single HTML document would require rewriting the footnotes
reference and honestly doesn't make much sense.
0.33 2015-02-05
- Fixed dumb validations for filename. This is still strict and
probably will create validation problems on some setups (passing
absolute filenames with spaces will fail miserably).
0.32 2015-02-03
- Support for #hyphenation tag in the header. Dependency of
Text::Amuse bumped because of needed hyphenation method.
0.31 2015-01-19
- New option: opening (for chapter pages)
- Interpret (via Text::Amuse) and so escape all the strings passed
to the templates
0.30 2015-01-18
- Downgraded requirement from Template to Template::Tiny. This change
should produce a minor performance improvement (both speed and
memory-wise) and, more important, pull out the complicated logic
from the the LaTeX template into the code. This of course will
prevent to do crazy stuff into the template. I see this as a
feature. Eventually, if the need arise, there could be an option to
use Template instead, given that the interface is the same. This is
a major cleanup which has the potential to introduce bugs.
- Added validation for extra values
0.27 2015-01-13
- Fixed minor bug with missing cleardoublepage after title page
- Prepared tests for upcoming downgrade from Template to Template::Tiny
0.26 2014-12-12
- Fixed bug with missing escape in the epub's titlepage
0.25 2014-10-10
- Fixed output out missing character report (missing newline)
- Removed File::Slurp from the script
0.24 2014-09-08
- LaTeX template change: reduced the footskip to 2 baselines.
0.23 2014-09-02
- No code change. More verbose output in the methods.t which had a
bunch of unexplicable test failing on windows.
0.22 2014-08-30
- Added notoc option to suppress the table of content generation
0.21 2014-08-08
- Changed default LaTeX class to book, even for texts without a table
of contents. You can switch to the old behaviour either setting
nocoverpage to a true value in the header or passing the extra key
nocoverpage=1 to the compiler.
0.20 2014-07-26
- Avoid useless and warmful decoding of TeX log file (known to have invalid utf8)
0.19 2014-07-20
- Removed dependency on File::Slurp
- Basic validation of extra options which enter the template not interpolated
- Report missing fonts when compiling the PDF
0.18 2014-06-08
- Set the language code in the html tag in the HTML output
- Removed the need for a lock file using flock
- Respect bcor and twoside option when building only plain pdf
0.17 2014-05-29
- Added method to see if a file has already been compiled
0.16 2014-05-22
- Adjusted logger
0.15 2014-05-17
- Added --extra cover and --extra cover-width keys and documentation
0.14 2014-04-15
- Adjusted code and tests for directory names with dots
0.13 2014-04-07
- Restored slightly verbose logging
- Added recursive compilation
- Added --recursive and --dry-run to muse-compile.pl
- Use a status file instead of dummy .ok
- Added cleanup option to remove the status file
- Decode --extra arguments passed on the command line
- Hopefully fixed tests on Win32
0.12 2014-03-30
- Remove the use of fork when compiling (save for the latex exec)
- Improved logging
0.11 2014-03-23
- Fixed test failures because of hash randomization
0.10 2014-03-23
- Use IO::Pipe instead of |- construct.
0.09 2014-03-22
- Handle the merging of files in different languages
0.08 2014-03-16
- New EXPERIMENTAL feature: file merging (only tex and pdf for now)
0.07 2014-03-08
- New format: zip file with sources and attachments
0.06 2014-03-02
- Removed noisy debug (leftover of the previous change)
0.05 2014-03-02
- Force bcor=0mm and oneside=true for default .tex output
- Renamed option size to papersize to avoid TT problems (which would interpret
the size as the size of the options hashref
0.04 2014-03-01
- Disabled testing with XeLaTeX by default and fixed localtime warning
0.03 2014-03-01
- Added options to pass to the templates
0.02 2014-02-26
- Fixed missing binary in MANIFEST
0.01 2014-02-26
- First public version with basic features