Re: [NTG-context] Special look of \item

2014-05-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

On Thu, 29 May 2014 18:05:47 +0200, Aditya Mahajan adit...@umich.edu wrote:


BTW: I tried to wikify but the result differs from that I'm getting with the
latest beta (attached to this mail);
so I wikified nothing.


The wiki uses an old context version. You should try the example with

context mode=mkiv source=yes
...
/context


Yes, this is what I'm normally using.


If not, post the code and upload the image from your computer.That is better 
than not adding this to the wiki at all!


(It was not truth that Ctx wiki didn't compile the exmaple - but it produced 
another output than the latest Ctx beta!)

Anyway, wikified using an image: http://wiki.contextgarden.net/Command/item

Best regards,

Lukas



Aditya



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

___
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] Special look of \item

2014-05-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... Thanks a lot, that gave me a hint!

Finally I'm using:


\define[1]\ItemCommand{\hangindent=1.5in\relax\simplealignedbox{1.5in}{flushleft}{#1\hss---
 }\ignorespaces}

\setupitemize[command=\ItemCommand]

\starttext
  \startitemize
\item{Ward} \input ward

  \input ward

\item{Knuth} \input knuth
  \stopitemize
\stoptext


BTW: I tried to wikify but the result differs from that I'm getting with the 
latest beta (attached to this mail);
so I wikified nothing.

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

Item.mkiv
Description: Binary data


Item.pdf
Description: Adobe PDF document
___
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] Special look of \item

2014-05-29 Thread Aditya Mahajan
BTW: I tried to wikify but the result differs from that I'm getting with the 
latest beta (attached to this mail);

so I wikified nothing.


The wiki uses an old context version. You should try the example with

context mode=mkiv source=yes 
...

/context

If not, post the code and upload the image from your computer. That is 
better than not adding this to the wiki at all!


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
___


[NTG-context] Special look of \item

2014-05-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

is there a way how to achieve the following look of items inside \staritemize 
... \stopitemize:


|-- textwidth --|

* Item - abc def ghi
 jlk mn op qrst
 uw xyz

  Some other text  that
  belongs to the item.

* Longer item -
 abc def ghi
 jlk mn op qrst
 uw xyz

  Some other text  that
  belongs to the longer
  item.




\starttext
  \startitemize
\item
  Item - abc def ghi
 jlk mn op qrst
 uw xyz

  Some other text  that
  belongs to the item.

\items
  Longer item -
 abc def ghi
 jlk mn op qrst
 uw xyz

  Some other text  that
  belongs to the longer
  item.

  \stopitemize
\stoptext



I played with h-, v-, t-, s- and other boxes, with b/eTABLE but I'm not able to 
get the desired result...

Thank you in advance.

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

___
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] Special look of \item

2014-05-28 Thread Wolfgang Schuster

Am 28.05.2014 um 15:54 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 Hello,
 
 is there a way how to achieve the following look of items inside \staritemize 
 ... \stopitemize:
 
 
 |-- textwidth --|
 
 * Item - abc def ghi
 jlk mn op qrst
 uw xyz
 
  Some other text  that
  belongs to the item.
 
 * Longer item -
 abc def ghi
 jlk mn op qrst
 uw xyz
 
  Some other text  that
  belongs to the longer
  item.
 
 
 
 
 \starttext
  \startitemize
\item
  Item - abc def ghi
 jlk mn op qrst
 uw xyz
 
  Some other text  that
  belongs to the item.
 
\items
  Longer item -
 abc def ghi
 jlk mn op qrst
 uw xyz
 
  Some other text  that
  belongs to the longer
  item.
 
  \stopitemize
 \stoptext
 
 
 
 I played with h-, v-, t-, s- and other boxes, with b/eTABLE but I'm not able 
 to get the desired result…


\define[1]\ItemCommand
  {\hangindent=1em\relax
   #1 – \ignorespaces}

\setupitemize[command=\ItemCommand]

\starttext

\startitemize

\item{Ward} \input ward

\input ward

\item{Zapf} \input zapf

\input zapf

\stopitemize

\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
___