Re: [NTG-context] How to Determine the Current File Name and Line Number in the ConTeXt Source?

2009-07-07 Thread Tad Ashlock

Taco Hoekwater wrote:

Tad Ashlock wrote:
>
> Looks like we're always getting the xstrdup() branch of the conditional.

Probably because you are not reading from a file at that level,
but from a token list. Do you want filename to be a file even
if the current input is not directly from a file at all
(doable, but less meaningful)?

Best wishes,
Taco


Hi Taco,

I'm far from an expert in this realm, but since you asked what *I* 
want... :)


My intention is to associate status.filename and status.linenumber 
together.  That is, I would read and save their values consecutively in 
the same Lua function so that they would refer to the ConTeXt source 
line currently being processed by the ConTeXt engine.


Now you say that ConTeXt may not be reading from a file at that level. 
That I can accept (being a non-expert), but status.linenumber always 
returns the correct line number for the ConTeXt file being processed 
(even if the file is being \input from another file).  It seems to me 
that if the line number within the source file is accurate, then the 
file's name should be accurate, too.


Thank you,
Tad



___
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] Simple Newbie Question.

2009-07-07 Thread luigi scarso
On Wed, Jul 8, 2009 at 2:57 AM, Stirling Westrup  wrote:

> I'm hoping the answer to this question should be obvious, but I'm
> having no luck with it.
>
> I'm trying to do a layout for a 1-page datasheet. At the very bottom
> of the page, in some tiny font, I need to put a copyright notice and
> datasheet ID number.
>
> Ideally I'd like to define some fixed text block containing the text
> (as its exact size and font have not yet been finalized), and then
> somehow define the height of the footer to be exactly equal to the
> height of the text block. Once I've done that, I need to place the
> text in the footer.
>
> I've been going back and forth through the scattered bits of ConTeXt
> manual and the wiki, but I'm having no luck in figuring out how one
> might do this.
>
Doesn't
 http://wiki.contextgarden.net/Visuals
help you ?

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


Re: [NTG-context] Fwd: \setuppagenumbering[]

2009-07-07 Thread Ciro Soto
Thank you Wolfgang,
here is an example that doesn't work.  What am I doing wrong?



\definepapersize[CD][width=5.5in,height=8.5in]
\setuppapersize[CD][letter]
\setuppagenumbering [location=]
\setupfootertexts [\pagenumber]
\setupheadertexts [C.S.][Freedom][C.S.][Freedom]
\setuppagenumbering [alternative=doublesided]
\starttext
\tolerance 1
\startfrontmatter
\start
\setuppagenumbering [location=footer,conversion=romannumerals,]
\setuppagenumber[number=1]

\setupheader [state=stop]
\setupfooter [state=stop]

BOOK TITLE
\vfill
\page[blank,odd]


ANOTHER BOOK TITLE PAGE

\page

\setupfooter [state=start]

COPYRIGHT PAGE
\page

ANOTHE PAGE
\page
\stop

\stopfrontmatter

\startbodymatter
\setuppagenumber [number=1]
\setuppagenumbering[conversion=numbers]
PAGE 1
\page
page 2
\page
\stoptext
\end


==


-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre



On Mon, Jul 6, 2009 at 8:43 AM, Wolfgang
Schuster wrote:
>
> Am 06.07.2009 um 14:39 schrieb Ciro Soto:
>
>> I am still stuck with this problem  any help?
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Simple Newbie Question.

2009-07-07 Thread Stirling Westrup
I'm hoping the answer to this question should be obvious, but I'm
having no luck with it.

I'm trying to do a layout for a 1-page datasheet. At the very bottom
of the page, in some tiny font, I need to put a copyright notice and
datasheet ID number.

Ideally I'd like to define some fixed text block containing the text
(as its exact size and font have not yet been finalized), and then
somehow define the height of the footer to be exactly equal to the
height of the text block. Once I've done that, I need to place the
text in the footer.

I've been going back and forth through the scattered bits of ConTeXt
manual and the wiki, but I'm having no luck in figuring out how one
might do this.

-- 
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
___
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] [***SPAM***] Re: Fraktur symbol in subscript

2009-07-07 Thread Mojca Miklavec
On Wed, Jul 8, 2009 at 00:41, curiouslearn wrote:
> Hans Hagen writes:
>
>>
>> ok, fixed
>>
>
> Taco and Hans, thanks for replying. I updated my Context installation and
> compiled the file again. However, it still does not work. Do I have to do
> something else.

