Re: [NTG-context] Speech bubbles

2011-02-03 Thread Wolfgang Schuster

Am 02.02.2011 um 18:12 schrieb Ian Lawrence:

 Evening all:
 
 Has anyone got a nicer \speechbubble definition up their sleeve?
 
 Here is not-nice one, so you know the floor:
 
 \define [1] \speechBubble 
 {\blank
 \framed [width=.6\textwidth ,autowidth=force,align={flushleft}, 
 background=color, backgroundcolor=darkblue,
   foreground=color, foregroundcolor=white,
  frame=off,corner=0,backgroundoffset=5pt,]  {#1}
 ~~~ \tfd \startcolor[darkblue]{'} \stopcolor \tfa
  \blank}
 
 
 Called with things like:
 
 \speechBubble {They could be above or below the frequency we can hear, so 
 called infra-sound or ultra-sound, or the amplitude could be just too small: 
 so not enough power in the radiating pathway for the detector to respond.}
 
 
 I guess there are some people with xs metapost skills out there... But is 
 there as simple way to get a nice curved pointer left or right from the 
 bottom of that rounded rectangle frame?

\startuseMPgraphic{speechbubble}
z1 = (0,0) ; z2 = (OverlayWidth,0) ; z3 = (OverlayWidth,OverlayHeight) ; z4 = 
(0,OverlayHeight) ;
1/2[x1,x2] = x8 + 2cm = x7 + 1cm = x9 - 1cm ; y7 = y9 = 0cm ; y8 = -2cm ;
path p ; p = z1--z7--z8--z9--z2--z3--z4--cycle ;
fill p withcolor blue ;
draw p withpen pencircle scaled 5 ;
setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\defineoverlay[speechbubble][\useMPgraphic{speechbubble}]

\starttext 

\framedtext[frame=off,background=speechbubble]{\input ward }

\blank[4cm]

\framedtext[frame=off,background=speechbubble,width=6cm]{\input ward }

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Latest beta, simpleslides, and font loading

2011-02-03 Thread Hans Hagen

On 3-2-2011 8:49, Wolfgang Schuster wrote:


Here is a minimal example:

\starttext
\doiffontpresentelse{cambria}{yes}{no}
\doiffontpresentelse{unknown}{yes}{no}
\stoptext


This is controlled by a directive. I will make that default, but because 
users can configure it in their configuration file, maybe you should 
force in in simplefonts:


\enabledirectives[fonts.autoreload]

That way you will only get a new scan when the mtxrun --generate has 
happened.


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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] interaction color ?

2011-02-03 Thread Steffen Wolfrum
Hi,
when running (MkIV) the example below I get darkred instead of blue.
What can I do to change these?


\setupinteraction[state=start,color=blue]

\starttext

test\footnote{test}

\stoptext



Thanks, Steffen
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] interaction color ?

2011-02-03 Thread Wolfgang Schuster

Am 03.02.2011 um 12:13 schrieb Steffen Wolfrum:

 Hi,
 when running (MkIV) the example below I get darkred instead of blue.
 What can I do to change these?

Add “contrastcolor=blue”.

http://wiki.contextgarden.net/Interaction#Link_coloring

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] interaction color ?

2011-02-03 Thread Steffen Wolfrum

Am 03.02.2011 um 12:18 schrieb Wolfgang Schuster:

 
 Am 03.02.2011 um 12:13 schrieb Steffen Wolfrum:
 
 Hi,
 when running (MkIV) the example below I get darkred instead of blue.
 What can I do to change these?
 
 Add “contrastcolor=blue”.
 
 http://wiki.contextgarden.net/Interaction#Link_coloring
 
 Wolfgang


Great. Thanks for this prompt hint!

Steffen
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Latest beta, simpleslides, and font loading

2011-02-03 Thread Wolfgang Schuster

Am 03.02.2011 um 10:07 schrieb Hans Hagen:

 On 3-2-2011 8:49, Wolfgang Schuster wrote:
 
 Here is a minimal example:
 
 \starttext
 \doiffontpresentelse{cambria}{yes}{no}
 \doiffontpresentelse{unknown}{yes}{no}
 \stoptext
 
 This is controlled by a directive. I will make that default, but because 
 users can configure it in their configuration file, maybe you should force in 
 in simplefonts:
 
 \enabledirectives[fonts.autoreload]
 
 That way you will only get a new scan when the mtxrun --generate has happened.

Done.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] interaction color ?

2011-02-03 Thread Mojca Miklavec
On Thu, Feb 3, 2011 at 12:18, Wolfgang Schuster wrote:

 Am 03.02.2011 um 12:13 schrieb Steffen Wolfrum:

 Hi,
 when running (MkIV) the example below I get darkred instead of blue.
 What can I do to change these?

 Add “contrastcolor=blue”.
 http://wiki.contextgarden.net/Interaction#Link_coloring
 Wolfgang

