Hi, i uploaded a beta: - a fix to verbatim (has to do with linenumbering) - a cleaned up 'paragraph' mechanism (prelude to a real cleanup) - some patches to the newmml module i'll promote this to current when no problems are reported Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen wrote:
Hi,
i uploaded a beta:
- a fix to verbatim (has to do with linenumbering) - a cleaned up 'paragraph' mechanism (prelude to a real cleanup) - some patches to the newmml module
i'll promote this to current when no problems are reported
Initial tests are fine, I say you already hard the math extensions included as well. But I have not tested the new 'paragraph' stuff, aqnd I do not know the status of the 'Curious blank page' problem. Remaining open (recent) items: Feature Reqs: * \definetyping[prog][numbering=line,location=intext] % from nico * The latest bib module * \usemodule[...p=...][modulename] % from Thomas and me Bugs: * The broken eq reference (at least IMO this is a bug) \starttext \placeformula[eqn1] \startformula \startalign[n=1] a\\ \stopalign \stopformula See \in[eqn1] \stoptext * Duncan's xtag-mml patch (on this dev list, 03/24) * My \dodoregister patch (also in this list, 02/22)
Taco Hoekwater wrote:
Initial tests are fine, I say you already hard the math extensions included as well. But I have not tested the new 'paragraph' stuff, aqnd I do not know the status of the 'Curious blank page' problem.
Initial tests are fine, I saw you already had the math extensions included as well. But I have not tested the new 'paragraph' stuff, and I do not know the status of the 'Curious blank page' problem. I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS Cheers, taco
Taco Hoekwater wrote:
Taco Hoekwater wrote:
Initial tests are fine, I say you already hard the math extensions included as well. But I have not tested the new 'paragraph' stuff, aqnd I do not know the status of the 'Curious blank page' problem.
Initial tests are fine, I saw you already had the math extensions included as well. But I have not tested the new 'paragraph' stuff, and I do not know the status of the 'Curious blank page' problem.
I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS I MUST PRACTICE MY TYPING SKILLS
\dorecurse{10}{I MUST PRACTICE MY TYPING SKILLS\par} Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Taco Hoekwater wrote:
* \definetyping[prog][numbering=line,location=intext] % from nico
should work now
* The latest bib module
i should pick up that one
* \usemodule[...p=...][modulename] % from Thomas and me
can you explain a bit Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen wrote:
* \usemodule[...p=...][modulename] % from Thomas and me
can you explain a bit
We would like the possibility to have options while loading modules, and the cleanest way of doing that is to have an optional argument to \usemodule, so we can have, e.g.: \usemodule[font=GreekTimes,scale=1100][greek] And in the module: \processaction[\moduleparameter\v!font] [....=>] etcetera. just like a 'normal' parameter. I know this effect can partially be implemented using modes, but sometimes a key=value syntax is much cleaner. This: \enablemode[GreekTimes1100] \usemodule[greek] is not nearly as flexible. Cheers, Taco
Taco Hoekwater wrote:
Hans Hagen wrote:
* \usemodule[...p=...][modulename] % from Thomas and me
can you explain a bit
We would like the possibility to have options while loading modules, and the cleanest way of doing that is to have an optional argument to \usemodule, so we can have, e.g.:
\usemodule[font=GreekTimes,scale=1100][greek]
And in the module:
\processaction[\moduleparameter\v!font] [....=>]
etcetera. just like a 'normal' parameter.
I know this effect can partially be implemented using modes, but sometimes a key=value syntax is much cleaner. This:
\enablemode[GreekTimes1100] \usemodule[greek]
is not nearly as flexible.
ok, i'll add such a feature (btw, usemodule takes two args currently: \usemodule[x][newmml] so effectively we will have: \usemodule[newmml] \usemodule[newmml][a=b] \usemodule[x][newmml] \usemodule[x][newmml][a=b] Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
<--- On Mar 30, Taco Hoekwater wrote --->
* The broken eq reference (at least IMO this is a bug) \starttext \placeformula[eqn1] \startformula \startalign[n=1] a\\ \stopalign \stopformula See \in[eqn1] \stoptext
I am not sure that this is a bug. Infact, I am not behaviour is expected. \placeformula[eq1] \startformula \startalign[n=1] a \\ b \\ \stopalign \stopformula What should \in[eqn1] refer to? The first eqn, the second, or both? Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008
Aditya Mahajan wrote:
<--- On Mar 30, Taco Hoekwater wrote --->
* The broken eq reference (at least IMO this is a bug) \starttext \placeformula[eqn1] \startformula \startalign[n=1] a\\ \stopalign \stopformula See \in[eqn1] \stoptext
I am not sure that this is a bug. Infact, I am not behaviour is expected. \placeformula[eq1] \startformula \startalign[n=1] a \\ b \\ \stopalign \stopformula What should \in[eqn1] refer to? The first eqn, the second, or both?
Both, perhaps. But it could as well take the first one, or the last. My rationale is: if there is a label given by the user, then referring to that should resolve into something that is a valid link. It is definately inconsistent to discard a supplied label because it's contents may be unresolvable. Taco
On Thu, 30 Mar 2006, Taco Hoekwater wrote:
Aditya Mahajan wrote:
<--- On Mar 30, Taco Hoekwater wrote --->
* The broken eq reference (at least IMO this is a bug) \starttext \placeformula[eqn1] \startformula \startalign[n=1] a\\ \stopalign \stopformula See \in[eqn1] \stoptext
I am not sure that this is a bug. Infact, I am not behaviour is expected. \placeformula[eq1] \startformula \startalign[n=1] a \\ b \\ \stopalign \stopformula What should \in[eqn1] refer to? The first eqn, the second, or both?
Both, perhaps. But it could as well take the first one, or the last. My rationale is: if there is a label given by the user, then referring to that should resolve into something that is a valid link. It is definately inconsistent to discard a supplied label because it's contents may be unresolvable.
I agree on that. The label must refer to something. However, explaining what it refers to can quickly get confusing. The numbering should remain consistent with or without the label. \placeformula[eq1] \startformula \startalign \NC a \NC b \NR \NC c \NC d \NR[+] \stopalign \stopformula The first equation should not be numbered. But then this is something like the "ugly loose label" in latex. And what about \placeformula[eq1] \startformula \startalign \NC a \NC b \NR \NC c \NC d \NR \stopalign \stopformula The numbering should be consistent with or without the label. Which means that there should be no numbering. What should the label refer to now? Aditya
Aditya Mahajan wrote:
On Thu, 30 Mar 2006, Taco Hoekwater wrote:
Aditya Mahajan wrote:
<--- On Mar 30, Taco Hoekwater wrote --->
* The broken eq reference (at least IMO this is a bug) \starttext \placeformula[eqn1] \startformula \startalign[n=1] a\\ \stopalign \stopformula See \in[eqn1] \stoptext
I am not sure that this is a bug. Infact, I am not behaviour is expected. \placeformula[eq1] \startformula \startalign[n=1] a \\ b \\ \stopalign \stopformula What should \in[eqn1] refer to? The first eqn, the second, or both?
Both, perhaps. But it could as well take the first one, or the last. My rationale is: if there is a label given by the user, then referring to that should resolve into something that is a valid link. It is definately inconsistent to discard a supplied label because it's contents may be unresolvable.
I agree on that. The label must refer to something. However, explaining what it refers to can quickly get confusing. The numbering should remain consistent with or without the label.
\placeformula[eq1] \startformula \startalign \NC a \NC b \NR \NC c \NC d \NR[+] \stopalign \stopformula The first equation should not be numbered. But then this is something like the "ugly loose label" in latex.
And what about \placeformula[eq1] \startformula \startalign \NC a \NC b \NR \NC c \NC d \NR \stopalign \stopformula
The numbering should be consistent with or without the label. Which means that there should be no numbering. What should the label refer to now?
i've now changed the code so that in \placeformula[eq1]... \NC[+] the number is refered to as eq1 \placeformula[eq1]... \NC[eq2] here eq1 gets lost, while \placeformula... \NC[eq3] is the prefered way Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Gerben Wierda wrote:
On 29 Mar 2006, at 17:47, Hans Hagen wrote:
i'll promote this to current when no problems are reported
lettrine is missing
that's a third party module (for which i need to find a way to fetch them from the wiki and build an extra zip) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Gerben Wierda wrote:
On 29 Mar 2006, at 17:47, Hans Hagen wrote:
i'll promote this to current when no problems are reported
New stuff in the last beta: * support for ancient greek (untested) * some changes to m-streams (untested) * unic-032 and unic-033 are extended * a grouping fix in typing environments * a fix for delimitedtext (Gerben's quotation bug) * \startsubstack ... stopsubstack added * the change for equation label behvaiour. If you want to test it, change the \NC's in Hans' example to \NR's. (a bare \startformula ... \NR[eq4] \stopformula doesnt work, but I am not surprised about that) * modules can have arguments now * accents in MP graphics are restored (Mojca's bug) * unicode vector 37 is loaded (box drawing) * a very small fix to trimming in newtexexec * a \dodoregister fix, but see below Bugs/omissions in the beta: * In core-reg.tex, \doflushatpar has gone in favour of \dogotpar, but \complexdoseeregister and \dodolinkedregister still use it. * \startsubstack ... stopsubstack still uses the \vadjust I wrote, not Hans' improved version * The bibliography module is still ancient * Duncan's xtag-mml patch (on this dev list, 03/24) Cheers, Taco
Taco Hoekwater wrote:
* In core-reg.tex, \doflushatpar has gone in favour of \dogotpar, but \complexdoseeregister and \dodolinkedregister still use it.
done
* \startsubstack ... stopsubstack still uses the \vadjust I wrote, not Hans' improved version
done
* The bibliography module is still ancient
why can't i do: wget -r http://dl.contextgarden.net/modules/
* Duncan's xtag-mml patch (on this dev list, 03/24)
done Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Aditya Mahajan
-
Gerben Wierda
-
Hans Hagen
-
Taco Hoekwater