Debian Codegraph @

texmf-dist/doc/luatex/luamplib/NEWS

raw
1 History of the luamplib package
2
3 2026/05/26 2.41.3
4 * new optional argument for asgroup operator: wrapped
5 * fix the parsing of asgroup option
6
7 2026/05/12 2.41.2
8 * new optional macro for shading: withshadingmatrix
9 * new optional macros for fading:
10 withfadestep, withfadefraction, withfadeextend, withfadematrix
11 * new option for \mplibgroup: asgroup="wrapped"
12 * fix the issue #63 (previous version was faulty with codeinherit)
13
14 2026/05/05 2.41.1
15 * address #189, the issue on the displacement of pdf link boxes
16 * address #63, the ages-old issue on nested mplibcode environments
17
18 2026/04/28 2.41.0
19 * new options for shading:
20 - new macros withshadingpoints, withshadingcenters, and withshadingextend
21 - revise the documentation on shading accordingly (1.2.6)
22 * new options for transparency group, though both are not encouraged:
23 - add colorspace option to \mplibgroup
24 - allow color expressions in rgb/cmyk model after withmaskingbgcolor
25 * [doc] replace the example in \mplibgroup section with a new one (1.2.14)
26
27 2026/04/16 2.40.8
28 * [doc] add a remark and examples about the recommended way to get
29 shading pattern with transparency group (1.2.13)
30 * fix gather_resources function to support pgf package
31
32 2026/04/14 2.40.7
33 * allow tiling pattern inside masking transparency group
34 * additional fix for shading pattern inside transparency group in DVI mode
35
36 2026/04/09 2.40.6
37 * fix the function for shading pattern inside transparency group
38 * [doc] add an example and caution re. shading pattern inside/outside
39 a transparency group (1.2.13)
40
41 2026/04/02 2.40.5
42 * mplibglyph operator accepts Type1 font (.pfb) filename.
43 N.B. Some glyphs in cmr10 and its family (or maybe other) Type1 fonts
44 are not working properly.
45 * fix the mplibgraphictext function to embolden rules when fakebold == 0
46
47 2026/03/27 2.40.4
48 Runtime file change:
49 * call pattern-related routine before transparency group routine
50 so that shading pattern upon transparency group works as documented
51
52 Documentation changes:
53 * add caution about shading pattern in a transparency group (1.2.13)
54 * add a remark about axis feature of variable fonts (1.2.9)
55
56 2026/03/24 2.40.3
57 * fix mplibgraphictext for variable fonts (#178)
58 * fix mplibglyph for variable fonts with axis option
59 * 'outputdir' is now a lua function and called upon when needed.
60
61 2026/03/20 2.40.2
62 * new option for asgroup: asgroup "off"
63 which will generate an ordinary Form XObject rather than group XObject.
64 * \mplibmakenocache{*} will suppress making caches for *.mp files.
65
66 2026/03/17 2.40.1
67 * new option for withmaskinggroup, withmaskingbgcolor <numeric>
68 which sets the background color of the masking group
69
70 2026/03/07 2.40.0
71 * new metapost macro, withmplibopacities
72
73 2026/02/09 2.39.0
74 Run file changes:
75 * new metapost macro, withmaskinggroup
76 * new option for \mplibgroup, asgroup="masking"
77
78 Documentation changes:
79 * be more precise about the term 'textual picture'
80 * caution about shading a picture that has multiple components
81
82 2026/01/29 2.38.4
83 * fix "avoid error upon shading a picture composed of multiple paths"
84
85 2026/01/27 2.38.3
86 Run file changes:
87 * new optional macro for shading: withshadingstroke
88 * avoid error upon shading a picture composed of multiple paths
89
90 Documentation changes:
91 * be more precise about the term 'textual picture'
92 * generalize the code for the example macro \mpnumeric
93 * add subsections on registerpattern() and registergroup()
94
95 2026/01/14 2.38.2
96 Documentation changes only:
97 * update examples using recently introduced macros
98 * include figures generated from some example code
99 * rearrange the order of subsections on metapost macros
100
101 2025/12/30 2.38.1
102 * Now \mpcolor (or mplibcolor) returns a metapost color expression
103 when the color specified is not a spot or named color.
104 With spot or named colors, withprescript command will be inserted as before.
105 * fix color routine for named color in DVI mode with no \DocumentMetadata
106 (assumes xcolor package is loaded)
107
108 2025/12/26 2.38.0
109 * a new macro to specify fill color and stroke color differently:
110 withmplibcolors
111 * new macros to draw the picture returned by mplibglyph:
112 mplibfillglyph, mplibstrokeglyph, mplibfillandstrokeglyph
113 * fix the macro mplibdrawglyph
114 * documentation: add explanations about withpostscript "both"/"eoboth"
115 * documentation: add a caution about \mpcolor command
116
117 2025/12/19 2.37.8
118 * support Chinese/Japanese vertical writing in mpliboutlinetext
119 * doc: add an example of accessing an MP variable from TeX side
120
121 2025/12/05 2.37.7
122 * avoid error inside trivlist environment, related to \partokencontext=2
123
124 2025/11/10 2.37.6
125 * documentation readability: bigger fontsize, wider textwidth, tableofcontents
126 * adapt to luatexko's harf-mode vertical writing
127
128 2025/05/26 2.37.5
129 * 'utf8_mode = true' as a field of mplib.new
130 See https://tug.org/pipermail/lualatex-dev/2025-May/001723.html
131
132 2025/05/21 2.37.4
133 * real horizontal mode upon tagging keys 'actualtext' and 'text'
134 * improved tagging of mplibgraphictext by copying node attributes
135
136 2025/05/15 2.37.3
137 * Tagging option 'debug' is removed.
138 Declare '\DocumentMetadata{debug=BBox}' instead.
139
140 * Tagging option 'correct-BBox' is renamed to 'adjust-BBox'.
141
142 * Tagging option 'off' is newly introduced.
143 Given this key, nothing will be tagged by luamplib.
144
145 * Tagging option 'tagging-setup' is newly introduced.
146 The value of this key is a key-value list of other tagging options.
147
148 * Tagging options 'actualtext' and 'text' do not force horizontal mode.
149
150 * When the text of a tex-text box starts with '[taggingoff]', it will not
151 be tagged at all even in the text mode.
152
153 * more robust 'mplibgraphictext' macro
154
155 2025/03/20 2.37.2
156 * Formerly, it was not possible to give shading effect to a textual picture
157 inside a tiling pattern. This limitation is now lifted.
158 As a side effect, a tiling pattern inside a tiling pattern is also allowed.
159
160 * 'withmppattern <string>' is a newly introduced command virtually the same
161 as 'withpattern <string>', but the former does not force the result of MP
162 picture. So users can use any drawing command suitable, such as 'fill' or
163 'filldraw' as well as 'draw'.
164
165 * 'textext', 'TEX', 'mplibcolor', 'mplibdimen', or 'VerbatimTeX' can accept
166 a string argument without parentheses. For instance, 'textext "\TeX"' is now
167 allowed as well as 'textext("\TeX")'.
168
169 2025/02/18 2.37.1
170 * A new operator 'mplibuclength <string>' returns the number of unicode
171 grapheme clusters in the string.
172
173 * A new operator 'mplibucsubstring <pair> of <string>' returns the part of
174 the string indexed by unicode grapheme clusters.
175
176 * These two operators require lua-uni-algos package.
177
178 2025/02/06 2.37.0
179 * introduce a new operator 'mpliblength <string>', a unicode-aware version of
180 the 'length' primitive
181
182 * introduce a new operator 'mplibsubstring <pair> of <string>', a unicode-aware
183 version of the 'substring ... of ...' primitive
184
185 2024/12/16 2.36.3
186 * change '//' to 'math.floor' for compatibility with luajittex (#158)
187
188 * fix documentation on mplibgraphictext considering the introduction of
189 'withshadingmethod'
190
191 2024/12/11 2.36.2
192 * fix a bug regarding expansion of options
193 (https://tug.org/pipermail/metapost/2024-December/003574.html)
194
195 2024/12/09 2.36.1
196 * fix a bug of previous release: missing 'local' in front of 'os'
197
198 2024/12/08 2.36.0
199 * <path>|<textual picture> withshadingmethod <string>,
200 where <string> shall be "linear" or "circular", gives shading effect to
201 the <path> or <textual picture> with plain format as well as metafun.
202 See the documentation.
203
204 * withtransparency (<number>|<string>, <number>)
205 gives transparency effect with plain format as well. See the documentation.
206
207 * added 'dir TLT' to usemplibgroup boxes
208
209 * removed 'tag=artifact' option. Use 'artifact' instead.
210
211 2024/11/28 2.35.2
212 * fix height/depth of boxes made by \mplibgroup command
213 * enhanced tagging of \usemplibgroup
214
215 2024/11/25 2.35.1
216 * cope with 'TEX(char13)': remove everything from char13 to the end of
217 input string (https://tug.org/pipermail/metapost/2024-November/003572.html)
218
219 * (WIP) avoid internal command names of tagpdf/kernel code (#151)
220
221 2024/11/12 2.35.0
222 * even under \mplibtextextlabel{true}, the original 'infont' operator will
223 be used when the character slot of the text argument is less than 32, or is
224 equal to 35, 36, 37, 38, 92, 94, 95, 123, 125, 126 or 127.
225
226 * \mplibforcehmode will have effects on \usemplibgroup as well as ordinary
227 metapost figures.
228
229 * support tagged PDF when tagpdf package is activated. The related code is
230 currently in experimental stage. See the documentation for details.
231
232 2024/08/03 2.34.5
233 * provide 'withgroupbbox' macro for transparency group to enable users to
234 control the bounding box
235
236 * write down the width/height/depth values of mplibgroup to the log file
237
238 2024/07/31 2.34.4
239 * 'withpattern' operator accepts a <textual picture> as well as a <path>
240 for its operand. Thus users can give pattern effect to the result of btex
241 command or infont operator.
242
243 * fix regarding line width in mplibgraphictext
244
245 2024/07/27 2.34.3
246 * in DVI mode, use LaTeX's shipout hooks to generate new XObjects
247 or to put resources to pageresources. (in plain, load atbegshi.sty)
248
249 * fix shading to allow the even-odd rule
250
251 2024/07/24 2.34.2
252 * With the newly introduced macros, \mplibgroup ... \endmplibgroup, users
253 can define a transparency group or a normal form XObject from TeX side.
254 The LaTeX environment 'mplibgroup' is identical to this pair of macros.
255 See the document for details.
256
257 * document: be more precise about the color effect of a transparency group
258
259 * remove trailing zeros from numeric objects to get smaller PDF
260
261 2024/07/19 2.34.1
262 * transparency group is available with plain format as well.
263 * transparency group once used is reusable in the TeX code or
264 in other MetaPost code chunks. see the document for details.
265
266 2024/07/17 2.34.0
267 * support transparency group with metafun format
268 * fix regarding default value in circular fading mode
269 * fix regarging the scope of graphics state
270
271 2024/07/14 2.33.1
272 * refactor the manual, including some minor items undocumented so far
273 * improve fading routine to get possibly smaller pdf file
274
275 2024/07/08 2.33.0
276 * provide a new metapost operator 'withfademethod' and related macros,
277 which make the color of an object gradiently transparent. see luamplib
278 document for details.
279
280 * fix spot-color shading routine to support user-defined colorspace
281
282 2024/07/03 2.32.4
283 * make the variable 'patterns' local
284 * 'math.randomseed' on plain TeX
285 * remove redundant code 'fullcircle scaled 0'
286
287 2024/06/21 2.32.3
288 * 'coloured' is a synonym of the option 'colored' in pattern definition.
289
290 * fix a bug related to pdf page resources in dvi mode
291
292 * users can access the lua table containing mplib instances 'luamplib.instances',
293 through which metapost variables are also easily accessible as documented in
294 LuaTeX manual 11.2.8.4.
295
296 2024/06/14 2.32.2
297 * fix matrix conversion between MP and PDF
298
299 2024/06/13 2.32.1
300 * for the sake of convenience, width and height values of tiling patterns
301 will be written down into the log file.
302
303 * table type is allowed as well as string type for 'matrix' and 'bbox'
304 options in pattern definition.
305
306 * metapost code such as 'rotated 30 slanted .2' is allowed as well as the
307 string or table of numbers for the 'matrix' option in pattern definition.
308
309 * as for the 'resources' option in pattern definition, luamplib
310 automatically includes the resources of the current page.
311
312 * luamplib does not log info even if there's no beginfig ... endfig.
313
314 2024/06/10 2.32.0
315 * \mppattern{<name>} ... \endmppattern defines a tiling pattern which can be
316 used with 'withpattern' operator to fill a closed path by replicating the tile
317 horizontally and vertically. \begin{mppattern} ... \end{mppattern} is exactly
318 the same as \mppattern ... \endmppattern. See luamplib manual for details.
319
320 2024/05/30 2.31.2
321 * support vertical writing mode in mpliboutlinetext (presently luatexko
322 package only, and except horizontal mode inside vertical mode)
323
324 * after the process of mpliboutlinetext, mpliboutlinepic[1] ...
325 mpliboutlinepic[mpliboutlinenum] will be preserved as an array of images
326 each of which containing a glyph or a rule. N.B. Unicode grapheme cluster
327 is not considered here.
328
329 2024/05/24 2.31.1
330 * fix bugs in outlinetext routine
331 * improve rule treatment in graphictext
332
333 2024/05/21 2.31.0
334 * provide a new metapost operator 'mpliboutlinetext', which mimicks
335 metafun's 'outlinetext'. The syntax is the same as metafun's. (#133)
336
337 2024/05/10 2.30.0
338 * provide a new metapost operator 'mplibglyph', which returns a metapost
339 picture containing outline paths of a glyph in opentype, truetype or type1
340 fonts. When a type1 font is specified, metapost primitive 'glyph' will be
341 called. In the syntax as follows, subfont number is zero based.
342
343 mplibglyph 50 of \fontid\font % slot 50 of current font
344 mplibglyph 50 of "cmr10" % type1 font
345 mplibglyph "Q" of "TU/TeXGyrePagella(0)/m/n/10" % font csname
346 mplibglyph "똠" of "NotoSansCJKkr-Regular.otf" % raw filename
347 mplibglyph "Q" of "Times.ttc(2)" % subfont number
348 mplibglyph "똠" of "SourceHanSansK-VF.otf[Regular]" % instance name
349
350 * provide a new metapost command 'mplibdrawglyph'. In contrast to metapost's
351 'draw' command, this one fills paths of a picture according to the Nonzero
352 Winding Number Rule.
353
354 * in 'mplibgraphictext', option 'scale' is deprecated and now a synonym of
355 'scaled'. In DVI mode, unicode-math package is needed for math formula
356 graphictext.
357
358 2024/05/01 2.29.0
359
360 * provide new TeX macros to reduce typing toil.
361
362 \mpfig ... \endmpfig is roughly the abbreviation of
363 \begin{mplibcode}[@mpfig]
364 beginfig(0)
365 token list declared by \everymplib[@mpfig]
366 ...
367 token list declared by \everyendmplib[@mpfig]
368 endfig;
369 \end{mplibcode}
370
371 \mpfig* ... \endmpfig is roughly the abbreviation of
372 \begin{mplibcode}[@mpfig]
373 ...
374 \end{mplibcode}
375
376 These macros are protected and unexpandable.
377 In these macros \mpliblegacybehavior{false} is forcibly declared.
378 As both share the same instance name, MetaPost codes are inherited among them.
379 The instance name (default: @mpfig) can be changed by redefining `\mpfiginstancename'.
380
381 * instance names are allowed in plain TeX as well. The syntax is:
382
383 \mplibcode[name] ... \endmplibcode
384 \everymplib[name]{ ... }
385 \everyendmplib[name]{ ... }
386
387 These macros are now protected and unexpandable.
388
389 * provide new MetaPost operators `mplibtexcolor' and `mplibrgbtexcolor'
390 which convert TeX color expressions to MetaPost color expressions.
391 The latter one forces rgb model results (#112). For instance,
392
393 mplibtexcolor "olive" % => (0, 0, 1, 0.5)
394 mplibrgbtexcolor "olive" % => (0.5, 0.5, 0)
395
396 As spot colors are always forced to cmyk or rgb model, it is not
397 recommended to use these operators for them.
398
399 * write down MetaPost messages into the log file
400
401 2024/04/25 2.28.2
402 * direction of figure box is explicitly declared as TLT (#129)
403 * figure box materials are emitted in one go at the end of the figure
404 (to enable tex.runtoks in spot color shading routine)
405
406 2024/04/19 2.28.1
407 * fix spot color shading routine
408
409 2024/04/12 2.28.0
410 * provide a new metapost operator 'mplibgraphictext', which is similar
411 to ConTeXt's 'graphictext'. But the syntax is not the same:
412
413 mplibgraphictext "Text" fakebold 2 scale 3
414 fillcolor red drawcolor blue
415
416 where 'fakebold' and 'scale' are fontspec's font options.
417 'fakebold', 'scale', 'drawcolor' and 'fillcolor' are optional and
418 default values are '2', '1', "black" and "white" respectively.
419 When color expressions are given as string, they are regarded as
420 xcolor's or l3color's expressions. The operator generates a metapost
421 picture, which can be drawn or assigned to a variable. For compatibilty
422 with 'graphictext', 'withdrawcolor' and 'withfillcolor' are synonyms of
423 'drawcolor' and 'fillcolor'. Because the implementation is quite
424 different from the \ConTeXt's, there are some limitations such that
425 we can't apply shading (gradient colors) to the text.
426
427 * support metafun's new shading method. Color expressions given as string
428 are regarded as xcolor's or l3color's expressions. Spot colors defined
429 by the color commands of l3color package are also acceptable
430 (currently '\DocumentMetadata{ }' is needed for spot colors).
431
432 * fix the y-position of text figures, which means the result of 'infont'
433 operator, not of the 'textext' operator.
434
435 2024/04/04 2.27.2
436 * for warning/info/error messages we now use our own lua function,
437 instead of ltluatex's. As a result, mplib's multi-line messages are
438 printed as they are with no module name prepended to each line.
439 * terminal messages are now much conciser than before, printing only
440 the most relevant part.
441 * mplibcode which has no figure output does not print a warning, but
442 just an info to the log.
443
444 2024/03/29 2.27.1
445 * fix a bug regarding local textext boxes
446
447 2024/03/23 2.27.0
448 * when `mplibcodeinherit' is enabled, `mplibglobaltextext' is implicitly
449 enabled as well.
450 * when instance name is used to mplibcode environments, btex ... etex
451 boxes are also shared among the environments of the same intance name.
452 * transparency functionality does not conflict with transparent package.
453
454 2024/03/10 2.26.4
455 * not just color names but also color expressions of l3color module
456 are now supported even if xcolor package is loaded
457
458 2024/03/07 2.26.3
459 * color expressions of l3color are supported as well.
460 But they are regarded as xcolor's expressions if xcolor package is loaded.
461 * support pdfmanagement's opacity and shading management.
462
463 2024/03/04 2.26.2
464 * color expressions ('red!50') are supported with xcolor package only
465
466 2024/03/04 2.26.1
467 * attempt to support l3color: \mpcolor{color expression}
468 * cope with mp.report warning produced by 'message' under metafun
469
470 2024/03/01 2.26.0
471 * when \mplibcachedir{<dir>} is not set, default cache directory will
472 be in the following order:
473 $TEXMFVAR/luamplib_cache
474 $TEXMF_OUTPUT_DIRECTORY/luamplib_cache
475 ./luamplib_cache
476 $TEXMFOUTPUT/luamplib_cache
477 .
478
479 2024/01/25 2.25.3
480 * protect "..." even if textextlabel is disabled (revert part of v2.25.0)
481
482 2023/12/08 2.25.2
483 * info instead of warning when compiling with dviluatex
484
485 2023/08/21 2.25.1
486 * explicit \par in \mplibstoptoPDF to support LaTeX's paragraph hooks
487
488 2023/08/07 2.25.0
489 * propagate tex's jobname varible into mplib process as well.
490 * protect "..." if and only if textextlabel is enabled.
491
492 2023/04/04 2.24.0
493 respect '-recorder' command-line option
494
495 2022/01/12 2.23.0
496 In parellel with the functionality introduced at previous version,
497 \everymplib (\everyendmplib as well, of course) supports
498 optional argument of named MetaPost instance, affecting only those
499 mplibcode environments of the same name.
500
501 2022/01/09 2.22.0
502 * Sergey Slyusarev (@jemmybutton) has suggested and contributed
503 a new feature for LaTeX mplibcode environment, which now supports
504 separately named MetaPost instances. Using this feature,
505 all the variables and functions are shared only among
506 all the environments belonging to the same instance.
507 (#99 and #100)
508
509 2021/11/23 2.21.1
510 * address #97 (typesetting fails with "--lua" option)
511
512 2021/09/16 2.21.0
513 * allow empty string in textext()
514
515 2021/08/03 2.20.9
516 * initialize every mplib instance with random integer seed values
517
518 2021/08/02 2.20.8
519 * when \mplibshowlog{enable} is declared, log (not term) messages
520 returned by mplib instance will be printed into the .log file.
521
522 2021/03/11 2.20.7
523 * emegency patch for context metafun 2021-03-06
524
525 2020/12/30 2.20.6
526 * fix a bug regarding no figure output when luamplib.showlog is
527 true. (#91)
528 * now metapost `show' command triggers a warning message, so that
529 it could be shown on the console. (#91)
530
531 2020/02/24 2.20.5
532 * Extra check for \pdfliteral (PR #89)
533 * allow expansion of \mpdim and \mpcolor when they are used in
534 another macro
535 * step copyright year
536
537 2019/12/11 2.20.4
538 * remove unnecessary setting of endlinechar
539 * \prependtomplibbox instead of \mplibhmodeornot
540
541 2019/11/14 2.20.3
542 * fix issue #86 (LaTeX command inside metapost label)
543
544 2019/10/11 2.20.2
545 * fix issue #84 (pgf package hinders \mpcolor process)
546
547 2019/03/26 2.20.1
548 * '\mpdim' and '\mpcolor' are allowed, even if '\mplibverbatim' is enabled.
549
550 2019/03/20 2.20.0
551 * huge changes, but mostly internal, so apparently not much difference
552 from previous version.
553 * '\mplibforcehmode' makes mplibcode typeset in horizontal mode.
554 '\mplibnoforcehmode' reverts the setting. The latter is default.
555 * '\mpliblegacybehavior{disable}' triggers a new mode of processing
556 verbatimtex .. etex: along with btex .. etex, they will be processed
557 sequentially one by one. Old behavior, being default, can be restored
558 by declaring '\mpliblegacybehavior{enable}'.
559 Incidentally, verbatimtex .. etex in MP input files is honored
560 from this version, save those that contain '\documentclass'
561 or '\begin{document}' etc, which is totally ignored.
562
563 2018/09/27 2.12.5
564 * change dash.offset pattern from "%i" to "%f" (PR #77)
565 * remove unnecessary variables that go back to context (issue #76)
566
567 2018/04/16 2.12.4
568 * workaround issue #74 relating to PATH limitation
569 * substitute InconsolataN font for Liberation Mono in the manual
570
571 2018/04/06 2.12.3
572 * step copyright year
573 * remove a line relating graphictext hindrance
574
575 2018/01/04 2.12.2
576 * workaround issue #70 "Labels outside beginfig...endfig are not inherited"
577 * address issue #71 "metafun problem: arrow tips are not filled"
578 by importing luatex-mplib.lua from context beta.
579
580 2017/06/02 2.12.1
581 * when \mplibglobaltextext{enable} is declared, metapost variables
582 containing btex ... etex labels can be inherited across code chunks.
583 Of course, \mplibcodeinherit should also be switched on.
584
585 2016/03/31 2.11.3
586 * fix a bug regarding nested mplibcode environments (issue #63)
587
588 2016/01/02 2.11.2
589 * updates for luatex 0.87
590
591 2015/10/02 2.11.1
592 * adapts to latex 2015/10/01 and luatexbase v1.0
593 * allows `btex ... etex' and `verbatimtex ... etex' even when
594 `\mplibverbatim{enable}' is declared.
595
596 2015/08/01 2.11.0
597 * after `\mplibverbatim{enable}', contents of mplibcode environment
598 will be read verbatim. So `btex ... etex', `verbatimtex ... etex',
599 `\mpdim', `\mpcolor' are not allowed and all TeX commands will be
600 fed literally into mplib library.
601 * allow access to type1 fonts, which means we can use glyph
602 operator now (luatex rev 5266)
603 * color transparency is now compatible with pgf package and
604 beamer class as well. (luatex 0.80+ is recommended)
605
606 2015/03/26 2.10.1
607 * fix bug #55 regarding hash token
608
609 2015/03/20 2.10.0
610 * TeX code in `VerbatimTeX()' between `beginfig();' and `endfig;'
611 will be inserted after flushing out the mplib figure.
612 * `\mpcolor' command accepts optional argument: for instance,
613 `\mpcolor[HTML]{FF0000}'.
614
615 2015/01/26 2.9.1
616 * fix a bug reported by Herbert Schulz via luatex mailing list
617 (http://tug.org/pipermail/luatex/2015-January/005054.html)
618
619 2015/01/05 2.9.0
620 * after declaring `\mplibcodeinherit{enable}', each mplib code chunks
621 will inherit variables/constants/macros defined by previous chunks.
622 On the contrary, the default value `\mplibcodeinherit{disable}' will
623 treat each code chunks as an independent instance, never being affected
624 by other code chunks.
625
626 2014/07/04 2.8.1
627 * support color package on plain tex.
628 * fix a failure at `btex \% etex'.
629
630 2014/06/17 2.8.0
631 * support color/xcolor/spotcolor packages.
632 On LaTeX, color names or expressions of color/xcolor packages
633 can be used inside mplibcode environment with the command
634 \mpcolor{<color expression>}.
635
636 2014/04/25 2.7.0
637 * support DVIPDFMx
638 * default directory for cache is now '$TEXMFVAR/luamplib_cache'
639 * internal changes following LuaTeX engine v0.79 and luatexbase
640 package v0.7
641 * [fix] avoid luatex crash under math_mode 'decimal'
642
643 2014/03/26 2.6.1
644 * now luamplib does not disregard 'show' command, even if
645 'luamplib.showlog' is false. Incidentally, it does not raise
646 error, but just prints a warning, even if output contains
647 no figure.
648 * fix a bug wrt color, which might come to the fore under
649 math mode 'double' or 'decimal'.
650
651 2014/03/08 2.6.0
652 * new macro \mplibtextextlabel{enable} enables string labels typeset
653 with textext() instead of infont operator. Every string label
654 thereafter will be typeset with current TeX font.
655 * fixed a bug wrt btex ... etex parsing (issue #39)
656 * [doc] added a mention about \MPllx, \MPlly, \MPurx, and \MPury.
657
658 2014/03/01 2.5.3
659 * using \mplibcachedir{<directory path>}, users can change the
660 directory for storing cache files. By default, it is the directory
661 where pdf output file is saved.
662 * at the end of package loading, luamplib searches 'luamplib.cfg',
663 and, when found, reads the file in automatically.
664
665 2014/02/24 2.5.2
666 * new macros \mplibmakenocache{...} and \mplibcancelnocache{...} to
667 register/unregister those .mp files that do not need caches.
668 These macros affect the compilation speed only.
669 * added a hack to support graph.mp (in fact, format.mp)
670 * [fix] luamplib now respects percent sign if it is enclosed by quotes.
671
672 2014/02/19 2.5
673 * btex ... etex input from external *.mp files will also be processed
674 by luamplib. However, verbatimtex ... etex will be entirely ignored
675 in this case.
676
677 2014/02/02 2.4
678 * implemented "numbersystem" option. Default value "scaled" can be
679 changed by declaring \mplibnumbersystem{double}. For details, see
680 http://github.com/lualatex/luamplib/issues/21
681
682 2014/01/20 2.3
683 * \everymplib, \everyendmplib: macros that redefine token lists
684 \everymplibtoks and \everyendmplibtoks. These will be
685 automatically inserted at the beginning and ending (respectively)
686 of each and every mplib code.
687 * naked TeX codes, includig \mpdim{...}, are allowed inside
688 mplibcode environment. Refer the manual of gmp package for
689 details.
690
691 2013/12/30 2.2
692 * start to support transparency/shading under metafun format.
693 * verbatimtex ... etex just before beginfig() is not ignored.
694 Using this macro, each mplib box can be moved horizontally and/or
695 vertically.
696
697 2013/12/23 2.1.1
698 * fix a bug wrt "withoutcolor" option
699 * fix a bug wrt "char <number> infont <font>" picture
700 * bypass some ConTeXt commands which raise errors under metafun format
701 * ignore "fontmapfile <filename>" which isn't needed in mplib
702
703 2013/12/19 2.1
704 * Do not ignore "withcolor" option for textext and normal text object
705 * verbatimtex ... etex is now just ignored, not raising error
706
707 2013/12/11 2.03
708 * implemented textext() macro which is identical to TEX() from TEX.mp.
709 TEX() is a synonym of textext().
710 * fix a bug regarding tex-text box inside for...endfor loop,
711 reported at http://www.ktug.org/xe/index.php?document_srl=178050
712
713 2013/09/24 2.01
714 * fix bug reported by Stephan Hennig: wrong baseline of tex-text box
715
716 2013/05/07 2.0
717 * Update with current ConTeXt code
718 * Adding the possibility of btex...etex commands (Kim)
719
720 2011/12/09 1.09
721 * Fix bug reported by Paul Vojta: spurious spaces.
722
723 2011/06/23 1.08
724 * Fix bug reported by Rolf Dieterich: <, >, TAB anywhere in a luacode
725 environment caused errors. The character ` was affected too.
726
727 2010/12/28 1.07
728 * fix two bugs reported by Arno Trautmann that made the package crash with
729 luatex 0.65 (mp 1.5+).
730 * remove support for using .mem files (to fix the second bug)
731
732 2010/10/17 v1.06
733 * bugfix from Hans (bad function name)
734
735 2010/10/10 v1.05
736 * adapt to luatexbase v0.3
737
738 2010/08/02 v1.04
739 * fixing a bug in LaTeX's detection (made Tikz fail)
740 * setting luamplib-luatex as the default name for the format, it's the case
741 in TeXLive 2010
742 * adding two test files in the git repository
743
744 2010/05/10 v1.03
745 * adaptation to the new luatexbase package
746