You can fix it manually from Taco's post or you can use
--context=experimental, but then you need to compile LuaTeX by
yourself.

Hans' version of ConTeXt doesn't work with current LuaTeX beta, so
updating is not possible before next LuaTeX is released.

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


Re: [NTG-context] [***SPAM***] Re: Fraktur symbol in subscript

2009-07-07 Thread curiouslearn
Hans Hagen  wxs.nl> writes:

> 
> ok, fixed
> 

Taco and Hans, thanks for replying. I updated my Context installation and
compiled the file again. However, it still does not work. Do I have to do
something else.

Thank you once again.



___
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] Proper way to point removed text?

2009-07-07 Thread Henning Hraban Ramm

Am 2009-07-07 um 17:28 schrieb Maurí cio:


What is the proper way in english printing to show
that some text has been removed from a quote? In
(brazilian) Portuguese, we use [...], for instance:

 Depois de mencionadas outras questões, comentou-se
 o ocorrido.

can quoted as

 [...] comentou-se o ocorrido.


Is there a name for that?


It's called ellipsis (or ellipse) and typeset the same in German.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] Duotones with spot colors

2009-07-07 Thread Piotr Kopszak
Many thanks for all replies,

Well, maybe someone comes up with a solution one day. It would be nice
to have a complete Photoshop-less production environment on linux.
BTW, can tif support spot colors at all, I haven't found any mention
of that anywhere, hence I don't think libtiff might be of use.

Piotr

2009/7/7 William Adams :
> On Jul 7, 2009, at 9:50 AM, Piotr Kopszak wrote:
>
>> I am preparing for a next project which will be printed in two
>> colours. Obviously, perfect opportunity to use duotones. However I got
>> my duotone illustrations in CMYK tiffs with images in yellow and black
>> channels. Obviously black could stay but I would like to convert the
>> yellow channel to the spot colour I am going to use. Any ideas
>> (without using Photoshop) ?
>
> Leave the images be, set the things you want to appear in the spot colour as
> yellow, then tell the printer that the yellow plate is the spot colour and
> to suppress cyan and magenta.
>
> Or use the spot colour and tell the printer to merge the yellow plate w/ the
> spot colour (check first --- while all RIPs should be able to do this, not
> all printers will be willing to).
>
> Or use Enfocus PitStop to post-process the .pdf.
>
> However, unless the spot colour is _very_ light, I doubt that you'll be able
> to use the images as is --- they'll probably print too dark, so you'll need
> to process them anyway. I'd make a PhotoShop action to convert the images to
> multi-channel, then change the yellow plate to the spot colour, then apply a
> curve to lighten the spot colour, then save the image (but make sure you
> keep an original), then I'd use a second action to review all of the files
> on a calibrated monitor, tweaking as necessary and going back to original
> images at need.
>
> William
>
>
> --
> William Adams
> senior graphic designer
> Fry Communications
> Sphinx of black quartz, judge my vow.
>
> ___
> 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
> ___
>



-- 
http://okle.pl
___
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] pretty C with MKIV

2009-07-07 Thread Aditya Mahajan

On Tue, 7 Jul 2009, Hans Hagen wrote:


Aditya Mahajan wrote:

On Tue, 7 Jul 2009, Peter Münster wrote:


On Tue, 7 Jul 2009, Peter Münster wrote:


(I've tried t-vim.tex, but it seems to be broken:
ERROR: I can't find file `test-vimsyntax.tmp-vimsyntax.tmp'.)


Ok, t-vim.tex works now. The mtxrun part was the problem. Here my new
version of the \runvimsyntax macro (perhaps no more MS-Windows
compatibility):

\def\runvimsyntax#1
  {\executesystemcommand
 {vim
  -u NONE  % No need to read unnessary configurations
  -e   % run in ex mode
  -C   % Set compatibile
  -n   % No swap
%  -V10log  % For debugging only, will go away later.
  -c "set tabstop=\@@vstab"
  -c "syntax on"
  -c "set syntax=\@@vssyntax"
  -c "let contextstartline=\@@vsstart"
  -c "let contextstopline=\@@vsstop"
  -c "source `kpsewhich 2context.vim`"
  -c "wqa" "#1"}}


Hey, `kpsewhich 2context.vim` is cheating!

