[NTG-context] How to use vim's syntax folding

2009-12-12 Thread Hubertus
Hello,
I was wondering it there's an easy way how I can use vim's syntax-folding. I've
checked the context syntax files, but there doesn't seem to be anything there. I
also had a brief look at the folding.vim from the LatextSuite, but alas could
not adapt it easily. Is there anyone using this feature?

thx
Hubertus
___
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] Bug with overprinting in Mark II/IV?

2009-12-12 Thread Oliver Heins
Hi Hans,

Hans Hagen  writes:

> Oliver Heins wrote:
>> So is it advisable to change all black to cmyk black or can I safely
>> rely on the DeviceGray black?
>
> if needed i can make that an option at some point (as we already have
> more such auto conversion options)

That would be great. :)

Thanks,
 olli

-- 
Oliver Heins he...@sopos.orghttp://oliverheins.net/
http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8
http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___
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] overprinting backgrounds

2009-12-12 Thread Oliver Heins
Hi Martin,

Martin Schröder  writes:

> Am 11. Dezember 2009 18:48 schrieb Oliver Heins :
>> schön von dir zu hören :).  Ich hoffe, dir geht es gut!
>
> Yep. Und nächstes Jahr komme ich auch mal nach Hannover. :-)

Und ich vielleicht nach Dortmund, schließlich ist da Tagung :)

>>> It's typical for printing houses to set 100% black to overprint in the
>>> preprint workflow (can also be done with Acrobat).
>>
>> Das heißt, dass die Druckerei schwarzen Text, der in meinem PDF auf
>> Knockout steht, noch auf Overprint umschalten kann?
>
> Sollte sie, weil das ist eine ganz normale Anforderung: Schwarzer Text
> soll überdrucken. Das geht auch im Acrobat (Preflight und dann in den
> Profilen suchen).

Hab ich jetzt gefunden, danke.  War hilfreich, um das Problem zu
verstehen.

>> Mein Problem ist, dass die Druckerei anmeckert, dass ein Bereich mit
>> schwarzem Text vor einem Hintergrundbild eben nicht auf Überdrucken
>> gestellt ist.  Was aber eben nur halb wahr ist: Der Bereich ist sehr
>> wohl auf Überdrucken gestellt (kann man im Acrobat unter
>> Ausgabevorschau->Vorschau->Farbwarnungen->Überdrucken_anzeigen sehen
>> kann), gleichwohl wird schwarzer Text (und nur schwarzer! andere Farben
>> werden korrekt separiert!), wenn man die schwarze Farbe in der Vorschau
>> entfernt, regelrecht aus dem Hintergrundbild herausgeschnitten:
>> http://www.sopos.org/olli/overprinting.jpg
>
> 403 :-(

Wenn man's nicht jedesmal überprüft... scp erhält offensichtlich die
Dateirechte, und die waren auf 0600 gesetzt :(  Jetzt sollte es
funktionieren.

Das Problem scheint allerdings gelöst: ein Fehler in der Anzeige des
Acrobat im Zusammenhang mit der /DeviceGray-Farbpalette.  Wenn man
cmyk-Schwarz benutzt oder das Dokument dahin konvertiert, geht alles.
:-)

> Ich bin Montag wieder am Arbeitsplatz und habe dann Zugriff auf einen
> Acrobat.

Ich sende dir Montag mal einen Link zur aktuellen Version der Broschüre.
Wäre toll, wenn du kurz einen Blick drauf werfen könntest, ob dir etwas
auffällt.  Im Prepress-Bereich bin ich blutiger Anfänger :(

Herzlichen Gruß,
 olli

-- 
Oliver Heins he...@sopos.orghttp://oliverheins.net/
http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8
http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___
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] margin option in itemize

2009-12-12 Thread Curiouslearn
Thanks Wolfgang and Luigi. Luigi's solution worked well.
Unfortunately, left={hspace[normal]} did not give the desired outcome.
The item symbols were still at their original location.

I have a follow up question. Based on your solution I also tried
left=\hskip 2.10em, which works too? Is there a reason why \kern is
better than \hskip?

Thanks.

On Sat, Dec 12, 2009 at 1:37 AM, luigi scarso  wrote:
> On Tue, Dec 8, 2009 at 4:11 PM, Curiouslearn  wrote:
>> Can someone please explain why the margin command does not work in
>> this example? What can I do to obtain the margin.
>>
>> Thanks.
>>
>> \setuppapersize[letter][letter]
>> \starttext
>>
>> \input tufte
>>
>> \startitemize
>>        \item This is the first item of outer list.
>>                \startitemize[a][stopper=)]
>>                        \item Context is great. The more I use it the more I 
>> love it.
>>                        \item Hope it continues to develop further.
>>                \stopitemize
>>        \item This is the second item of outer list. Margin command does not
>> work below.
>>                \startitemize[a][stopper=),margin=2in]
>>                        \item Context is great. The more I use it the more I 
>> love it.
>>                        \item Hope it continues to develop further.
>>                \stopitemize
>> \stopitemize
>>
>> \input tufte
>>
>> \stoptext
>> ___
>> 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
>> ___
>>
>
> As wolfgang already wrote
>
> \setuppapersize[letter][letter]
> \setupitemize[2][stopper={:},left={\kern2.10em},width=\dimexpr 
> 2.10em+1em\relax]
> \starttext
> \input tufte
> \startitemize
>       \item This is the first item of outer list.
>               \startitemize[a]
>                       \item Context is great. The more I use it the more it
>                       \item Hope it continues to develop further.
>               \stopitemize
>       \item This is the second item of outer list. Margin command does not
> work below.
>               \startitemize[a]
>                       \item Context is great. The more I use it the
> more I love it.
>                       \item Hope it continues to develop further.
>               \stopitemize
> \stopitemize
> \input tufte
> \stoptext
>
>
> --
> 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  : 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] ppctex + pstricks on texlive2009