But has the bug with random coloring of links ever been resolved? (I
usually get randomly alternating colors with active interaction.)

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] interaction color ?

2011-02-03 Thread Vedran Miletić
2011/2/3 Mojca Miklavec mojca.miklavec.li...@gmail.com

 On Thu, Feb 3, 2011 at 12:18, Wolfgang Schuster wrote:
 
  Am 03.02.2011 um 12:13 schrieb Steffen Wolfrum:
 
  Hi,
  when running (MkIV) the example below I get darkred instead of blue.
  What can I do to change these?
 
  Add “contrastcolor=blue”.
  http://wiki.contextgarden.net/Interaction#Link_coloring
  Wolfgang

 But has the bug with random coloring of links ever been resolved? (I
 usually get randomly alternating colors with active interaction.)


Probably not. I also still have it.

Regards,

Vedran Miletić
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] interaction color ?

2011-02-03 Thread Florian Wobbe
 Hi,
 when running (MkIV) the example below I get darkred instead of blue.
 What can I do to change these?
 
 Add “contrastcolor=blue”.
 http://wiki.contextgarden.net/Interaction#Link_coloring
 Wolfgang
 
 But has the bug with random coloring of links ever been resolved? (I
 usually get randomly alternating colors with active interaction.)
 
 
 Probably not. I also still have it.

It is not only that the links have the wrong color, they are not clickable 
anymore. It doesn't seem that random, though. See attached example in my 
previous mail strange interaction with footnote and section.

Best,
Florian

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Latest beta, simpleslides, and font loading

2011-02-03 Thread Aditya Mahajan

On Thu, 3 Feb 2011, Hans Hagen wrote:


On 3-2-2011 8:49, Wolfgang Schuster wrote:


Here is a minimal example:

\starttext
\doiffontpresentelse{cambria}{yes}{no}
\doiffontpresentelse{unknown}{yes}{no}
\stoptext


This is controlled by a directive. I will make that default, but because 
users can configure it in their configuration file, maybe you should force in 
in simplefonts:


\enabledirectives[fonts.autoreload]

That way you will only get a new scan when the mtxrun --generate has 
happened.


Thanks. That works perfectly.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Speech bubbles

2011-02-03 Thread Ian Lawrence
Thanks Wolfgang..

In case there are any others who are in need.. Here is one with curvy speech 
bubbles, left and right, and wrapped up so they don't overhang any text.
__

\startuseMPgraphic{speechL}
z1 = (0.25cm,0) ; z2=(1 cm,0) ; z3 = (0,-1cm) ; z4 = (2cm,0);z5 = 
(OverlayWidth-0.25cm,0) ; z6 = (OverlayWidth,0.25cm) ; z7 = 
(OverlayWidth,OverlayHeight-0.25cm) ; z8 = (OverlayWidth-0.25cm,OverlayHeight) 
; z9 = (0.25 cm,OverlayHeight);z10=(0,OverlayHeight-0.25cm) ; z11=(0,0.25cm)  ;
path p ; p = z1--z2{down}..{dir 270}z3{dir 30}..{dir 
70}z4--z5{right}..{up}z6--z7{up}..{left}z8--z9{left}..{down}z10--z11{down}..{right}z1--cycle
 ;
fill p withcolor blue ;
draw p withpen pencircle scaled 1 ;
setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\startuseMPgraphic{speechR}
z1 = (0.25cm,0) ; z2=(5 cm,0) ; z3 = (7cm,-1cm) ; z4 = (6cm,0);z5 = 
(OverlayWidth-0.25cm,0) ; z6 = (OverlayWidth,0.25cm) ; z7 = 
(OverlayWidth,OverlayHeight-0.25cm) ; z8 = (OverlayWidth-0.25cm,OverlayHeight) 
; z9 = (0.25 cm,OverlayHeight);z10=(0,OverlayHeight-0.25cm) ; z11=(0,0.25cm)  ;
path p ; p = 
z1{left}..{up}z11--z10{up}..{right}z9--z8{right}..{down}z7--z6{down}..{left}z5--z4{down}..{dir
 270}z3{dir 150}..{dir 110}z2--cycle ;
fill p withcolor blue ;
draw p withpen pencircle scaled 1 ;
setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic


\defineoverlay[speechL][\useMPgraphic{speechL}]

\define [1] \speechbubbleL
{\blank
\framedtext[frame=off,background=speechL, width=7cm]{#1}
\blank[1 cm]}]

\defineoverlay[speechR][\useMPgraphic{speechR}]

