Re: [NTG-context] about alignment in itemize

2011-02-05 Thread Jeong Dalyoung
Dear Li,

Thank you for the solution.
It works fine.

In ConTeXt, there are so many hidden jewelry for a simple user like me.
But it is a joy to find one by one.

Best regards,

Dalyoung

 
 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
___


Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Andreas Harder
Hi,you could play with my attached example.

head-with-subtitle.tex
Description: Binary data
Nearly the same is wikified underhttp://wiki.contextgarden.net/Generate_Authorlist_from_Head_ContentGreeting	AndreasAm 05.02.2011 um 02:13 schrieb Jeong Dalyoung:Dear all,The otherday, I asked about three line chapter head and got a solution.\chapter{\tfd Title \\ \tfc subtitle}Then, in the table of contents, it also listed as a big fonts.How to make the contents with a normal fonts?I tried \setuplist[style=normal, textstyle=normal], but no differences.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-contextwebpage : http://www.pragma-ade.nl / http://tex.aanhet.netarchive : 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@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] chapter head and placelist

2011-02-05 Thread Jeong Dalyoung
Dear Andreas,

Thank you for your code.
I'll try it.

The other day, Wolfgang suggested me the same page in wiki.
But, It looks a little bit complicate, so I use another simple method.

Now, it is the time to look at it once more.

Thanks again.

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] chapter head and placelist

2011-02-05 Thread Wolfgang Schuster

Am 05.02.2011 um 12:41 schrieb Jeong Dalyoung:

 Dear Andreas,
 
 Thank you for your code.
 I'll try it.
 
 The other day, Wolfgang suggested me the same page in wiki.
 But, It looks a little bit complicate, so I use another simple method.

It’s no so complicated as you think.

The \startchapter command has two arguments, the first is used for
the chapter argument like title, reference, bookmark etc. and
the second argument, which is optional, for your own values, like
author, subtitle etc.

You can now access these values in your own chapter layout with
\structurevariable for the normal arguments (e.g. title) and
\structureuservariable for your own arguments (e.g. subtitle).

\define[2]\ChapterCommand
  {\starttabulate[|l|l|]
   \NC title \EQ \structurevariable{title} \NC\NR
   \NC reference \EQ \structurevariable{reference} \NC\NR
   \NC author\EQ \structureuservariable{author}\NC\NR
   \NC subtitle  \EQ \structureuservariable{subtitle}  \NC\NR
   \stoptabulate}

\setuphead[chapter][command=\ChapterCommand]

\starttext
\startchapter[reference=sec:knuth,title=Knuth][author=Donald E. 
Knuth,subtitle=ConTeXt Sample File]
\input knuth
\stopchapter
\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
___


[NTG-context] formatting title pages and table of contents

2011-02-05 Thread Paul Menzel
Dear ConTeXt folks,


how do you set a title page? I took [1] as an example where `\title{}`
is formatted using `\setuphead[title][…]`. But then if I want to use `
\completecontent` to insert the table of contents [2] – I need it with
the title – then »Contents« is also formatted using the definition for `
\title{}`, i. e., in my case a second page is inserted. ;-) [1] does not
have to deal with this problem using `\placecontent`.

Could you advise me of a “best practice” method how to accomplish both
in a reusable manner?


Thanks,

Paul


[1] 
http://wiki.contextgarden.net/Law_Faculty_University_of_Ljubljana_Styling_and_citations
[2] http://wiki.contextgarden.net/Table_of_Contents


signature.asc
Description: This is a digitally signed message part
___
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] formatting title pages and table of contents

2011-02-05 Thread Wolfgang Schuster

Am 05.02.2011 um 18:51 schrieb Paul Menzel:

 Dear ConTeXt folks,
 
 
 how do you set a title page? I took [1] as an example where `\title{}`
 is formatted using `\setuphead[title][…]`. But then if I want to use `
 \completecontent` to insert the table of contents [2] – I need it with
 the title – then »Contents« is also formatted using the definition for `
 \title{}`, i. e., in my case a second page is inserted. ;-) [1] does not
 have to deal with this problem using `\placecontent`.
 
 Could you advise me of a “best practice” method how to accomplish both
 in a reusable manner?

\starttext

\startstandardmakeup[align=middle]
\definedfont[Serif at 30pt]Titlepage
\stopstandardmakeup

…

\stoptext

See also http://wiki.contextgarden.net/Document_Titles

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
___


[NTG-context] Updated vim module

2011-02-05 Thread Aditya Mahajan

Hi all,

I have released a new version of t-vim that relies on the t-filter module. 
The 2context.vim script that generates a ConTeXt file has changed. 
The generated file is now much cleaner (and read under a simplified 
catcodes). You should be able to update to a new version using ConTeXt 
minimals.


This version supports
- a syntax highlighting environment
- an inline syntax highlighting macro
- a macro to syntax highlight external files.

See 
https://github.com/adityam/filter/blob/vim/doc/context/third/vim/vim.txt 
for brief documentation. The new syntax is not completely backwards 
compatible!


Hopefully, this version will work correctly on all operating systems (No 
more quotes mess like the previous versions).




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
___