Re: [NTG-context] framed starts a paragraph...
Hans Hagen said this at Mon, 3 Jan 2005 17:44:05 +0100: >this one of those tex side effects (\framed is a vbox) > >hello \dontleavehmode \framed Okay, I came across it when testing my export format. I'll not worry about it, as it's a weird case. :/ -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bib module produces no output
David Antos wrote: ... \def\@@lialternative {\@@lialternativeb} \@@lialternativeb (even better: \setvalue{\??li\c!alternative a}% ) just move that code into core-lst.tex (search for 'variant' to locate the old versions) OK, how should this help? I've tried all of them in the setup (with other alternatives like a or c, too), only the first \def goes without error and has no effect, though. when patched, regenerate the format [so effectively, in the code, '*variantc' becomes '*alternativec'] Thanks and sorry for being a bit slow, no problem, 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature
Maurice Diamantini wrote: Le 26 déc. 04, à 21:57, h h extern a écrit : Christmas present ... Would it not be a better idea to provide another environnement name to avoid conflict with the future standard startline environment? I tried to rename "startlines" to "startLines" with other hack, but it doesn't seem to be suffisant (but I didn't expect to!). no, just the same command, but with an option: \setuplines[space=on] if there is real demand for it i can always make a \definelines[lines] \definelines[Lines][space=on] 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] framed starts a paragraph...
Adam Lindsay wrote: \starttext hello world.\par \framed{hello} world.\par hello \framed{world}.\par \stoptext It looks like an extra \par is inserted after the first \framed. Is this new? (Using latest beta.) this one of those tex side effects (\framed is a vbox) hello \dontleavehmode \framed (beware, \indent and \leavevmode can have side effects) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] framed starts a paragraph...
hi all. What's happening here? \starttext hello world.\par \framed{hello} world.\par hello \framed{world}.\par \stoptext It looks like an extra \par is inserted after the first \framed. Is this new? (Using latest beta.) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- framed-weird.pdf Description: Adobe PDF document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mswincontext.zip and pdfTeX 1.20b ?
Steffen Wolfrum wrote: Hi Hans, happy new year! When do you think you could provide us a mswincontext.zip that includes pdfTeX 1.20b ? when i have a pdftex 20b binary 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature
Le 26 déc. 04, à 21:57, h h extern a écrit : Christmas present ... Thank you Hans for this present !! I just had to search the key to open this present, as I used an old ConTeXt version So I'm trying to switch to the texlive-2004 distribution (choosing the GUTenberg installation set) After some setup (m-bib has changed, ...) I could try your code and... *** it does exactly what I need ! *** Thank you very much ! Just a question. As you keep calling this environment "\startline" I suppose it is intended to be a standard option for "\startline" (which is a great news as I think it is quite usefull for numerous situations) But as the new version of context is not yet in the texlive-2004 (or as texlive-2005 is not yet out ;-) Would it not be a better idea to provide another environnement name to avoid conflict with the future standard startline environment? I tried to rename "startlines" to "startLines" with other hack, but it doesn't seem to be suffisant (but I didn't expect to!). Any way thank you for the solution ! \unprotect \setuplines[\c!space=\v!default] \def\startlines {\@@rgbefore \whitespace %\page[\v!preference]} gaat mis na koppen, nieuw: later \nobreak \begingroup \def\@@rgstepyes{\parindent\zeropoint}% \def\@@rgstepno {\parindent\zeropoint}% \edef\@@rgparindent{\the\parindent}% \globallet\@@rglinesteptoggle\!!plusone \processaction [\@@rgindenting] [ \v!yes=>\def\@@rgstepyes{\parindent\@@rgparindent}% \def\@@rgstepno {\parindent\@@rgparindent}, \v!odd=>\def\@@rgstepyes{\parindent\zeropoint}% \def\@@rgstepno {\parindent\@@rgparindent}, \v!even=>\def\@@rgstepno {\parindent\zeropoint}% \def\@@rgstepyes{\parindent\@@rgparindent}]% \typesettinglinestrue \setupwhitespace[\v!none]% \obeylines \let\checkindentation\relax \@@rgstepno \ignorespaces \gdef\afterfirstobeyedline % tzt two pass, net als opsomming {\gdef\afterfirstobeyedline {\nobreak \global\let\afterfirstobeyedline\relax}}% \def\obeyedline {\par \let\checkindentation\relax % else problems with odd/even \afterfirstobeyedline \ifdim\lastskip>\zeropoint \globallet\@@rglinesteptoggle\!!zerocount \else \doglobal\increment\@@rglinesteptoggle \fi \ifodd\@@rglinesteptoggle\relax \@@rgstepyes \else \@@rgstepno \fi \futurelet\next\dobetweenthelines}% \processaction [\@@rgspace] [ \v!on=>\obeyspaces \def\obeyedspace {\mathortext\normalspace{\dontleavehmode{\tt\controlspace}}}, \v!yes=>\obeyspaces \def\obeyedspace {\mathortext\normalspace{\dontleavehmode\normalspace}}]% \GotoPar} \protect \starttext \startlines test test test $a = 10$ \stoplines \setuplines[space=on] \startlines test test test $a = 10$ \stoplines \setuplines[space=yes] \startlines test test test $a = 10$ \stoplines test test test $a = 10$ \stoptext == Maurice Diamantini wrote: > Well I agree that it's no more "typing" any more! > So a special option for \setuplines would be more appropriate? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mswincontext.zip and pdfTeX 1.20b ?
Hi Hans, happy new year! When do you think you could provide us a mswincontext.zip that includes pdfTeX 1.20b ? Steffen Willi Egger <[EMAIL PROTECTED]> wrote: > Hi Steffen, > > if my installation is not yet outdated: > > This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) > ConTeXt ver: 2004.12.06 > > then the annswer is no. > As you can see my installation based on mswincontext.zip is just 3 weeks > old. > > Kind regards Willi > > Steffen Wolfrum wrote: > > Hi, > > > > I am thinking about downloading the big complete mswincontext.zip > > (context/install/mswincontext.zip). > > > > Does it also include pdfTeX 1.20b ? > > > > I just want to be sure before starting a day long 56k-modem-download. > > > > Thank you, > > > > Steffen P.S. Happy new year! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature
Le 25 déc. 04, à 20:03, John Culleton a écrit : On Friday 24 December 2004 09:23, Mojca Miklavec wrote: Maurice Diamantini wrote: Well I agree that it's no more "typing" any more! So a special option for \setuplines would be more appropriate? Exactly, \starttyping does exactly that what you don't want: it disables math and expansion of TeX commands. Also, perhaps my request is simply an option of \startlines which keep not only the lines break, but also the first spaces of each line (in a verbatim font fors these space) Happy new year ! Thanks to Mojca and John, I use \startlines for the algorithms environment. In the "Algo" environment, I defined some short names command to help dealing with indent spacing (\0, \1, ..., \5) and with itemize like indent (i.e. space with the same length as "- " Here is the environment I defined. It could be better (to keep the use of it event simpler) But as the "père Noël" Hans give me a "Christmas present" (see next post) It is no more usefull! \definestartstop[Algo][ before={ \start \tx \def\H{\phantom{- }}% H for Hyphen (espace correspondant à "- " \def\0{\hskip0em} % indent 0 \def\1{\hskip2em} % indent 1 \def\2{\hskip4em} % indent 2 \def\3{\hskip6em} % indent 3 \def\4{\hskip8em} % indent 5 \def\5{\hskip10em} % indent 6 \setupinterlinespace[small] \startframedtext[ width=\makeupwidth, framecolor=blue, ] \startlines }, after={ \stoplines \stopframedtext \stop }, ] Just a "french like" algorithm \startAlgo \0 Entrée : \1 - nom de l'instance à traiter (e.g. ucp8, ...) \1 - LDS\_Limit Nombre maximum de discordances (e.g. 1 pour LDS\_1, ...) \0 Sortie : \1 - affichage des meilleures solutions primale et duale \0 Algorithme : \1 - initialisation : \2 - LDS\_Counter := 0 (nombre de discordances courantes) \2 - lecture de l'instance \2 - propagation initiale \1 - relaxation lagrangienne principale avec primalisations interne \1\H $\Rightarrow$ on connait bestDualValue, bestPrimalValue et les coûts réduits \1 - explorer le noeud racine (i.e. toutes les variables étant libres) \1 - afficher les résultats \stopAlgo Thanks you very much ! Maurice ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Sidebars and versals Oh my!
Am Mo, den 03.01.2005 schrieb Hans Hagen um 13:32: > since supp-fun is part of the kernel, you need to regenerate a format after a > change, so, adding the numbers in the document is ok; another option is: > > \appended\def\DroppedString{0123456789} > > in either your document, or in your local cont-sys.tex Thank you for your help! I was not aware of the required format regeneration - sorry for bothering you. Yours sincerely Tobias Hilbricht ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bib module produces no output
Hello Hans, On Mon, Jan 03, 2005 at 12:17:34PM +0100, Hans Hagen wrote: > >Alternatives a, b, and c produce number-title-spaces-pagenumber, > >d, e, f, and g seem to be correct. > > > >Can you please have a look? > > ah, some dutch left-overs in the interface translation: > > search for variant in core-lst,tex: sorry, I don't follow you :-(. What I'm saying is that alternatives a, b, and c produce the same result (equal to `b' setting). I expect this to expand to the macros you've cited in the end, so I expect that \setupcombinedlist [content] [alternative=c] should work. > \def\@@lialternative > {\@@lialternativeb} > > \@@lialternativeb > > (even better: \setvalue{\??li\c!alternative a}% ) OK, how should this help? I've tried all of them in the setup (with other alternatives like a or c, too), only the first \def goes without error and has no effect, though. Thanks and sorry for being a bit slow, D.A. -- Q: How many hardware engineers does it take to change a lightbulb? A: None. We'll fix it in software. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Sidebars and versals Oh my!
Tobias Hilbricht wrote: However, adding \def\DroppedString% {ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789} (i.e. the very same lines) to the document preamble of the example above works for numbers and letters as expected. since supp-fun is part of the kernel, you need to regenerate a format after a change, so, adding the numbers in the document is ok; another option is: \appended\def\DroppedString{0123456789} in either your document, or in your local cont-sys.tex 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bib module produces no output
Hi David, Alternatives a, b, and c produce number-title-spaces-pagenumber, d, e, f, and g seem to be correct. Can you please have a look? ah, some dutch left-overs in the interface translation: search for variant in core-lst,tex: \def\@@lialternativea% nr - tit - pag {\def\lijstfill{\hskip .25em}% omdat nu check \def\lijstskip{0em}% \def\lijstwidth{2em}} \def\@@lialternativeb% nr - tit - fill - pag {\def\lijstfill{\hfill}% was \hskip.5em\hfill \def\lijstskip{5em}% \def\lijstwidth{2em}} \def\@@lialternativec% nr - tit - dots - pag {\def\lijstfill{\hskip.5em\lijstdots\hskip.5em}% \def\lijstskip{5em}% \def\lijstwidth{0pt}} \def\@@lialternative {\@@lialternativeb} \@@lialternativeb (even better: \setvalue{\??li\c!alternative a}% ) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Sidebars and versals Oh my!
Am Mo, den 03.01.2005 schrieb Hans Hagen um 11:06: > Tobias Hilbricht wrote: > > > \def\DroppedString{ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789} > > > > in supp-fun.tex does not work for me. > > Can you send me a minimal test file that fails In supp-fun.tex (version=1995.10.10) I have added in line 122 the numbers: \def\DroppedString% {ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789} The following example does not work for the numbers here (but for the letters it works): %-example \def\MyDroppedCaps% {\DroppedCaps {} {uplr8t} {2\baselineskip} {3pt} {\baselineskip} {2}} \language[de] \starttext \MyDroppedCaps H allo ich bin das H und bin am Anfang des Abschnittssehr gro"s geraten. Aber ich kann mich auch klein machen und sehe dannso aus: h! \MyDroppedCaps 1 2 3 im Sauseschritt bringen wir die Liebe mit. \stoptext %--example However, adding \def\DroppedString% {ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789} (i.e. the very same lines) to the document preamble of the example above works for numbers and letters as expected. Yours sincerely Tobias Hilbricht ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Sidebars and versals Oh my!
Tobias Hilbricht wrote: \def\DroppedString{ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789} in supp-fun.tex does not work for me. Can you send me a minimal test file that fails 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Sidebars and versals Oh my!
Am Do, den 30.12.2004 schrieb Hans Hagen um 10:32: > Tobias Hilbricht wrote: > > Am So, den 26.12.2004 schrieb h h extern um 21:33: > > > > I was trying to use the macros provided by supp-fun.tex some month before, > > but I could not get numbers instead of letters to work - see the little > > example below. How can I solve that problem? > > The magic is in: > > \def\DroppedString{ABCDEFGHIJKLMNOPQRSTUVWXYZ} Dear Hans, thanks for your reply! I noticed \DroppedString in supp-fun.tex and tried to include numbers there (to have it permanent) before I asked on this list, but that did not work. Now after your reply I tried a definition of \DroppedString including numbers in the document preamble, and then it works. Is it possible to perform the extended definition of \DroppedString in supp-fun.tex directly? Just changing \def\DroppedString{ABCDEFGHIJKLMNOPQRSTUVWXYZ} to \def\DroppedString{ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789} in supp-fun.tex does not work for me. Thanks again Yours sincerely Tobias Hilbricht ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bib module produces no output
On Sun, Jan 02, 2005 at 03:58:15PM +0100, Taco Hoekwater wrote: > This item has remained on my todo list because the 'criterium=all' > seemed at the time to be a bug in context itself. Will fix soon. Hello, thanks, nevertheless, more things seem to be broken with lists now. I often use \setupcombinedlist [content] [alternative=c] It should (and used to) produce a list with dot leaders between names and page numbers. It doesn't in the last stable. (I've tried to look into core-lst, but it's too complicated for me :-) Alternatives a, b, and c produce number-title-spaces-pagenumber, d, e, f, and g seem to be correct. Can you please have a look? Thanks, D.A. -- Sir Humphrey: "The purpose of minutes is not to record events, it is to protect people." -- Yes, Prime Minister (Official Secrets) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: context, foxet, fonts!
Bruce D'Arcus wrote: I just installed the latest tex and context stuff via Gerben's installer. However, when I try to run foxet, I get a ton of missing font errors like this: ranscript written on mfput.log. grep: utmri8t.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmri8t' failed to make utmri8t.tfm. ! Font \*5ptrmsl*=utmri8t at 5.0pt not loadable: Metric (TFM) file not i learned that tetex (used in gwtex) does not longer distribute those metrics, which is disturbing because their tfm metrics *do* differ from their adobe counterpart, and simply mapping the the u* onto the p* files gives different results; anyhow, you may try: \usetypescript[adobekb][\defaultencoding] 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: No bonds visibel with ppchtex
Kai Straube wrote: % original texmf.cnf -- runtime path configuration file for kpathsea. % Enable system commands via \write18{...}? shell_escape = f shell_escape = t 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context