\define [1] \speechbubbleR
{\blank
\framedtext[frame=off,background=speechR, width=7cm]{#1}
\blank[1 cm]}]



\starttext
Some text

\speechbubbleL {'Who needs highlighter pens, anyway?'}

If all three are satisfied then then sound radiates from the source to the 
detector. The source-medium-detector model was central to the model of sound. 
The vibrations, because of their nature, travel as variations in physical 
density, so rely on a medium made of particles connecting the source to the 
detector. Other vibrations, very similar in nature, could still travel out from 
the source, but not be detected. 

\speechbubbleR  {They could be above or below the frequency we can hear, so 
called infra-sound or ultra-sound, or the amplitude could be just too small: so 
not enough power in the radiating pathway for the detector to respond.}

More and more dog latin for beginners.. And so on.. And so on
\stoptext
__
Sorry the metapost is not parameterised...I should have variables in to set up 
the offsets and curvature of the corners. But I have not go that far yet...my 
floor is only a little higher, thanks to Wolfgang.

On 3 Feb 2011, at 08:39, Wolfgang Schuster wrote:

 
 Am 02.02.2011 um 18:12 schrieb Ian Lawrence:
 
 Evening all:
 
 Has anyone got a nicer \speechbubble definition up their sleeve?
 
 Here is not-nice one, so you know the floor:
 
 \define [1] \speechBubble 
 {\blank
 \framed [width=.6\textwidth ,autowidth=force,align={flushleft}, 
 background=color, backgroundcolor=darkblue,
  foreground=color, foregroundcolor=white,
 frame=off,corner=0,backgroundoffset=5pt,]  {#1}
 ~~~ \tfd \startcolor[darkblue]{'} \stopcolor \tfa
 \blank}
 
 
 Called with things like:
 
 \speechBubble {They could be above or below the frequency we can hear, so 
 called infra-sound or ultra-sound, or the amplitude could be just too small: 
 so not enough power in the radiating pathway for the detector to respond.}
 
 
 I guess there are some people with xs metapost skills out there... But is 
 there as simple way to get a nice curved pointer left or right from the 
 bottom of that rounded rectangle frame?
 
 \startuseMPgraphic{speechbubble}
 z1 = (0,0) ; z2 = (OverlayWidth,0) ; z3 = (OverlayWidth,OverlayHeight) ; z4 = 
 (0,OverlayHeight) ;
 1/2[x1,x2] = x8 + 2cm = x7 + 1cm = x9 - 1cm ; y7 = y9 = 0cm ; y8 = -2cm ;
 path p ; p = z1--z7--z8--z9--z2--z3--z4--cycle ;
 fill p withcolor blue ;
 draw p withpen pencircle scaled 5 ;
 setbounds currentpicture to OverlayBox ;
 \stopuseMPgraphic
 
 \defineoverlay[speechbubble][\useMPgraphic{speechbubble}]
 
 \starttext 
 
 \framedtext[frame=off,background=speechbubble]{\input ward }
 
 \blank[4cm]
 
 \framedtext[frame=off,background=speechbubble,width=6cm]{\input ward }
 
 \stoptext
 
 Wolfgang
 
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : 

[NTG-context] Issues with bibtex

2011-02-03 Thread views63
Hi all,

the  bibtex is not worked  in latest beta (MkIV)

example:

test.tex

 \setupbibtex[database=ref]

\starttext

The word form \cite[art].

\title{Ref}

\placepublications[criterium=all]

\stoptext


ref.bib


@article{art,
author = author,
title = test,
journal = test,
volume = 25,
number = 7,
pages = 95-98,
year = 2005
}

--
Best regards,

Huang Ze


test.tar.gz
Description: GNU Zip compressed data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Speech bubbles

2011-02-03 Thread Philipp A.
for the record: the TikZ package has built-in parameterized speech bubbles.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Issues with bibtex

2011-02-03 Thread 李延瑞
2011/2/4 views63 view...@gmail.com:
 Hi all,

 the  bibtex is not worked  in latest beta (MkIV)


Works here with the beta 2011.02.02 13:03.

-- 
Best regards,

Li Yanrui (李延瑞)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Speech bubbles

2011-02-03 Thread Wolfgang Schuster

Am 03.02.2011 um 18:38 schrieb Philipp A.:

 for the record: the TikZ package has built-in parameterized speech bubbles.

Can you make a example?

Wolfgang


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Speech bubbles

2011-02-03 Thread Philipp A.
Am 3.2.2011 schrieb Wolfgang Schuster:

 Am 03.02.2011 um 18:38 schrieb Philipp A.:
  for the record: the TikZ package has built-in parameterized speech
 bubbles.
 Can you make a example?

 Wolfgang


of course.
you can read about it in the pgfmanual in chapter 39.7:

\usepackage[tikz]
\usetikzlibrary[shapes.callout]

\starttext
\starttikzpicture
\node[ellips callout, draw] {Hallo!};
\stoptikzpicture
\stoptext

using the options callout relative pointer=(coordinate) and callout absolute
pointer=(coordinate), you can modify where it points to, using standard node
options you can modify other aspects (positioning, padding, width, height,
color, line thickness, …)

beware: i have not tested above code, but it should be obvious.

Philipp
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Issues with bibtex

2011-02-03 Thread views63
Works here with the beta 2011.02.02 13:03.
The same to me. Today, I  update to the beta 2011.02.04 00:30, it also not
working.
the test.blg said

The top-level auxiliary file: test.aux
I couldn't open style file cont-no.bst
---line 2 of file test.aux
 : \bibstyle{cont-no
 :  }
I'm skipping whatever remains of this command
I found no style file---while reading file test.aux
You've used 0 entries,
0 wiz_defined-function locations,
85 strings with 492 characters,
and the built_in function-call counts, 0 in all, are:

and the test.bbl is empty. use luatools cont-no.bst can't found  the
luatools cont-no.bst

2011/2/4 Li Yanrui (李延瑞) liyanrui...@gmail.com

 2011/2/4 views63 view...@gmail.com:
  Hi all,
 
  the  bibtex is not worked  in latest beta (MkIV)
 

 Works here with the beta 2011.02.02 13:03.

 --
 Best regards,

 Li Yanrui (李延瑞)

 ___
 If your question is of interest to others as well, please add an entry to
 the Wiki!

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___



test.aux
Description: Binary data


test.blg
Description: Binary data


test.log
Description: Binary data


test.tuc
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Issues with SyncTeX

2011-02-03 Thread views63
Hi all,


The SyncTeX has an issues with the beta 2011.02.04 00:30.


example:


\synctex=1

\starttext

test

\stoptext

log:

 ! LuaTeX error main ctx instance:1: ')' expected near '\'.

\ctxcommand ...\directlua \zerocount {commands.#1}

 \synctexwarning ...se \writeline \writestatus \m !

systems{BEWARE: synctex fu...

inserted text \synctexwarning

\loadmapfile [mkiv-base.map]\globallet \igno...

\doateverystarttext -\the \everystarttext

\global \everystarttext \emptytoks

\starttext -\doateverystarttext

\ifcase \textlevel \registerfileinfo [begin...

l.2 \starttext

 ? r

--
Best regards,

Huang Ze
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Issues with SyncTeX

2011-02-03 Thread 李延瑞
2011/2/4 views63 view...@gmail.com:
 Hi all,

 The SyncTeX has an issues with the beta 2011.02.04 00:30.


This problem should be casued by \nonknuthmode in core-def.mkiv. You
can comment out it  for the moment.


-- 
Best regards,

Li Yanrui (李延瑞)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] about alignment in itemize

2011-02-03 Thread Jeong Dalyoung
Dear all,

First, yesterday was the new year's day in Lunar calendar, and it is the 
biggest  holiday in a year for us. So I'd like to say Happy New Year! again.

I use the following code to list some items and avoid the overlapping (viii) 
and letters:

\startitemize[r, broad][left={(},right={)},stopper=]
\item it is a test lihe.
\item it is a test lihe.
\item it is a test lihe.
\item it is a test lihe.
\item it is a test lihe.
\item it is a test lihe.
\stopitemize

In the output, the roman numerals left aligned. However, is it possible to make 
it right aligned  as following? 

(iii)
   (iv)
(v)
   (vI)
   (vii)

Thank you for reading.

Best regards,

Dalyoung

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] about alignment in itemize

2011-02-03 Thread 李延瑞
2011/2/4 Jeong Dalyoung hak...@me.com:
 Dear all,

 First, yesterday was the new year's day in Lunar calendar, and it is the 
 biggest  holiday in a year for us. So I'd like to say Happy New Year! again.

 I use the following code to list some items and avoid the overlapping (viii) 
 and letters:

        \startitemize[r, broad][left={(},right={)},stopper=]
        \item it is a test lihe.
        \item it is a test lihe.
        \item it is a test lihe.
        \item it is a test lihe.
        \item it is a test lihe.
        \item it is a test lihe.
        \stopitemize

 In the output, the roman numerals left aligned. However, is it possible to 
 make it right aligned  as following?

    (iii)
   (iv)
    (v)
   (vI)
   (vii)

Hi Dalyoung,

过年好 (happy new year)!

You can try \setupitemize[symalign=flushright,distance=0.5em].

-- 
Best regards,

Li Yanrui
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___