Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
Op maandag 6 sep 2010 20:29 CEST schreef Wolfgang Schuster: > I wonder why need this command when can get the same result with normal > context commands: > > \definesymbol[checkbox][{[~~~]}] > \defineitemgroup[checkbox] > \setupitemgroup[checkbox][each][packed][margin=2.5

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Aditya Mahajan
On 2010-09-06, at 7:07 PM, Cecil Westerhof wrote: > > Op maandag 6 sep 2010 20:29 CEST schreef Wolfgang Schuster: > >> I wonder why need this command when can get the same result with normal >>context commands: >> >> \definesymbol[checkbox][{[~~

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Cecil Westerhof
Op maandag 6 sep 2010 20:29 CEST schreef Wolfgang Schuster: > I wonder why need this command when can get the same result with normal > context commands: > > \definesymbol[checkbox][{[~~~]}] > \defineitemgroup[checkbox] > \setupitemgroup[checkbox][each][packed][margin=2.5

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Aditya Mahajan
ine. Add \blank at the begin and end of your macro: \def\CheckBoxes[#1][#2]% {\blank #1\par \processcommalist[#2]\... \blank} I wonder why need this command when can get the same result with normal context commands: \definesymbol[checkbox][{[~~~]}] \defineitemgroup[checkbox] \setupit

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Wolfgang Schuster
I always want an empty line. Add \blank at the begin and end of your macro: \def\CheckBoxes[#1][#2]% {\blank #1\par \processcommalist[#2]\... \blank} I wonder why need this command when can get the same result with normal context commands: \definesymbol[checkbox][{[~~~]}] \defineitem

Re: [NTG-context] How to use musical symbols from a font

2010-04-29 Thread Willi Egger
wrote: > Hi, > > Thanks, Willi, for the idea, but I cannot get it to work. My version of the > script > > \starttext > \definefontsynonym[Wingdings][Wingdings.ttf] > \definesymbol[box][\getglyph{Wingdings}{\char113}] > %\def\Check% > % {{\tfa\symbol[box]}}

Re: [NTG-context] How to use musical symbols from a font

2010-04-29 Thread Vyatcheslav Yatskovsky
Hi, Thanks, Willi, for the idea, but I cannot get it to work. My version of the script \starttext \definefontsynonym[Wingdings][Wingdings.ttf] \definesymbol[box][\getglyph{Wingdings}{\char113}] %\def\Check% % {{\tfa\symbol[box]}} \symbol[box] \stoptext gives the following error (I have

Re: [NTG-context] How to use musical symbols from a font

2010-04-28 Thread Willi Egger
Hi, The approach to using symbols could be done along the following line: \definefontsynonym[Dingbats][uzdr] \definesymbol[box][\getglyph{Dingbats}{\char113}] \def\Check% {{\tfa\symbol[box]}} Willi On 27 Apr 2010, at 23:35, Vyatcheslav Yatskovsky wrote: Hi, I want to use musical

Re: [NTG-context] \fieldstack with mkiv

2010-02-14 Thread Hans Hagen
On 14-2-2010 17:45, Wolfgang Schuster wrote: Am 14.02.10 14:32, schrieb Hans Hagen: On 13-2-2010 11:45, Peter Münster wrote: \setupinteraction[state=start] \definesymbol[step1][AAA] \definesymbol[step2][BBB] \definefieldstack[test][step1, step2] \starttext \fieldstack[test] Just click \goto

Re: [NTG-context] \fieldstack with mkiv

2010-02-14 Thread Wolfgang Schuster
Am 14.02.10 14:32, schrieb Hans Hagen: On 13-2-2010 11:45, Peter Münster wrote: \setupinteraction[state=start] \definesymbol[step1][AAA] \definesymbol[step2][BBB] \definefieldstack[test][step1, step2] \starttext \fieldstack[test] Just click \goto{here}[JS(Walk_Field{test})] to walk through the

Re: [NTG-context] \fieldstack with mkiv

2010-02-14 Thread Hans Hagen
On 13-2-2010 11:45, Peter Münster wrote: \setupinteraction[state=start] \definesymbol[step1][AAA] \definesymbol[step2][BBB] \definefieldstack[test][step1, step2] \starttext \fieldstack[test] Just click \goto{here}[JS(Walk_Field{test})] to walk through the fieldstack! \goto{(restart)}[JS

[NTG-context] \fieldstack with mkiv

2010-02-13 Thread Peter Münster
Hello, What is needed to get \fieldstack working in mkiv? The following example works with mkii, but not with mkiv: \setupinteraction[state=start] \definesymbol[step1][AAA] \definesymbol[step2][BBB] \definefieldstack[test][step1, step2] \starttext \fieldstack[test] Just click \goto{here}[JS

Re: [NTG-context] Call for papers (pracjourn & mkiv)

2009-12-15 Thread Aditya Mahajan
command=\pracjournfootnote, ] \setupnotedefinition [footnote] [location=left,hang=1] \def\pracjournfootnote#1{\hbox to 1.5em{#1.}} %D \TPJ\ uses dash as the first level of itemize and text period as the second %D level. The third level is left unspecified. \definesymbol [1] [

Re: [NTG-context] last beta and fieldstacks

2009-11-06 Thread luigi scarso
On Sat, Nov 7, 2009 at 7:57 AM, Taco Hoekwater wrote: > Wolfgang Schuster wrote: >> >> Hi, >> >> the latest beta has a problem with fieldstacks. >> >> >> \setupinteraction[state=start] >> >> \definefieldstack[symbollist][symbol1,symbol1][fr

Re: [NTG-context] last beta and fieldstacks

2009-11-06 Thread Taco Hoekwater
Wolfgang Schuster wrote: Hi, the latest beta has a problem with fieldstacks. \setupinteraction[state=start] \definefieldstack[symbollist][symbol1,symbol1][frame=off] \definesymbol[symbol1][1] \definesymbol[symbol2][2] \starttext \fieldstack[symbollist] \stoptext PS: Is it possible to

Re: [NTG-context] astronomy symbols

2009-08-16 Thread Wolfgang Werners-Lucchini
inefontsynonym [UnicodeSymbols] [name:unicodesymbols] > > \def\UnicodeSymbol#1{\getglyph{UnicodeSymbols}{\utfchar{#1}}} > > \startsymbolset [miscellaneoussymbols] > > \definesymbol[blacktelephone][\UnicodeSymbol{"260E}] > \definesymbol[whitetelephone

Re: [NTG-context] astronomy symbols

2009-08-15 Thread Wolfgang Schuster
\definefontsynonym [UnicodeSymbols] [name:unicodesymbols] \def\UnicodeSymbol#1{\getglyph{UnicodeSymbols}{\utfchar{#1}}} \startsymbolset [miscellaneoussymbols] \definesymbol[blacktelephone][\UnicodeSymbol{"260E}] \definesymbol[whitetelephone][\UnicodeSymbol{"260F}] \definesymb

Re: [NTG-context] Itemize symbol

2009-03-24 Thread Wolfgang Schuster
trick how to produce diamond (\diamond). But there is no \dash symbol defined. From symb-mis.tex: \definesymbol [bullet][\mathematics{\bullet}] \definesymbol [dash] [\mathematics{-}] \definesymbol [star] [\mathematics{\star}] \definesymbol [triangle] [\mathematics{\tri

[NTG-context] modife the style of taspresent

2009-03-03 Thread Bill Long
und=nobackground]} %D We use combinations for placing vertical pictures and text side by side, and %D we want a distance of 1.1 cm between both. \setupcombinations[distance=1.1cm] %D The symbol for the first level of itemizations. \definesymbol[1][\useMPgraphic{ItSquare}] \setupitemize[1][color

[NTG-context] MP color and interaction (alpha)

2009-01-08 Thread Peter Rolf
Hi, seems that color support is also broken in case of interaction. I get no red frame for the attached example. Best wishes, Peter \setupcolors[state=start] \setupinteraction[state=start] \starttext \definesymbol[no][] \definefield[check-me][check][setup3][yes,no][no] \setupfield[setup3][n

Re: [NTG-context] \definecharacter

2008-11-13 Thread Hans Hagen
ating symbols and a metrical font. What would you suggest using > instead? \definecharacter etc were closely related to font encoding, so unless you defined them in 'default' encoding you had to replicate the definitions in each fotn encoding a more natural variant for you

[NTG-context] last beta and fieldstacks

2008-11-06 Thread Wolfgang Schuster
Hi, the latest beta has a problem with fieldstacks. \setupinteraction[state=start] \definefieldstack[symbollist][symbol1,symbol1][frame=off] \definesymbol[symbol1][1] \definesymbol[symbol2][2] \starttext \fieldstack[symbollist] \stoptext PS: Is it possible to change \ctxlatetua to

[NTG-context] scope of references and symbols

2008-09-10 Thread Alan Stone
Hi, What's the scope of references and symbols defined through \definereference[myRef][ThisRef] \definesymbol[myRef][ThisSymbol] and \reference[ThisRef]{} -- Best, Alan * using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int: english/english (on Windo

Re: [NTG-context] zero padding with itemize

2008-06-11 Thread Wolfgang Schuster
his is described in ConTeXt the manual, page 216: The symbols used under 1 to 8 can be defined with the command \definesymbol and the conversion of the numbering with \defineconversion > Thanks a lot! > Peter Wolfgang __

Re: [NTG-context] \Asterisk

2008-05-28 Thread Aditya Mahajan
try >>>> >>>> \input mathabx >>>> >>>> $\Asterix$ >>> >>> What is with Obelix? >>> >>>> and see if this works with plain tex and ConTeXt. >>>> >>>> Only the metafont files are avail

Re: [NTG-context] \Asterisk

2008-05-28 Thread Wolfgang Schuster
;>> and see if this works with plain tex and ConTeXt. >>> >>> Only the metafont files are available, I do not know if someone >>> has created a type1 version. >> >> Why so complicated, * did also work with Latin Modern and the other fonts. >> >> I

Re: [NTG-context] \Asterisk

2008-05-28 Thread Aditya Mahajan
x. You can try >> >> \input mathabx >> >> $\Asterix$ > > What is with Obelix? > >> and see if this works with plain tex and ConTeXt. >> >> Only the metafont files are available, I do not know if someone >> has created a type1 version. > > Why so co

Re: [NTG-context] \Asterisk

2008-05-28 Thread Wolfgang Schuster
ConTeXt. > > Only the metafont files are available, I do not know if someone > has created a type1 version. Why so complicated, * did also work with Latin Modern and the other fonts. I prefer \definesymbol [asterisk] [\char"2A\relax] and \symbol{asterisk}, you're way is al

Re: [NTG-context] ConTeXt logo with cows

2008-02-05 Thread Peter Rolf
n_T_e_X_t} > already available? > I haven't tried it myself, so I can't give you a working example. But symb-cow.tex looks quite promising... \definesymbol[CowConTeXt] [\CowLogo{2}] \definesymbol[CowConTeXtComplete] [\CowLogo{3}] \definesymbol[CowConTeXtShadow]

Re: [NTG-context] to obtain glyphs in marvosym.pfb

2008-01-04 Thread Mojca Miklavec
s list, even if I choose not to follow all their > recommendations ;-) To say the truth I've already devoted the last three days > in learning how to use ConTeXt and cannot envisage to swap to LuaTeX before > some time. > > > But alas I've got a new problem which I sta

[NTG-context] to obtain glyphs in marvosym.pfb

2008-01-04 Thread Yvon Henel
three days in learning how to use ConTeXt and cannot envisage to swap to LuaTeX before some time. But alas I've got a new problem which I state hereafter: I've tried this: \definesymbol [Telefon][\getglyph{umvs}{\char84}] because umvs.tfm is in the marvosym directory but it doesn&#x

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
e][settings] \definesection[name] \definesectionblock[name][settings] \definesorting[singular][plural][command] \definestartstop[name][commands] \definesubfield[name][name][names] \definesymbol[name][text] \definesynonyms[singular][plural][command][command] \definetabletemplate[n

Re: [NTG-context] Female sign in Context

2007-10-27 Thread Taco Hoekwater
asculine \usesymbols[was] \symbol[wasy general][female] \symbol[wasy general][male] But the minimals don't contain the wasysym font, so it makes sense to add your two definitions to symb-mvs.tex, with the added benefit that it is loaded automatically. And I think it would be nice to be abl

Re: [NTG-context] Female sign in Context

2007-10-27 Thread Wolfgang Schuster
and the female symbols. \usesymbols[mvs] \startsymbolset [gender] \definesymbol[Male] [\MartinVogelSymbol{124}] \definesymbol[Female][\MartinVogelSymbol{126}] \stopsymbolset \starttext \symbol[gender][Male] \symbol[gender][Female] \stoptext Wolfgang _

[NTG-context] System commands are disabled

2007-10-13 Thread Leo
ere---start->8--- \starttext \startreusableMPgraphic{return} drawarrow (0,0)-- (1EmWidth,0)-- (1EmWidth,-.5ExHeight)-- (.5EmWidth,-.5ExHeight) ; \stopreusableMPgraphic \definesymbol[return][\reuseMPgraphic{return}] \setupcolors[state=start] \def\vcrlf{\symbol[return]\crlf

Re: [NTG-context] Interactive slides---hidden field on every page

2007-09-17 Thread Peter Rolf
> I tried this: > > \definefield[Content][check][HelpSetup][content][content] > \setupfields[reset] > \setupfield[HelpSetup] > [width=fit,height=fit,frame=off,option={readonly,hidden}] % > \definesymbol[content][\SomeContentText] > \def\SomeContentText{% > \startfram

[NTG-context] Interactive slides---hidden field on every page

2007-09-16 Thread Michal Kvasnička
width=fit,height=fit,frame=off,option={readonly,hidden}] % \definesymbol[content][\SomeContentText] \def\SomeContentText{% \startframedtext [width=\textwidth, height=fit, frame=on, background=color, backgroundcolor=tmava,framecolor=svetla]% \placecontent} \stopframedtext } % \setu

[NTG-context] Interactive slides---hidden field on every page

2007-09-12 Thread Michal Kvasnička
page---a field containing the list of content. I'd like it to go to the \Topic I want to discuss and disappear. I tried this: \definefield[Content][check][HelpSetup][content][content] \setupfields[reset] \setupfield[HelpSetup] [width=fit,height=fit,frame=off,option={readonly,hidden}] % \

Re: [NTG-context] itemize start=2

2007-08-29 Thread Wolfgang Schuster
ion with 2 you have to define your own > > number conversion. > > > > \def\nextnumber#1{\the\numexpr#1+1\relax} > > > > \defineconversion[nn][\nextnumber] > > > > \starttext > > \startitemize[nn] > > \item zwei > > \item drei > > \stopitem

Re: [NTG-context] luatex and interaction

2007-08-07 Thread Peter Rolf
http://contextgarden.net > ___ > \setupoutput[pdftex] \setupinteraction[state=start] \setupcolors[state=start] \starttext \tracefieldstrue \switchtobodyfont[96pt] \def\FS#1{\framed[width=4cm,height=4cm,strut=

Re: [NTG-context] Weird Fieldstack problem

2007-06-11 Thread Zhichu Chen
s boundingbox. > > I know what's happening now. \definesymbol doesn't define a symbol > from \getMPdrawing at once. Yes, \definesymbol[a][b] is roughly equal to \def\a{b}, for example \starttext \def\something{aa} \definesymbol[aa][\something] \symbol[aa] \def\something{bb} \

Re: [NTG-context] Weird Fieldstack problem

2007-06-08 Thread Aditya Mahajan
ox. > > I know what's happening now. \definesymbol doesn't define a symbol > from \getMPdrawing at once. Yes, \definesymbol[a][b] is roughly equal to \def\a{b}, for example \starttext \def\something{aa} \definesymbol[aa][\something] \symbol[aa] \def\something{bb} \symbol[aa] \

Re: [NTG-context] Weird Fieldstack problem

2007-06-08 Thread Zhichu Chen
Hi Aditya, Actually, they should have the same boundingbox, the first MPdrawing environment draws a line from (0,0) to (2cm,2cm) and the sequence MPdrawing environments just add two lines that are in the previous boundingbox. I know what's happening now. \definesymbol doesn't defin

Re: [NTG-context] Weird Fieldstack problem

2007-06-08 Thread Aditya Mahajan
gt; > \startMPdrawing > draw (0,0)--(2cm,2cm); > \stopMPdrawing > \definesymbol[aa][\getMPdrawing] > > \startMPdrawing > draw (2cm,2cm)--(2cm,0); > \stopMPdrawing > > \definesymbol[bb][\getMPdrawing] > > \startMPdrawing > draw (0,0)--(2cm,0); > \stopMPdrawing &g

[NTG-context] Weird Fieldstack problem

2007-06-08 Thread Zhichu Chen
Hi, I've written the following test file: == \setupcolors[state=start] \setuppagenumbering[state=stop] \setupinteraction [state=start] \starttext \MPdrawingdonetrue \startMPdrawing draw (0,0)--(2cm,2cm); \stopMPdrawing \definesymbol[aa][\getMPdrawing] \startMPdr

Re: [NTG-context] using of field failed when arrange subpages

2007-04-16 Thread Zhichu Chen
lds [reset] \setupfield [HelpSetup] [width=1.2em,height=fit,frame=off,option={readonly,hidden}] \def\currenthelp{Help::\abc} \definefield [\currenthelp] [check] [HelpSetup] [helpinfo\abc] [helpinfo\abc] \definesymbol [helpinfo\abc] [\SomeHelpText] \def\SomeHelpText% {\framed [width=1.2em,hei

[NTG-context] using of field failed when arrange subpages

2007-04-15 Thread Zhichu Chen
tupfield [HelpSetup] [width=1.2em,height=fit,frame=off,option={readonly,hidden}] \def\currenthelp{Help::\abc} \definefield [\currenthelp] [check] [HelpSetup] [helpinfo\abc] [helpinfo\abc] \definesymbol [helpinfo\abc] [\SomeHelpText] \def\SomeHelpText% {\framed [width=1.2em,height=fit,align=middle

Re: [NTG-context] [dev-context] Improved support for Norwegian in ConTeXt

2007-02-10 Thread Karl Ove Hufthammer
ommands are used >> for. We usually don't use em-dashes in Norwegian, so the entries look >> incorrect. If you can explain what the commands are used for, I can supply >> the correct Norwegian definitions. >> >> I also noticed that the Italian definitions use leftspeec

Re: [NTG-context] Custom itemization broken by the new release

2006-11-27 Thread Hans Hagen
Renaud Aubin wrote: > Hi all, > > The following code > > % frenchitemize > \setbox0=\hbox{--~} > \def\indenteddash#1{\hskip\parindent--~} > \definesymbol[indentdash][\indenteddash] > \defineitemgroup[frenchitemize] > \setupitemgroup[frenchite

[NTG-context] Custom itemization broken by the new release

2006-11-26 Thread Renaud Aubin
Hi all, The following code % frenchitemize \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \defineitemgroup[frenchitemize] \setupitemgroup[frenchitemize] [each] [indentdash,packed,joinedup

Re: [NTG-context] Still have no idea about how to specify fonts in JavaScript fields.

2006-11-22 Thread Hans Hagen
f (f) { if (f.textFont == "Times-Roman") { f.textFont = "LMRoman12-Regular"; } else { f.textFont = "Times-Roman"; } } \stopJScode \setupinteraction[state=start] \pdfcompresslevel=0 \starttext \definefield[TestField][t

[NTG-context] beta: bug with transparent colors in fields

2006-11-13 Thread Peter Rolf
) { v.userName="This may help..." ; } } } \stopJSpreamble \newcounter\AnotherNote \def\SomeNote#1#2% {\hbox {\doglobal\increment\AnotherNote \definesymbol[note:\AnotherNote:on][\WhatANote{#2}]% % \setupfield[notes][offset=overlay,frame=off,option={read

Re: [NTG-context] character redefinition environment

2006-11-05 Thread Hans Hagen
ine if I assign these graphics to non-letters, e.g. > "|", but somehow it doesn't work with normal letters. > > Here is what I tried (with a simple Foo instead of Metapost graphics): > > \definesymbol[foosymbol][{\tt Foo}] > \def\startmychars{% > \bgroup\catcod

[NTG-context] character redefinition environment

2006-11-05 Thread Enzo Cordes
. "|", but somehow it doesn't work with normal letters. Here is what I tried (with a simple Foo instead of Metapost graphics): \definesymbol[foosymbol][{\tt Foo}] \def\startmychars{% \bgroup\catcode`\|=\active\def|{\symbol[foosymbol]}} \def\stopmychars{\egroup} This works with

Re: [NTG-context] how to define a new math symbol

2006-10-25 Thread M.J. Kallen
] \definefontsynonym [Prodint] [prodint] \def\ProdintSymbol#1{\getglyph{Prodint}{\char#1}} \startsymbolset \definesymbol[prodi] [\ProdintSymbol{80}] \definesymbol[Prodi] [\ProdintSymbol{82}] \definesymbol[PRODI] [\ProdintSymbol{84}] \stopsymbolset but texexec stops when mktexfm cannot find t

Re: [NTG-context] goto & framed

2006-10-17 Thread Peter Rolf
t; > \startbuffer[stack3] > draw (0,5cm)--(10cm,5cm); > \stopbuffer > > > \definesymbol[step 1][{\processMPbuffer[stack1]}] > \definesymbol[step 2][{\processMPbuffer[stack1,stack2]}] > \definesymbol[step 3][{\processMPbuffer[stack1,stack2,stack3]}] > &

[NTG-context] goto & framed

2006-10-17 Thread Renaud AUBIN
Hi folks ! Consider the working example: \usemodule[pre-original] \starttext \startbuffer[stack1] draw (0,0)--(10cm,10cm); \stopbuffer \startbuffer[stack2] draw (0,10cm)--(10cm,0); \stopbuffer \startbuffer[stack3] draw (0,5cm)--(10cm,5cm); \stopbuffer \definesymbol[step 1

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-14 Thread Hans Hagen
Renaud AUBIN wrote: > Hi all, > > After several trial-error experiments, I obtained what I want with the > attached code. I use only one background for the frames within > definesymbol because the use of several background "failed" (only the > last one is eventually d

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-14 Thread Peter Rolf
;) Renaud AUBIN wrote: > Hi all, > > After several trial-error experiments, I obtained what I want with the > attached code. I use only one background for the frames within > definesymbol because the use of several background "failed" (only the > last one is eventually di

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-13 Thread Renaud AUBIN
Hi all, After several trial-error experiments, I obtained what I want with the attached code. I use only one background for the frames within definesymbol because the use of several background "failed" (only the last one is eventually displayed). Now, I would like to know if it is p

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-13 Thread Peter Rolf
\StopFrame > } > \stopbuffer > > \startbuffer[third] > \setlayer[bglayer][x=.70\textwidth,y=.7\textheight,location=b]{ > \FrameTitle{Tufte} > \StartFrame[width=.75\textwidth] > \input tufte > \StopFrame > } > \stopbuffer > >

[NTG-context] Fielstack and Layers for Presentation

2006-10-12 Thread Renaud AUBIN
x=.70\textwidth,y=.7\textheight,location=b]{     \FrameTitle{Tufte}     \StartFrame[width=.75\textwidth]   \input tufte     \StopFrame   } \stopbuffer   \definesymbol[empty][]   \definesymbol[one][{\getbuffer[first]}]   \definesymbol[two][{\getbuffer[first,second]}]   \definesymbol[three][{\getbuffer

Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Hans Hagen
g to use \doifnumberelse in a \setuplist numbercommand= but it > isn't working. > as mojca said ... #1 is not a simple thing (try \showargument{#1}) here's a solution, tricky but in this case ok \definesymbol[list][whatever][\DoWhatever] \def\DoWhatever{\doifnumberelse{\c

Re: [NTG-context] Cow-font (was Context 2006.08.08 released}

2006-08-09 Thread Taco Hoekwater
ntour]{\hsmash{\getglyph{CowsLogoContour}{#1}}}% \color[cow:normal] {\getglyph{CowsLogo} {#1 \def\CowLogo#1% {\getglyph{CowsLogo}{\char#1\relax}} \startsymbolset[cownormal] \definesymbol[CowPragmaADE][\CowLogo{0}] \definesymbol[CowPragma] [\CowLogo{1}]

Re: [NTG-context] custom itemize

2006-08-07 Thread Aditya Mahajan
On Fri, 4 Aug 2006, Renaud AUBIN wrote: > > % frenchitemize > \setbox0=\hbox{--~} > \def\indenteddash#1{\hskip\parindent--~} > \definesymbol[indentdash][\indenteddash] > \def\startfrenchitemize{\startitemize[indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr &

Re: [NTG-context] custom itemize

2006-08-04 Thread Renaud AUBIN
% frenchitemize \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \def\startfrenchitemize{\startitemize[indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr \parindent + \wd0 \relax]} \def\stopfrenchitemize{\stopitemize

Re: [NTG-context] custom itemize

2006-08-04 Thread Taco Hoekwater
Renaud AUBIN wrote: > > Hi all, > > Some times ago, Taco helps me to define a custom itemize: > \setbox0=\hbox{--~} > \def\indenteddash#1{\hskip\parindent--~} > \definesymbol[indentdash][\indenteddash] > \setupitemize[each][indentdash,packed,joinedup,intext][inden

[NTG-context] custom itemize

2006-08-04 Thread Renaud AUBIN
Hi all, Some times ago, Taco helps me to define a custom itemize: \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \setupitemize[each][indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr \parindent + \wd0 \relax] The result

Re: [NTG-context] \endproof

2006-07-13 Thread Hans Hagen
maybe with overlays and metafun, > that they'd like to share? > \definesymbol [qed] [\mathematics{\square}] \def\QeD{\wordright{\symbol[qed]}} \input tufte \QeD \end - Hans Hagen

Re: [NTG-context] wasy symbols

2006-06-24 Thread Henning Hraban Ramm
Am 2006-06-21 um 22:23 schrieb Hans van der Meer: > Thanks, but now I am at a loss about the line > \definesymbol [checked] [\WaldiSymbol {8}] > What is its purpose then? (Curious, as always :-) See http://wiki.contextgarden.net/Symbols \symbol[checked] have a look into t

Re: [NTG-context] wasy symbols

2006-06-21 Thread Hans van der Meer
Thanks, but now I am at a loss about the line \definesymbol [checked] [\WaldiSymbol {8}] What is its purpose then? (Curious, as always :-) Hans van der Meer On Jun 21, 2006, at 21:53, Hans Hagen wrote: > Hans van der Meer wrote: >> I need one of the wasy symbols, the chec

Re: [NTG-context] wasy symbols

2006-06-21 Thread Hans Hagen
Hans van der Meer wrote: > I need one of the wasy symbols, the check mark to be exact. > > Now I add: > \usemodule[symb-was] > > and this allows me to type set the mark with: > WaldiSymbol = \WaldiSymbol {8} > > but although the module file defines: >

[NTG-context] wasy symbols

2006-06-21 Thread Hans van der Meer
I need one of the wasy symbols, the check mark to be exact. Now I add: \usemodule[symb-was] and this allows me to type set the mark with: WaldiSymbol = \WaldiSymbol {8} but although the module file defines: \definesymbol [checked] [\WaldiSymbol {8}] I cannot do

Re: [NTG-context] Fieldstack Walk

2006-04-22 Thread Peter Rolf
t;> >> > > > > > % interface=en output=pdftex > % Time-stamp: > % > \setupinteraction[state=start] > \setupcolors[state=start] > > \starttext > > \tracefieldstrue > &

Re: [NTG-context] Fieldstack Walk

2006-04-22 Thread Peter Rolf
t \tracefieldstrue \switchtobodyfont[96pt] \def\FS#1{\framed[width=4cm,height=4cm,strut=no]{\red\bf#1}}% \definesymbol [empty] [] \definesymbol [one] [\FS{1}] \definesymbol [two] [\FS{2}] \definesymbol [three] [\FS{3}] \definesymbol [four][\FS{4}] \definesymbol [five][

Re: [NTG-context] Fieldstack Walk

2006-04-18 Thread Peter Rolf
gt; Many thanks once more. >> M.K. >> >> > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context % interface=en output=pdftex % Time-stamp: % \setupinteraction[stat

Re: [NTG-context] Fieldstack Walk

2006-04-18 Thread Peter Rolf
fieldstack in my presentation. I'd like to go to the next >>> frame when I click on the figure. I tried this: >>> >>> \definefieldstack[fgolds3] >>> [sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3] >>> [frame=off,clickin=JS(Walk_Field{fgolds3})] >

Re: [NTG-context] Fieldstack Walk

2006-04-18 Thread Peter Rolf
clickin=JS(Walk_Field{fgolds3})] > \definesymbol[sgolds1][{\externalfigure[golds1]}] > \definesymbol[sgolds3a][{\externalfigure[golds3a]}] > \definesymbol[sgolds3b][{\externalfigure[golds3b]}] > \definesymbol[sgolds3c][{\externalfigure[golds3c]}] > \definesymbol[sgolds3][{\externalfigure[gold

[NTG-context] Fieldstack Walk

2006-04-18 Thread Michal Kvasnička
Good morning. I use a fieldstack in my presentation. I'd like to go to the next frame when I click on the figure. I tried this: \definefieldstack[fgolds3] [sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3] [frame=off,clickin=JS(Walk_Field{fgolds3})] \definesymbol[sgolds1][{\externalfigure[g

Re: [NTG-context] itemize (bis)

2006-04-11 Thread Renaud AUBIN
Thanks Taco to help me on this issue. I eventually use (allmost copy-paste from #context): \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \setupitemize[each][indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr \parindent

Re: [NTG-context] rotate problem

2005-12-21 Thread Henning Hraban Ramm
Am 2005-12-21 um 14:43 schrieb Hans Hagen: In \definesymbol [CC ulp7][\CeltSymbol{81}] \definesymbol [CC urp7][{\rotate[270]{\CeltSymbol{81}}}] \definesymbol [CC lrp7][{\rotate[180]{\CeltSymbol{81}}}] \definesymbol [CC llp7][{\rotate[90]{\CeltSymbol{81}}}] each of

Re: [NTG-context] rotate problem

2005-12-21 Thread Hans Hagen
n add something like Border to supp-fun or so ... probably some scaling is involved as well Thank you very much! I'm just playing around with your code und found that rotate seems to set its angle globally: In \definesymbol [CC ulp7][\CeltSymbol{81}] \definesymbol [CC ur

Re: [NTG-context] rotate problem (was: fonts/borders)

2005-12-21 Thread Henning Hraban Ramm
supp-fun or so ... probably some scaling is involved as well Thank you very much! I'm just playing around with your code und found that rotate seems to set its angle globally: In \definesymbol [CC ulp7][\CeltSymbol{81}] \definesymbol [CC urp7][{\rotate[270]{\CeltSymbol{81}}

Re: [NTG-context] Placing a scaled symbol within the flow of text

2005-12-04 Thread Hans Hagen
Pearson, Mark (Capita Symonds) wrote: Hi all, I am attempting to insert a symbol at a reduced size within the text flow but I'm not sure how to achieve this. I've included my test script below. \starttext \definefontsynonym[Dingbats][uzdr] \definesymbol[filledSq][\getglyp

Re: [NTG-context] Placing a scaled symbol within the flow of text

2005-12-02 Thread Taco Hoekwater
Pearson, Mark (Capita Symonds) wrote: Hi all, I am attempting to insert a symbol at a reduced size within the text flow but I'm not sure how to achieve this. I've included my test script below. \starttext \definefontsynonym[Dingbats][uzdr] \definesymbol[filledSq][\getglyp

[NTG-context] Placing a scaled symbol within the flow of text

2005-12-02 Thread Pearson, Mark (Capita Symonds)
Hi all, I am attempting to insert a symbol at a reduced size within the text flow but I'm not sure how to achieve this. I've included my test script below. \starttext \definefontsynonym[Dingbats][uzdr] \definesymbol[filledSq][\getglyph{Dingbats}{\char110}] \def\FilledSq{\symbo

Re: [NTG-context] distance with \godown

2005-10-20 Thread Willi Egger
rif at 25pt] \definebodyfont[10pt,11pt,12pt][ss][bfe=sansserif at 25pt] %/// % Symbole die bei Itemize verwendet werden %/////// \definesymbol[3][{\color[middlegreen]{\symbol[star]

[NTG-context] distance with \godown

2005-10-20 Thread Jessica Holle
// % Symbole die bei Itemize verwendet werden %/////// \definesymbol[3][{\color[middlegreen]{\symbol[star]}}] \definesymbol[5][{\color[middlegreen]{$\bullet$}}] \definesymbol[6][{\color[middlegree

[NTG-context] Q: footline and more the oneline with pic

2005-10-06 Thread Alexander Lazic
ange the distance between the item-symbol and the item-text, i think with one option from \setupitemize but which one ;-)?! What do you mean, is there a easier solution for that in context?! Greetings al ;-) --- \setuppapersize [A4][A4] \setupcolors[state=start] \definesymbol[12][\us

Re: [NTG-context] installing context

2005-10-03 Thread Rob Ermers
pandafter \def \csname #1\endcsname \dodefinesymbol ... {\??ss :\currentsymboldef :#1} {#2}\addvalue {\??ss *\cur... \definesymbol l.201 \definesymbol [Manside] [\MartinVogelSymbol{205}] If you really absolutel

[NTG-context] installing context

2005-10-02 Thread Rob Ermers
xmf\tex\context\base\symb-nav.tex ! TeX capacity exceeded, sorry [hash size=35000]. \setvalue ...xpandafter \def \csname #1\endcsname \dodefinesymbol ... {\??ss :\currentsymboldef :#1} {#2}\addvalue {\??ss *\cur... \definesymbol

Re: [NTG-context] Using latex font-packages

2005-08-09 Thread Kai Militzer
Hello! Thanks for all who helped me, but I finaly solved the problem. I define glyphs for the characters I want like that \definesymbol [thorn] [\getglyph{frumbr}{\char254}] and then simply use \symbol[thorn] in the text ... Looking back I have to say that it's done pretty quick, i

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Hans Hagen
Stuart Jansen wrote: On Thu, 2005-07-28 at 22:47 +0200, Taco Hoekwater wrote: \definesymbol[mysymbol][{$\diamond$}] \startitemize[mysymbol,packed] \item foo \item bar \item baz \stopitemize /me slaps forehead as penalty add taco's solution to te wiki -)

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Hans Hagen
ormal' environment: \definesymbol[mysymbol][{$\diamond$}] \startitemize[mysymbol,packed] \item foo \item bar \item baz \stopitemize right, best choose such a verbose name otherwise you get a clash with potential keys (taco and i have such a hard wired list of context keys built in our heads

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Hans Hagen
symbols because in some lists I want the regular bullet, and in others I want the custom bullet. Any tips would be appreciated. see symb-mis.tex \definesymbol [1] [{\symbol[bullet]}] \definesymbol [2] [{\symbol[dash]}] ... so \definesymbol[1]{{\symbol[Glamocon Retrobats][GuruBullet]}}

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Stuart Jansen
On Thu, 2005-07-28 at 22:47 +0200, Taco Hoekwater wrote: > \definesymbol[mysymbol][{$\diamond$}] >\startitemize[mysymbol,packed] >\item foo >\item bar >\item baz >\stopitemize /me slaps forehead Of course. I was trying \startitemize[symbol=mysymbol] a

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Taco Hoekwater
Stuart Jansen wrote: For the benefit of anyone reading the archives, the solution requires a \bgroup \egroup pair. Alternatively, if you choose an as-of-yet unknown name for the symbol, then you need to explicitly use it, but no harm is done to the 'normal' environment: \de

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Stuart Jansen
cause > >in some lists I want the regular bullet, and in others I want the custom > >bullet. Any tips would be appreciated. > > > see symb-mis.tex > > \definesymbol [1] [{\symbol[bullet]}] > \definesymbol [2] [{\symbol[dash]}] > ... > > so > > \de

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Hans Hagen
har#1}} \startsymbolset[Glamocon Retrobats] \definesymbol[GuruBullet][\GlamoconRetrobatsSym{121}] % other symbols \stopsymbolset \starttext \symbol[Glamocon Retrobats][GuruBullet] \stoptext % This produces the right symbol. But I can't figure out how to use that bullet in an itemiz

[NTG-context] custom itemize bullet

2005-07-28 Thread Stuart Jansen
obats] \definesymbol[GuruBullet][\GlamoconRetrobatsSym{121}] % other symbols \stopsymbolset \starttext \symbol[Glamocon Retrobats][GuruBullet] \stoptext % This produces the right symbol. But I can't figure out how to use that bullet in an itemized list. I don't

<    1   2   3   4   >