In MkIV, I think that it should be possible to get the full file name 
using luatex's kpse library. Once I figure that out, the call to mtxrun 
can be omitted in a platform independent manner. However, I have no time 
for it right now.


starting point :

   mtxrun --run vim full:2context.vim

inside a context run you can use

  resolvers.resolve("full:2context.vim")

or just resolvers.find_file("2context.vim","other text file")

so using:

  \ctxlua{os.execute("")}

should be doable


Thanks, this seems to work as expected. I will work on a new version that 
will use resolvers.resolve in MkIV, and the old method in MkII.


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
___


Re: [NTG-context] pretty C with MKIV

2009-07-07 Thread Hans Hagen

Aditya Mahajan wrote:

On Tue, 7 Jul 2009, Peter Münster wrote:


On Tue, 7 Jul 2009, Peter Münster wrote:


(I've tried t-vim.tex, but it seems to be broken:
ERROR: I can't find file `test-vimsyntax.tmp-vimsyntax.tmp'.)


Ok, t-vim.tex works now. The mtxrun part was the problem. Here my new
version of the \runvimsyntax macro (perhaps no more MS-Windows
compatibility):

\def\runvimsyntax#1
  {\executesystemcommand
 {vim
  -u NONE  % No need to read unnessary configurations
  -e   % run in ex mode
  -C   % Set compatibile
  -n   % No swap
%  -V10log  % For debugging only, will go away later.
  -c "set tabstop=\@@vstab"
  -c "syntax on"
  -c "set syntax=\@@vssyntax"
  -c "let contextstartline=\@@vsstart"
  -c "let contextstopline=\@@vsstop"
  -c "source `kpsewhich 2context.vim`"
  -c "wqa" "#1"}}


Hey, `kpsewhich 2context.vim` is cheating!

In MkIV, I think that it should be possible to get the full file name 
using luatex's kpse library. Once I figure that out, the call to mtxrun 
can be omitted in a platform independent manner. However, I have no time 
for it right now.


starting point :

   mtxrun --run vim full:2context.vim

inside a context run you can use

  resolvers.resolve("full:2context.vim")

or just resolvers.find_file("2context.vim","other text file")

so using:

  \ctxlua{os.execute("")}

should be doable

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


Re: [NTG-context] pretty C with MKIV

2009-07-07 Thread Aditya Mahajan

On Tue, 7 Jul 2009, Peter Münster wrote:


On Tue, 7 Jul 2009, Peter Münster wrote:


(I've tried t-vim.tex, but it seems to be broken:
ERROR: I can't find file `test-vimsyntax.tmp-vimsyntax.tmp'.)


Ok, t-vim.tex works now. The mtxrun part was the problem. Here my new
version of the \runvimsyntax macro (perhaps no more MS-Windows
compatibility):

\def\runvimsyntax#1
  {\executesystemcommand
 {vim
  -u NONE  % No need to read unnessary configurations
  -e   % run in ex mode
  -C   % Set compatibile
  -n   % No swap
%  -V10log  % For debugging only, will go away later.
  -c "set tabstop=\@@vstab"
  -c "syntax on"
  -c "set syntax=\@@vssyntax"
  -c "let contextstartline=\@@vsstart"
  -c "let contextstopline=\@@vsstop"
  -c "source `kpsewhich 2context.vim`"
  -c "wqa" "#1"}}


Hey, `kpsewhich 2context.vim` is cheating!

In MkIV, I think that it should be possible to get the full file name 
using luatex's kpse library. Once I figure that out, the call to mtxrun 
can be omitted in a platform independent manner. However, I have no time 
for it right now.


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
___


[NTG-context] Proper way to point removed text?

2009-07-07 Thread Maurí­cio

What is the proper way in english printing to show
that some text has been removed from a quote? In
(brazilian) Portuguese, we use [...], for instance:

  Depois de mencionadas outras questões, comentou-se
  o ocorrido.

can quoted as

  [...] comentou-se o ocorrido.


Is there a name for that?

Thanks,
Maurício

___
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] Duotones with spot colors

2009-07-07 Thread William Adams

On Jul 7, 2009, at 9:50 AM, Piotr Kopszak wrote:


I am preparing for a next project which will be printed in two
colours. Obviously, perfect opportunity to use duotones. However I got
my duotone illustrations in CMYK tiffs with images in yellow and black
channels. Obviously black could stay but I would like to convert the
yellow channel to the spot colour I am going to use. Any ideas
(without using Photoshop) ?