2009-12-12 Thread Hans Hagen

Patrice Mégret wrote:

Dear all,

I have installed texlive2009 in place of texlive2007 and I can no longer 
compile programmes combining pstricks and ppchtex.

The following example gives me an error (it is still working on texlive2007 on 
another pc)

\documentclass{article}
\usepackage{pstricks}
\usepackage[pstricks]{m-ch-en}

\listfiles
\begin{document}
\chemical{O_2}
\startchemical
\chemical[SIX,B1..6,R1..6,RZ1..3][CH_3,CH_3,OH]
\stopchemical
\end{document}


can you check if the latest context distribution fixes this?

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


Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-12 Thread Hans Hagen

Oliver Heins wrote:

Hi Peter,

Peter Rolf  writes:


I get the same 'kind of knockedout' text as in the other example...
but the black text is set as /DeviceGray and not /DeviceCMYK
(k-component). You can make this visible by using
'Vorschau: Separiert' with the option 'Einblenden: Nicht-DeviceCMYK'.

I think this is just a limitation of the previewer. You can define
your own cmyk black with \definecolor[myblack][k=1]. I bet that the
knockedout effect will vanish with cmyk black (untested).


You're right.  With k=1, the 'kind of knockedout' vanishes.  Thank you
very much, Peter!

So is it advisable to change all black to cmyk black or can I safely
rely on the DeviceGray black?


if needed i can make that an option at some point (as we already have 
more such auto conversion options)


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


Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-12 Thread Martin Schröder
2009/12/12 Oliver Heins :
> So is it advisable to change all black to cmyk black or can I safely
> rely on the DeviceGray black?

Use CMYK. IIRC AR preflight warns about overprinting etc. not working
with Gray.

Best
   Martin
___
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] Bug with overprinting in Mark II/IV?

2009-12-12 Thread Oliver Heins
Hi Peter,

Peter Rolf  writes:

> I get the same 'kind of knockedout' text as in the other example...
> but the black text is set as /DeviceGray and not /DeviceCMYK
> (k-component). You can make this visible by using
> 'Vorschau: Separiert' with the option 'Einblenden: Nicht-DeviceCMYK'.
>
> I think this is just a limitation of the previewer. You can define
> your own cmyk black with \definecolor[myblack][k=1]. I bet that the
> knockedout effect will vanish with cmyk black (untested).

You're right.  With k=1, the 'kind of knockedout' vanishes.  Thank you
very much, Peter!

So is it advisable to change all black to cmyk black or can I safely
rely on the DeviceGray black?

>> Can you test the following?  My Acrobat is on a machine without net, and
>> my usb stick broke within the experiments.  
>>
> prepress mess + bad luck => *have a break and enjoy your weekend* :)

Well, due to your kind help, I'm able to do so now :-)

Thanks again,
 olli

-- 
Oliver Heins he...@sopos.orghttp://oliverheins.net/
http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8
http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___
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] ppctex + pstricks on texlive2009

2009-12-12 Thread Patrice Mégret
Dear all,

I have installed texlive2009 in place of texlive2007 and I can no longer 
compile programmes combining pstricks and ppchtex.

The following example gives me an error (it is still working on texlive2007 on 
another pc)

\documentclass{article}
\usepackage{pstricks}
\usepackage[pstricks]{m-ch-en}

\listfiles
\begin{document}
\chemical{O_2}
\startchemical
\chemical[SIX,B1..6,R1..6,RZ1..3][CH_3,CH_3,OH]
\stopchemical
\end{document}


! Undefined control sequence.
l.4441 \writestatus
   {loading}{ConTeXt System Macros / General}
?
! Emergency stop.
l.4441 \writestatus
   {loading}{ConTeXt System Macros / General}
End of file on the terminal!

I have no idea how to cope with that error.



Any help is welcome.


Best regards,

Patrice
Patrice Mégret


Important notification: In the context of the creation of the University of 
Mons, FPMs email address policy is changing from '@fpms.ac.be' to 
'@umons.ac.be' (or @student.fpms.ac.be to @student.umons.ac.be), please update 
your contact list accordingly.

Note importante: Dans le cadre de la création de l'Université de Mons, la 
stratégie d'adresse de courrier électronique de la FPMs change de '@fpms.ac.be' 
à '@umons.ac.be' (ou @student.fpms.ac.be to @student.umons.ac.be), merci de 
mettre à jour votre liste d'adresses en conséquence.
___
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
___