[NTG-context] itemize no indentation from the second line

2010-09-15 Thread Zhaopeng Xing
Dear All,

I am trying to get an itemization like this

(1) This is a test. This is a test. This is a test.
This is a test. This is a test. This is a test.

(2) This is a test. This is a test. This is a test.
This is a test. This is a test. This is a test.

i.e., for each item, there is no indentation from the second line. I tried

\setupitemize[left=(, right=), stopper={}, indentnext=no]

But got no effect. Can anyone help me with it? Thank you.

Regards,
Zhaopeng Xing
China Economic Monitoring and Analysis Center, National Bureau of Statistics
of China
___
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] I need bold math italic and symbols

2009-01-07 Thread Zhaopeng Xing
Thank you for the information. I can still bear to use upright \Omega.

2009/1/7 Taco Hoekwater t...@elvenkind.com

 Aditya Mahajan wrote:


  This method works well for most letters, both bold and italic, but for
 capital Greek \Omega \Gamma etc, bold but upright. Do you know how to
 make these letters in italic?


  That is how Euler capital letters are supposed to look. It imitates the
 handwriting of mathematicians, which is upright and not italic. I do not
 know if there is a font that contains italic capital greek letters to match
 euler.


 As you say, the hardwritten appearance is a feature of the euler fonts,
 and I don't think you can find a matching font elsewhere. Hermann Zapfs
 design is so distinctive that everything else will look out of place.

 Best wishes,
 Taco


 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] I need bold math italic and symbols