Leave the images be, set the things you want to appear in the spot  
colour as yellow, then tell the printer that the yellow plate is the  
spot colour and to suppress cyan and magenta.


Or use the spot colour and tell the printer to merge the yellow plate  
w/ the spot colour (check first --- while all RIPs should be able to  
do this, not all printers will be willing to).


Or use Enfocus PitStop to post-process the .pdf.

However, unless the spot colour is _very_ light, I doubt that you'll  
be able to use the images as is --- they'll probably print too dark,  
so you'll need to process them anyway. I'd make a PhotoShop action to  
convert the images to multi-channel, then change the yellow plate to  
the spot colour, then apply a curve to lighten the spot colour, then  
save the image (but make sure you keep an original), then I'd use a  
second action to review all of the files on a calibrated monitor,  
tweaking as necessary and going back to original images at need.


William


--
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.

___
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] Duotones with spot colors

2009-07-07 Thread Hans Hagen

Piotr Kopszak wrote:

Hello list,

I am preparing for a next project which will be printed in two
colours. Obviously, perfect opportunity to use duotones. However I got
my duotone illustrations in CMYK tiffs with images in yellow and black
channels. Obviously black could stay but I would like to convert the
yellow channel to the spot colour I am going to use. Any ideas
(without using Photoshop) ?


as it is possible to colorize bw bitmap images in context i suppose that 
doing the same with a dual channel image is doable as well but i never 
tried is (low on my list of priorities so you're unlicky that we never 
needed that variant in projects)


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
___


Re: [NTG-context] Duotones with spot colors

2009-07-07 Thread luigi scarso
On Tue, Jul 7, 2009 at 3:50 PM, Piotr Kopszak  wrote:

> Hello list,
>
> I am preparing for a next project which will be printed in two
> colours. Obviously, perfect opportunity to use duotones. However I got
> my duotone illustrations in CMYK tiffs with images in yellow and black
> channels. Obviously black could stay but I would like to convert the
> yellow channel to the spot colour I am going to use. Any ideas
> (without using Photoshop) ?
>
Did you seen
http://www.libtiff.org



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


Re: [NTG-context] pretty C with MKIV

2009-07-07 Thread Renaud Aubin

Hello Peter,

Does the following work for you ?

"
\definevimtyping[XML][syntax=xml]
\definetypevimfile[typeXML][syntax=xml]

[...]

\typeXML{./xml_samples/sample.xml}
"

Renaud


Peter Münster a écrit :

On Tue, 7 Jul 2009, Peter Münster wrote:


(I've tried t-vim.tex, but it seems to be broken:
ERROR: I can't find file `test-vimsyntax.tmp-vimsyntax.tmp'.)


Ok, t-vim.tex works now. The mtxrun part was the problem. Here my new
version of the \runvimsyntax macro (perhaps no more MS-Windows
compatibility):

\def\runvimsyntax#1
   {\executesystemcommand
  {vim
   -u NONE  % No need to read unnessary configurations
   -e   % run in ex mode
   -C   % Set compatibile
   -n   % No swap
%  -V10log  % For debugging only, will go away later.
   -c "set tabstop=\@@vstab"
   -c "syntax on"
   -c "set syntax=\@@vssyntax"
   -c "let contextstartline=\@@vsstart"
   -c "let contextstopline=\@@vsstop"
   -c "source `kpsewhich 2context.vim`"
   -c "wqa" "#1"}}

Cheers, Peter



___
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] Duotones with spot colors

2009-07-07 Thread Piotr Kopszak
Hello list,

I am preparing for a next project which will be printed in two
colours. Obviously, perfect opportunity to use duotones. However I got
my duotone illustrations in CMYK tiffs with images in yellow and black
channels. Obviously black could stay but I would like to convert the
yellow channel to the spot colour I am going to use. Any ideas
(without using Photoshop) ?

Many thanks in advance

Piotr
-- 
http://okle.pl
___
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] pretty C with MKIV

2009-07-07 Thread Peter Münster
On Tue, 7 Jul 2009, Peter Münster wrote:

> (I've tried t-vim.tex, but it seems to be broken:
> ERROR: I can't find file `test-vimsyntax.tmp-vimsyntax.tmp'.)

Ok, t-vim.tex works now. The mtxrun part was the problem. Here my new
version of the \runvimsyntax macro (perhaps no more MS-Windows
compatibility):

