This one is supposed to work with the latest version.


At 17:36 11/10/2003, you wrote:


From: "Pawel Jackowski na Onet" <[EMAIL PROTECTED]>
Sent: Saturday, October 11, 2003 9:29 AM
> At 11:09 11/10/2003, you wrote:
> >Hi,
> >
> > > are quite different... There are some warnings in newer one (about
doubled
> > > map entries) but shouldn't play a role here. Thanks for any hints!
> >


From: "Patrick Gundlach" <[EMAIL PROTECTED]> Sent: Saturday, October 11, 2003 11:09 AM > >right. You might want to clean up the map files, but that is not > >important. > > > >tl7: ConTeXt ver: 2002.5.24 fmt: 2003.10.6 int: english mes: english > >tl8: ConTeXt ver: 2003.10.5 fmt: 2003.10.10 int: english mes: english

Ok, the difference is about 17 months in ConTeXt version, while formats are
quite fresh... Can't see the clue :-?

From: "Hans Hagen" <[EMAIL PROTECTED]>
Sent: Saturday, October 11, 2003 11:34 AM
 > actually, cleaning up really matters! I have my own alternative map files
> without the "Internal Font Names" since that will mess up pdf inclusion of
> fonts with similar names but different instances (slanted etc)

I admit that maps in my tl8 installation aren't cleaned up already; I have
to spend some time to make it in the way that suits me best. But the problem
I sent doesn't look to be font-dependent. Every characters are found at this
moment, so I put the problem off.

Lets consider the following code:

\setupitemize[4,packed]
\starttext
\startitemize[n]
 \item one
 \item two
 \item three
\stopitemize
\stoptext

The problem is that in newer installation, default itemize style (meaning
packed, with triangle symbol) IS FORCED instead of style given direclty
(just numbering). The older one do what I would expect; numbered style has a
priority. So after running tl8 I get three items with triangles, but after
running tl7 I get three numbered items. Why it is so? Has anything been
changed in itemizing mechanism? I will accept all changes with pleasure, but
the point is to understand what is going on :-D


Thanks, Pawe/l



_______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

================================================================
Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen.
Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt gecontroleerd.

------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
\unprotect

