Hi, I uploaded a new beta. This one is really beta so don't update if you have a critical workflow (or make a copy). Among the changes are: - page-* : cleaned up, split and made more efficient (maybe typos) - strc-itm : cleaned up (maybe side effects, but it looks ok) - style/color : low level clean up (which means that some t-* files need to be updated in sync) Of course there are the usual fixes / improvements / new bugs. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi Hans, Thanks for the new beta. It seems that with the new beta there is a bug with itemize: no numbers show up with \item. \starttext \startitemize[n] \item One \item Two \stopitemize \stoptext Best regards: OK On 13 déc. 2011, at 16:38, Hans Hagen wrote:
Hi,
I uploaded a new beta. This one is really beta so don't update if you have a critical workflow (or make a copy). Among the changes are:
- page-* : cleaned up, split and made more efficient (maybe typos)
- strc-itm : cleaned up (maybe side effects, but it looks ok)
- style/color : low level clean up (which means that some t-* files need to be updated in sync)
Of course there are the usual fixes / improvements / new bugs.
Hans
On 13-12-2011 21:07, Otared Kavian wrote:
Hi Hans,
Thanks for the new beta. It seems that with the new beta there is a bug with itemize: no numbers show up with \item.
\starttext \startitemize[n] \item One \item Two \stopitemize \stoptext
Best regards: OK
I'll look into it ... \startitem ... \stopitem should be ok. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 14.12.2011, at 00:10, Hans Hagen wrote:
On 13-12-2011 21:07, Otared Kavian wrote:
Hi Hans,
Thanks for the new beta. It seems that with the new beta there is a bug with itemize: no numbers show up with \item.
\starttext \startitemize[n] \item One \item Two \stopitemize \stoptext
Best regards: OK
I'll look into it ... \startitem ... \stopitem should be ok.
Hi Hans, another problem with itemization. \starttext \startitemize[text] \item alpha \item beta \item gamma \startitem alpha \stopitem \startitem beta \stopitem \startitem gamma \stopitem \stopitemize \stoptext Regards Andreas
On 13-12-2011 21:07, Otared Kavian wrote:
Hi Hans,
Thanks for the new beta. It seems that with the new beta there is a bug with itemize: no numbers show up with \item.
\starttext \startitemize[n] \item One \item Two \stopitemize \stoptext
fixed (I had commented a counter definition because I load the module runtime for testing) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 14 déc. 2011, at 00:48, Hans Hagen wrote:
On 13-12-2011 21:07, Otared Kavian wrote:
Hi Hans,
Thanks for the new beta. It seems that with the new beta there is a bug with itemize: no numbers show up with \item.
\starttext \startitemize[n] \item One \item Two \stopitemize \stoptext
fixed (I had commented a counter definition because I load the module runtime for testing)
Hans
Hi Hans, Thanks for the quick fix. However \startitemize[r] (or any other option) results always with items being numbered 1., 2., 3., … The behavior does not improve when using \startitem…\stopitem. Reporting this for ConTeXt version 2011.12.14 00:20. Best regards: OK
Hi Hans,
Reading the new code (just to see what the clean-up looks like), I saw that a
lot of "intermediate" macros are now named whith a new scheme : underscore
separated words, and something like a namespace in the macro name.
So the question (just for curiosity)... Are there any documents which describe
this new "API" and the recommended way to code in context.
Thanks
--
Romain Diss
On 14-12-2011 10:16, Romain Diss wrote:
Hi Hans,
Reading the new code (just to see what the clean-up looks like), I saw that a lot of "intermediate" macros are now named whith a new scheme : underscore separated words, and something like a namespace in the macro name. So the question (just for curiosity)... Are there any documents which describe this new "API" and the recommended way to code in context.
Not yet. Among the reasons for the _ was that we wanted module users to use better namespace handling, so best also do it in the core code. another was that _ is no longer something special outside math in context. You need to keep in mind that much code originates was written in the time that (1) hash space was limited, (2) memory was lower, (3) processors were less powerful. So, the rewrite is a new compromise of such constraints. In any case we can now write more readable code which also happens to be faster while in the past there were constraints preventing this. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi all, Hans, something is not working with our simpleslides module and the latest beta. The following example (from our documentation) is not quite minimal, but it shows the problem: \unprotect \def\setupTitle% {\dosingleargument\dosetupTitle} \def\dosetupTitle% {\setvariables[simpleslides:title]} \def\simpleslidestitleparameter% {\getvariable{simpleslides:title}} \def\simpleslidestitlecomponent#1% {\doattributes{\??vars:simpleslides:title:}{#1\c!style}{#1\c!color} {\getvariable{simpleslides:title}{#1}}} \define\placeTitle {\dostartattributes{\??vars:simpleslides:title:}\c!style\c!color \simpleslidestitlecomponent\c!title \dostopattributes} \protect \setupTitle [ title={Title of the presentation}, ] \starttext \placeTitle Write whatever you want. Continue writing. \stoptext Instead of picking up and typesetting the content of the variable "title," it typesets the word "title." Beta from Nov. 29 works normally. Let me know if you can use this example or if you need something else (Aditya is away at a conference, he may be able to come up with a better example). All best Thomas
On 15-12-2011 23:24, Thomas A. Schmitz wrote:
Hi all, Hans,
something is not working with our simpleslides module and the latest beta. The following example (from our documentation) is not quite minimal, but it shows the problem:
\unprotect \def\setupTitle% {\dosingleargument\dosetupTitle}
\def\dosetupTitle% {\setvariables[simpleslides:title]}
\def\simpleslidestitleparameter% {\getvariable{simpleslides:title}}
\def\simpleslidestitlecomponent#1% {\doattributes{\??vars:simpleslides:title:}{#1\c!style}{#1\c!color} {\getvariable{simpleslides:title}{#1}}}
\define\placeTitle {\dostartattributes{\??vars:simpleslides:title:}\c!style\c!color \simpleslidestitlecomponent\c!title \dostopattributes}
\protect
\setupTitle [ title={Title of the presentation}, ]
\starttext \placeTitle
Write whatever you want.
Continue writing.
\stoptext
Instead of picking up and typesetting the content of the variable "title," it typesets the word "title." Beta from Nov. 29 works normally. Let me know if you can use this example or if you need something else (Aditya is away at a conference, he may be able to come up with a better example).
fixed in next beta Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Andreas Harder
-
Hans Hagen
-
Otared Kavian
-
Romain Diss
-
Thomas A. Schmitz