2009-01-06 Thread Zhaopeng Xing
Thanks. I also want to know how to make euscript \mathcal like this.
www.maths.usyd.edu.au/u/SMS/texdoc/*euscript*.pdf

Since euscript is part of amsfonts now. I tried amsl module, but found no
effect. May I know how to trig euscript mathcal?

2009/1/6 Zhichu Chen zhichu.c...@gmail.com

 On Tue, Jan 6, 2009 at 6:36 AM, Aditya Mahajan adit...@umich.edu wrote:
  On Mon, 5 Jan 2009, Zhaopeng Xing wrote:
 
  Hi,
 
  Can anyone show me how to write math contents in bold and italic fonts?
  {\bf
  } can only produce upright letters. In LaTeX, we can make use of the
  command
  \pmb for this purpose. Is there any shortcut like this in Context?
 Thanks.
 
  Add
 
  \definetypeface [boldmath] [mm] [boldmath] [latin-modern] [modern]
  [encoding=texnansi]
 
  to your typescripts and then you can use \boldsymbol.
 
  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  : https://foundry.supelec.fr/projects/contextrev/
  wiki : http://contextgarden.net
 
 ___
 

 And check this for more information about math:
 http://wiki.contextgarden.net/Category:Math


 --
 Best Regards
 Chen
 

  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn
 

 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] I need bold math italic and symbols

2009-01-06 Thread Zhaopeng Xing
2009/1/6 Aditya Mahajan adit...@umich.edu

 On Tue, 6 Jan 2009, Zhaopeng Xing wrote:

  Thanks. I also want to know how to make euscript \mathcal like this.
 www.maths.usyd.edu.au/u/SMS/texdoc/*euscript*.pdf


 To use euler as your main math typescript, you can use

 \definetypeface[mainface][mm][math][euler][euler][encoding=texnansi]

 with an appropriate roman font (usually, I use palatino for text, and
 artemisia for presentations).

This method works well for most letters, both bold and italic, but for
capital Greek \Omega \Gamma etc, bold but upright. Do you know how to make
these letters in italic?


 If you just want to use euler caligraphic, without changing other math
 fonts (although I do not think that euler blends well with lm), you can
 modify the idea of http://wiki.contextgarden.net/rsfs

As Zhichu said, \cal gives exactly euscripts.


  Since euscript is part of amsfonts now. I tried amsl module, but found no
 effect.


 I personally consider amsl module to be deprecated. Currently, context has
 alternative ways of doing most of what amsl used to do. I would suggest
 against using it.

Thanks. I will discard it, too.



 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] I need bold math italic and symbols

2009-01-05 Thread Zhaopeng Xing
Hi,

Can anyone show me how to write math contents in bold and italic fonts? {\bf
} can only produce upright letters. In LaTeX, we can make use of the command
\pmb for this purpose. Is there any shortcut like this in Context? Thanks.

-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] looking for equivalence to LaTeX algorithm package

2008-12-01 Thread Zhaopeng Xing
Thank you, Walfgang. I will try. It is a good exercise.

2008/12/1 Wolfgang Schuster [EMAIL PROTECTED]

 On Sun, Nov 30, 2008 at 5:09 PM, Zhaopeng Xing [EMAIL PROTECTED] wrote:
  Hi,
 
  Does anyone know how to describe algorithm procedures in similar way as
  LaTeX algorithmic and algorithm packages? I tried to search it on wiki
 but
  found nothing. Thanks.

 \starttext

 \setuplines[space=yes]

 \startlines
 $sum \leftarrow 0$
 \bold{for} $i \leftarrow 1,n$ \bold{do}
$sum \leftarrow sum + i$
 \bold{end for}
 \stoplines

 \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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] looking for equivalence to LaTeX algorithm package

2008-11-30 Thread Zhaopeng Xing
Hi,

Does anyone know how to describe algorithm procedures in similar way as
LaTeX algorithmic and algorithm packages? I tried to search it on wiki but
found nothing. Thanks.

-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to make pagebreak for \setupstyping

2008-11-19 Thread Zhaopeng Xing
Thank you. I will try it.

2008/11/18 Aditya Mahajan [EMAIL PROTECTED]

 On Tue, 18 Nov 2008, Zhaopeng Xing wrote:

  Hi,
 
  I am using the following setup to typeset very long codes. The problem
 is,
  it can only appear on one page. Can anybody help me to split the resulted
  codes onto several pages?
  Thanks.

 Use \start-stop textbackgrounds rather than framedtexts. framedtexts
 cannot split across papes. textbackgrounds are documented in the details
 manaul.

 Aditya

  \setuptyping
 
  [before={\startframedtext[width=\makeupwidth,
 
  background=screen,
 
  backgroundscreen=.96,
 
  style=\tfxx, frame=off]},
 
  after={\stopframedtext}]
 
  \starttyping
  very long codes
  \stoptyping
 

 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] how to make pagebreak for \setupstyping

2008-11-18 Thread Zhaopeng Xing
Hi,

I am using the following setup to typeset very long codes. The problem is,
it can only appear on one page. Can anybody help me to split the resulted
codes onto several pages?
Thanks.

 \setuptyping

[before={\startframedtext[width=\makeupwidth,

background=screen,

backgroundscreen=.96,

style=\tfxx, frame=off]},

after={\stopframedtext}]

\starttyping
very long codes
\stoptyping
-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] external figure extension name PDF not supported

2008-11-01 Thread Zhaopeng Xing
Hi,

There is a problem about a figure name. When I use pdf figures, capital
xx.PDF can not be identified, while only xx.pdf is supported. I hope it
can be fixed because my odf printer always give extension name PDF.
Thanks.

-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] external figure extension name PDF not supported

2008-11-01 Thread Zhaopeng Xing
Well. \externalfigure[a.PDF][type=pdf] works for me. Thanks Zhichu and
Luigi.

2008/11/1 luigi scarso [EMAIL PROTECTED]



 On Sat, Nov 1, 2008 at 3:47 PM, Zhichu Chen [EMAIL PROTECTED] wrote:

 Hi Zhaopeng,

 On Sat, Nov 1, 2008 at 1:31 PM, Zhaopeng Xing [EMAIL PROTECTED] wrote:
  Hi,
 
  There is a problem about a figure name. When I use pdf figures, capital
  xx.PDF can not be identified, while only xx.pdf is supported. I hope
 it
  can be fixed because my odf printer always give extension name PDF.
  Thanks.

 The following command works for me
 \externalfigure[a.PDF][type=pdf]

 By the way, I'm not trying to be professional, could you just write a
 shell
 to convert those figures with correct suffix?

 for j in *\.PDF;
 do
 k=`basename $j .PDF`.pdf
 mv $j $k
 done


 --
 luigi



 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bib module not to break page?

2008-10-20 Thread Zhaopeng Xing
Hi,

I am using the bib module in context. The problem is that
\completepublications always starts a new page to place reference list. Is
there any configuration available such that not to break pages between main
part and the reference? Thanks.

-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module not to break page?

2008-10-20 Thread Zhaopeng Xing
Thanks. I got it!

2008/10/20 Taco Hoekwater [EMAIL PROTECTED]



 Zhaopeng Xing wrote:
  Hi,
 
  I am using the bib module in context. The problem is that
  \completepublications always starts a new page to place reference list.
  Is there any configuration available such that not to break pages
  between main part and the reference? Thanks.

 \completepublications is roughly equivalent to

   \title{References}
   \placepublications[criterium=previous]

 so whether or not you get a page break depends on the settings
 for \title. You could change those settings using \setuphead, or you
 could make \completepublications use a different sectioning command,
 like so

   \setuppublicationlist[title=\section]

 or you could just use explicit

\section {...}
\placepublications[criterium=previous]

 so, there are multiple options.

 Best wishes,
 Taco



 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] t-vim problem

2008-10-07 Thread Zhaopeng Xing
Hi Aditya,

I am using t-vim 2008.09.15, but the following sample runs problem with the
hightlighting file name.

 \usemodule[vim]

\starttext

\definevimtyping [RUBY] [syntax=ruby]

\startRUBY

#! /usr/bin/ruby

# This is my first ruby program

puts Hello World

\stopRUBY

\stoptext


The message is saying:


 ! I can't find file `untitled-1-vimsyntax.tmp-vimsyntax.tmp'.

to be read again

\relax

\dodotypevimfile ...\input #2-vimsyntax.tmp\relax

\egroup \@@vsafter

l.8 \stopRUBY

 Please type another input file name:


I checked the directory. The file should be named to
untitled-1-vimsyntax.tmp instead of untitled-1-vimsyntax.tmp-vimsyntax.tmp.

Can you show me how to figure out such a problem? Thanks.

-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] a bug of math subscript

2008-10-07 Thread Zhaopeng Xing
OK. Thank you for your hint. ${\cal F}_t$ is what I need.

2008/10/7 Aditya Mahajan [EMAIL PROTECTED]

 On Sun, 5 Oct 2008, Zhaopeng Xing wrote:

  Hi,
 
  I found a strange problem with the latest beta on my linux box.
 $\cal{F}_t$
  produces no subscript as in the attachment.

 There are no lowercase caligraphic letters. Did you mean ${\cal F}_t$ or
 $\cal F_T$?

 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] t-vim problem

2008-10-07 Thread Zhaopeng Xing
2008/10/7 Aditya Mahajan [EMAIL PROTECTED]

 On Tue, 7 Oct 2008, Zhaopeng Xing wrote:

  Hi Aditya,
 
  I am using t-vim 2008.09.15, but the following sample runs problem with
 the
  hightlighting file name.
 
  \usemodule[vim]
 
  \starttext
 
  \definevimtyping [RUBY] [syntax=ruby]
 
  \startRUBY
 
  #! /usr/bin/ruby
 
  # This is my first ruby program
 
  puts Hello World
 
  \stopRUBY
 
  \stoptext
 
 
  The message is saying:
 
 
  ! I can't find file `untitled-1-vimsyntax.tmp-vimsyntax.tmp'.
 
  to be read again
 
  \relax
 
  \dodotypevimfile ...\input #2-vimsyntax.tmp\relax
 
  \egroup \@@vsafter
 
  l.8 \stopRUBY
 
  Please type another input file name:

 I thought that I had corrected this. Are you using a recent mtxrun? Type
 in mtxrun --help. Does the third line say

 MtxRun | --execute run a script or program (--noquotes)


Yes, it is. I am using the latest minimal and t-vim is installed in
texmf-local.



  I checked the directory. The file should be named to
  untitled-1-vimsyntax.tmp instead of
 untitled-1-vimsyntax.tmp-vimsyntax.tmp.

 The filenaming is correct. t-vim writes a file called
 \jobname-\number-vimsyntax.tmp and then 2context.vim writes a file with
 filename-vimsyntax.tmp, so in effect t-vim is looking for a file called

 \jobname-\number-vimsyntax.tmp-vimsyntax.tmp.

 This slightly confusing naming scheme is so that --purge does remove all
 the temporary files.

I do not know exactly the inside mechanism. When the message asked me about
the file name, I input \jobname-\number-vimsyntax.tmp and it works. So I
think that the file name should be \jobname-\number-vimsyntax.tmp.


  Can you show me how to figure out such a problem? Thanks.

 Which OS are you using?

I am using Archlinux on a Thinkpad T43. The vi program works fine.


 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] t-vim problem

2008-10-07 Thread Zhaopeng Xing
I am sorry for a hurry reply. The module requires vim but I only install vi
on my laptop. Sorry for my carelessness and Thank you for your attention.

2008/10/7 Zhaopeng Xing [EMAIL PROTECTED]

 The attachment is my test file and logs. Thanks.

 2008/10/7 Zhaopeng Xing [EMAIL PROTECTED]

 2008/10/7 Aditya Mahajan [EMAIL PROTECTED]

 On Tue, 7 Oct 2008, Zhaopeng Xing wrote:

  Hi Aditya,
 
  I am using t-vim 2008.09.15, but the following sample runs problem with
 the
  hightlighting file name.
 
  \usemodule[vim]
 
  \starttext
 
  \definevimtyping [RUBY] [syntax=ruby]
 
  \startRUBY
 
  #! /usr/bin/ruby
 
  # This is my first ruby program
 
  puts Hello World
 
  \stopRUBY
 
  \stoptext
 
 
  The message is saying:
 
 
  ! I can't find file `untitled-1-vimsyntax.tmp-vimsyntax.tmp'.
 
  to be read again
 
  \relax
 
  \dodotypevimfile ...\input #2-vimsyntax.tmp\relax
 
  \egroup \@@vsafter
 
  l.8 \stopRUBY
 
  Please type another input file name:

 I thought that I had corrected this. Are you using a recent mtxrun? Type
 in mtxrun --help. Does the third line say

 MtxRun | --execute run a script or program (--noquotes)


 Yes, it is. I am using the latest minimal and t-vim is installed in
 texmf-local.



  I checked the directory. The file should be named to
  untitled-1-vimsyntax.tmp instead of
 untitled-1-vimsyntax.tmp-vimsyntax.tmp.

 The filenaming is correct. t-vim writes a file called
 \jobname-\number-vimsyntax.tmp and then 2context.vim writes a file with
 filename-vimsyntax.tmp, so in effect t-vim is looking for a file called

 \jobname-\number-vimsyntax.tmp-vimsyntax.tmp.

 This slightly confusing naming scheme is so that --purge does remove all
 the temporary files.

 I do not know exactly the inside mechanism. When the message asked me
 about the file name, I input \jobname-\number-vimsyntax.tmp and it works. So
 I think that the file name should be \jobname-\number-vimsyntax.tmp.


  Can you show me how to figure out such a problem? Thanks.

 Which OS are you using?

 I am using Archlinux on a Thinkpad T43. The vi program works fine.


 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




 --
 Zhaopeng XING

 Tinbergen Institute




 --
 Zhaopeng XING

 Tinbergen Institute




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] highlight VB typesetting

2008-10-06 Thread Zhaopeng Xing
Hi,

I want to type a VB code file named vba.bas in context. After read the
manual, the following codes seems not working well for me. Any suggestion?
There are two features desired: language-specific color typing and small
style. Thanks.

 \definetyping[vb]

\setuptyping[vb][style=small,option=color]

\typefile{assignment1.bas}{vb}


-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] a bug of math subscript

2008-10-06 Thread Zhaopeng Xing
Hi,

I found a strange problem with the latest beta on my linux box. $\cal{F}_t$
produces no subscript as in the attachment.

-- 
Zhaopeng XING

Tinbergen Institute


zpxing.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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] typescript and font features bug?

2008-09-20 Thread Zhaopeng Xing
It seems that the problem is only happened to my laptop. But I am sure that
the minimal was properly installed. Maybe is it a rpwt!

2008/9/20 Hans Hagen [EMAIL PROTECTED]

 Zhaopeng Xing wrote:
  The attachment.

 remark: using those st ligatures is pretty annoying (ok for older docs
 in french etc)

 the funny punctuation is probably due to the frac features .. i found
 (in other fonts) that frac is a rather weird feature in the sense that
 it has to be applied very selectively if only because the contextual
 analysis definitions might not be complete at all

 for me it makes such features rather useless and i'll probably cook up
 my own solution by simply parsing the node list and replacing glyphs; on
 the other hand, even then we end up with suboptimal outcome

 Hans

 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] typescript and font features bug?

2008-09-19 Thread Zhaopeng Xing
The attachment.

2008/9/19 Zhaopeng Xing [EMAIL PROTECTED]

 Hi all,

 I am using the latest minimal and try to compile the following two files
 with luatex. The second file, using typescript and font features together,
 get a serious problem with the final pdf: punctuation centered unexpectedly
 in lines. For the first files, with no font features specified, it is OK. I
 do not know whether someone else can replicate this problem. But it
 happended on my laptop. All compiled are attached in this email.

 %FILE1: test1.tex
 \starttypescript[serif][myserif][name]
 \definefontsynonym[Serif][MinionPro-Regular][]
 \stoptypescript

 \definetypeface [myserif] [rm] [serif] [myserif]   [default]
 \usetypescript[myserif]
 \setupbodyfont[myserif,rm,12pt]

 \starttext
 \input zapf
 \stoptext


 %FILE2: test2.tex
 \definefontfeature[minion][language=dflt, script=latn, mode=node,
frac=yes, onum=yes, kern=yes, liga=yes,
 dlig=yes,
protrusion=quality, expansion=quality]
 \starttypescript[serif][myserif][name]
 \definefontsynonym[Serif][MinionPro-Regular][features=minion]
 \stoptypescript

 \definetypeface [myserif] [rm] [serif] [myserif]   [default]
 \usetypescript[myserif]
 \setupbodyfont[myserif,rm,12pt]

 \starttext
 \input zapf
 \stoptext



 --
 Zhaopeng XING

 Tinbergen Institute




-- 
Zhaopeng XING

Tinbergen Institute


att.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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] typescript and font features bug?

2008-09-19 Thread Zhaopeng Xing
Hi all,

I am using the latest minimal and try to compile the following two files
with luatex. The second file, using typescript and font features together,
get a serious problem with the final pdf: punctuation centered unexpectedly
in lines. For the first files, with no font features specified, it is OK. I
do not know whether someone else can replicate this problem. But it
happended on my laptop. All compiled are attached in this email.

%FILE1: test1.tex
\starttypescript[serif][myserif][name]
\definefontsynonym[Serif][MinionPro-Regular][]
\stoptypescript

\definetypeface [myserif] [rm] [serif] [myserif]   [default]
\usetypescript[myserif]
\setupbodyfont[myserif,rm,12pt]

\starttext
\input zapf
\stoptext


%FILE2: test2.tex
\definefontfeature[minion][language=dflt, script=latn, mode=node,
   frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes,
   protrusion=quality, expansion=quality]
\starttypescript[serif][myserif][name]
\definefontsynonym[Serif][MinionPro-Regular][features=minion]
\stoptypescript

\definetypeface [myserif] [rm] [serif] [myserif]   [default]
\usetypescript[myserif]
\setupbodyfont[myserif,rm,12pt]

\starttext
\input zapf
\stoptext



-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] typescript and font features bug?

2008-09-19 Thread Zhaopeng Xing
btw, the MinionPro version in use is

Version 2.015;PS 002.000;Core 1.0.38;makeotf.lib1.7.9032


2008/9/19 Zhaopeng Xing [EMAIL PROTECTED]

 The attachment.

 2008/9/19 Zhaopeng Xing [EMAIL PROTECTED]

 Hi all,

 I am using the latest minimal and try to compile the following two files
 with luatex. The second file, using typescript and font features together,
 get a serious problem with the final pdf: punctuation centered unexpectedly
 in lines. For the first files, with no font features specified, it is OK. I
 do not know whether someone else can replicate this problem. But it
 happended on my laptop. All compiled are attached in this email.

 %FILE1: test1.tex
 \starttypescript[serif][myserif][name]
 \definefontsynonym[Serif][MinionPro-Regular][]
 \stoptypescript

 \definetypeface [myserif] [rm] [serif] [myserif]   [default]
 \usetypescript[myserif]
 \setupbodyfont[myserif,rm,12pt]

 \starttext
 \input zapf
 \stoptext


 %FILE2: test2.tex
 \definefontfeature[minion][language=dflt, script=latn, mode=node,
frac=yes, onum=yes, kern=yes, liga=yes,
 dlig=yes,
protrusion=quality, expansion=quality]
 \starttypescript[serif][myserif][name]
 \definefontsynonym[Serif][MinionPro-Regular][features=minion]
 \stoptypescript

 \definetypeface [myserif] [rm] [serif] [myserif]   [default]
 \usetypescript[myserif]
 \setupbodyfont[myserif,rm,12pt]

 \starttext
 \input zapf
 \stoptext



 --
 Zhaopeng XING

 Tinbergen Institute




 --
 Zhaopeng XING

 Tinbergen Institute




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] minimal update problem

2008-09-07 Thread Zhaopeng Xing
Hi,

I am using context minimal on a linux box. After I created a directory named
texmf-local under $TEXMFROOT and run command:

ctxtools --updatecontext

All downloaded files went to texmf-local and no update to the folder
texmf-context. I do not like this way of updating, because I keep personal
data/file in texmf-local. Can anybody tell me how to avoid such problem?
-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] How to make caption for nature table?

2008-06-09 Thread Zhaopeng Xing
Hi,

I have a multi-page nature table and tried to give a caption by
\placetable[here][tab:sample]{sample table}{
A nature table here
}

But it will run wrong. It seems multipage stuff can not be float. Is
there any suggestion? Thanks.

-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to make caption for nature table?

2008-06-09 Thread Zhaopeng Xing
Thanks. It works well.

2008/6/9 Wolfgang Schuster [EMAIL PROTECTED]:
 On Mon, Jun 9, 2008 at 10:05 AM, Zhaopeng Xing [EMAIL PROTECTED] wrote:
 Hi,

 I have a multi-page nature table and tried to give a caption by
 \placetable[here][tab:sample]{sample table}{
 A nature table here
 }

 But it will run wrong. It seems multipage stuff can not be float. Is
 there any suggestion? Thanks.

 You need the split parameter for \placetable.

 \placetable
  [split]
  {A very long table}
  {\bTABLE
   \dorecurse{200}{\bTR\bTD Text \eTD\eTR}
   \eTABLE}

 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___