\def\runvimsyntax#1
   {\executesystemcommand
  {vim
   -u NONE  % No need to read unnessary configurations
   -e   % run in ex mode
   -C   % Set compatibile
   -n   % No swap
%  -V10log  % For debugging only, will go away later.
   -c "set tabstop=\@@vstab"
   -c "syntax on"
   -c "set syntax=\@@vssyntax"
   -c "let contextstartline=\@@vsstart"
   -c "let contextstopline=\@@vsstop"
   -c "source `kpsewhich 2context.vim`"
   -c "wqa" "#1"}}

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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] CTAN has a new package: ConTeXt Notes

2009-07-07 Thread Yue Wang
in fact we also submit another document yesterday:
http://www.ctan.org/tex-archive/info/context-top-ten/
but I don't know why there is no announcement on the ctan mailing list.

On Tue, Jul 7, 2009 at 3:11 PM, luigi scarso wrote:
> http://www.mail-archive.com/ctan-...@dante.de/msg02315.html
>
> --
> 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
> ___
>
>
___
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] pretty C with MKIV

2009-07-07 Thread Peter Münster
Hello,

Unfortunately, I've no time (and perhaps also not the know-how) to write
a pret-c.lua. What would be the easiest way, to do C pretty printing?
(I've tried t-vim.tex, but it seems to be broken:
ERROR: I can't find file `test-vimsyntax.tmp-vimsyntax.tmp'.)

TIA for any help!
Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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] [***SPAM***] Re: Fraktur symbol in subscript

2009-07-07 Thread Hans Hagen

Taco Hoekwater wrote:


curiouslearn wrote:

Hello All,

While the \fraktur{C} command works for me in the Math mode as part of a regular
expression, it does not work in the subscript. The command I am trying is 
$ x  \sim_{\fraktur{C}}  y $. I get a blank in place of the fraktur C. However,

if I try just $ x \fraktur{C} y $, it works. Does anyone have a fix?

I am using 
This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009)

ConTeXt  ver: 2009.06.14 21:01 MKIV  fmt: 2009.6.25  int: english/english


There is a bug in the mathematics.make_font commands in math-vfu.lua:
They should not be using: euf[mb][689].tfm as those result in a pk
bitmap font inclusion attempt. Updated version attached.


ok, fixed


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


Re: [NTG-context] context installation on Windows XP

2009-07-07 Thread Taco Hoekwater


luigi scarso wrote:
> 
> 
> On Mon, Jul 6, 2009 at 9:59 PM, Philip Brown  > wrote:
> 
> I am having touble installling CONTEX (and metafun) on Windows XP. I
> downloaded and installed Texlive. I am able to run Latex and some
> other programs, but I tried various ways, unsuccesfully, to run
> context. For example I tried running
> texmfstart texexec.rb hello.tex
> and some other combinations, and nothing happened.
> 
>  I went to the PRAGMA-ADE website and downoaded cont-tmf into the
> texmf-local directory and unzipped it. Then I tried
> texexec -make -all
> and a few other combinatins and nothing happened.
> 
> I have Perl v5.10 installed, and I use editor EMACS with AUCTEX
> 
> assistance would be much appreciated,

It looks like you are missing Ruby ( http://www.ruby-lang.org )
___
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] context installation on Windows XP

2009-07-07 Thread luigi scarso
On Mon, Jul 6, 2009 at 9:59 PM, Philip Brown  wrote:

> I am having touble installling CONTEX (and metafun) on Windows XP. I
> downloaded and installed Texlive. I am able to run Latex and some other
> programs, but I tried various ways, unsuccesfully, to run context. For
> example I tried running
> texmfstart texexec.rb hello.tex
> and some other combinations, and nothing happened.
>
>  I went to the PRAGMA-ADE website and downoaded cont-tmf into the
> texmf-local directory and unzipped it. Then I tried
> texexec -make -all
> and a few other combinatins and nothing happened.
>
> I have Perl v5.10 installed, and I use editor EMACS with AUCTEX
>
> assistance would be much appreciated,
>
what about minimals
(http://wiki.contextgarden.net/ConTeXt_Minimals) ?

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


[NTG-context] CTAN has a new package: ConTeXt Notes

2009-07-07 Thread luigi scarso
http://www.mail-archive.com/ctan-...@dante.de/msg02315.html

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