\def\redostartitemgroup[#1][#2]%
  {\setfalse\inlinelistitem % new, no indent (leftskip)
   \setfalse\concatnextitem % new, concat
   \ifhmode
     \ifconditional\autoconcatnextitem % new, concat
       \ifdim\lastskip=\itemsignal     % new, concat
         \settrue\concatnextitem       % new, concat
       \fi                             % new, concat
     \fi                               % new, concat
     \iftextitems\else\doifnotinset\v!tekst{#1}\par\fi % suboptimal
   \fi
   \begingroup
   \ifnum\itemlevel=\plusone % NIEUW
     \doadaptleftskip{\getitemparameter1\c!marge}%
   \fi
   \dosetraggedcommand{\getitemparameter\itemlevel\c!uitlijnen}\raggedcommand
   \doifsomething{\getitemparameter\itemlevel\c!inspringen}
     {% is \expanded needed?
      \expanded{\setupindenting[\getitemparameter\itemlevel\c!inspringen]}}%
   \doifinset\v!kolommen{#1}%
     {\ifbinnenkolommen\else\ifnum\itemcolumndepth=\zerocount
        \globallet\itemcolumndepth\itemlevel
        \getitemparameter\itemlevel\c!voor
        \processfirstactioninset
          [#1]
          [  \v!een=>\!!counta1\relax,
            \v!twee=>\!!counta2\relax,
            \v!drie=>\!!counta3\relax,
            \v!vier=>\!!counta4\relax,
            \v!vijf=>\!!counta5\relax,
         \s!unknown=>[EMAIL PROTECTED]
        % new
        \edef\columneditemleftskip{\the\leftskip}%
        \def\postprocesscolumnbox##1%
          {\scratchdimen\columneditemleftskip
           \divide\scratchdimen \nofcolumns
           \hbox{\hskip\columneditemleftskip\hbox{\box##1}}}%
        \scratchdimen-\columneditemleftskip
        \multiply\scratchdimen \nofcolumns
        \advance\scratchdimen \columneditemleftskip
        \advance\scratchdimen \hsize
        \edef\columntextwidth{\the\scratchdimen}%
        \leftskip\zeropoint
        % so far
        \startkolommen
          [\c!n=\!!counta, % netter \??op\itemlevel\c!n
           \c!hoogte=,
           \c!lijn=\v!uit,
           \c!balanceren=\v!ja,
           \c!uitlijnen=\v!nee]%
      \fi\fi}%
   \doifinsetelse\v!intro{#1}\itemintrotrue\itemintrofalse
   \doglobal\increment\noflists
   \let\currentlist\noflists
   \newcounter\noflistelements
   \headitemfalse
   \subitemfalse
   \symbolitemfalse
   \let\marsymbol\relax
   \globallet\somdestination\empty
   \let\symsymbol\empty
   \the\itemgroupcommands
   \setitemlevel{#1}%
  %\getitemparameter\itemlevel\empty
   \let\listitem\empty % ** start value
   \doifelsenothing{#1} % iffirstargument
     {\edef\@@opsymbool{\getitemparameter\itemlevel\c!symbool}%
      \letgvalueempty{\@@globalitemsymbol\itemlevel}%
      \global\letitemparameter\itemlevel\v!verder\empty
    % \setitemmark\@@opsymbool % ** default value
      \dosetupitemgroupvariable[\itemlevel][#2]}
     {\dosetupitemgroupconstant[\itemlevel][#1]%
      \dosetupitemgroupvariable[\itemlevel][#2]%
      \doifinsetelse\v!verder{#1}% \noexpand, else problems in non-etex with chinese
        {\edef\@@opsymbool{\noexpand\getvalue{\@@globalitemsymbol\itemlevel}}%
         \getitemparameter\itemlevel\v!verder}
        {\edef\@@opsymbool{\noexpand\getitemparameter{\itemlevel}{\c!symbool}}%
         \global\setitemparameter\itemlevel\v!verder
           {\dosetupitemgroupconstant[\itemlevel][#1]%
            \dosetupitemgroupvariable[\itemlevel][#2]}}%
      \def\docommando##1% \setitemmark resets \docommando
        {\doifnot{##1}{0}{\setitemmark{##1}}}%
    % \processcommalist[#1,\@@opsymbool]\docommando
      \processcommalist[#1]\docommando}% ** preset sequence or provided sequence
   \ifx\listitem\empty
     \setitemmark\@@opsymbool % ** default value
     \ifx\listitem\empty
       \edef\currentitemsymbol{\itemlevel}% ** fall back
     \fi
   \fi
   \ifautoitemintro\ifnum\prevgraf<3
     \itemintrotrue
   \fi\fi
   \ifparagraphitems
     \ifnum\itemlevel>\plusone
       \letitemparameter\itemlevel\c!tussen\empty
     \fi
   \else\ifpackeditems
     \letitemparameter\itemlevel\c!tussen\empty
   \fi\fi
   \calculatelistwidth\itemlevel{\dimen0}%
   \ifdim\dimen0>\zeropoint\relax
     \ifconditional\inlinelistitem\else
       \advance\leftskip \dimen0\relax
     \fi
   \fi}

\def\setitemmark#1% % en pas op: resets \docommando
  {\doifsymboldefinedelse{#1}
     {\edef\currentitemsymbol{#1}%
      \setxvalue{\@@globalitemsymbol\itemlevel}{\currentitemsymbol}%
      \setgvalue{\@@localitemsymbol \itemlevel}{\unknownitemsymbol}%
      \def\listitem{\symbol[\currentitemsymbol]}%
      \let\@@opsymbool\empty}% \let\docommando\gobbleoneargument}
     {\doifconversiondefinedelse{#1}
        {\edef\currentitemsymbol{#1}%
         \setxvalue{\@@globalitemsymbol\itemlevel}{\currentitemsymbol}%
         \setgvalue{\@@localitemsymbol \itemlevel}%
           
{\convertnumber{\currentitemsymbol}{\countervalue{\@@itemcounter\itemlevel}}}%
         \iftextitems
           \doifsomething{\getitemparameter\itemlevel\c!linkertekst}
             {\let\tempsymbol\empty}%
         \fi
         \def\listitem
           {\getitemparameter\itemlevel
              {\iftextitems\c!linkertekst\else\c!links\fi}%
            \getvalue{\@@localitemsymbol\itemlevel}\tempsymbol
            \getitemparameter\itemlevel
              {\iftextitems\c!rechtertekst\else\c!rechts\fi}}%
        \let\@@opsymbool\empty}%\let\docommando\gobbleoneargument}
       {}}}

\protect

\starttext

\startitemize[packed,n]
 \item one   n
 \item two
 \item three
\stopitemize

\setupitemize[packed,4]

\startitemize[n,unpacked]
 \item one n
 \item two
 \item three
\stopitemize

\startitemize[unpacked]
 \item one 4
 \item two
 \item three
\stopitemize

\setupitemize[packed,2]

\startitemize[unpacked]
 \item one 2
 \item two
 \item three
\stopitemize

\setupitemize[packed][symbol=2]

\startitemize[unpacked]
 \item one 2
 \item two
 \item three
\stopitemize

\startitemize[unpacked,n]
 \item one n
 \item two
 \item three
\stopitemize

\stoptext

Reply via email to