Re: [NTG-context] selectively turn off captions

2007-11-30 Thread luigi scarso
> > TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
> >
> >texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
> >texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
> >tex : pdfeTeX, 3.141592-1.30.5-2.2 (Web2C 7.5.5)
> >context : ver: 2005.01.31
> >cont-en : ver: 2005.01.31  fmt: 2007.11.29  mes: english
>
> The Middle Ages, almost BC in ConTeXt time...
>
> Must update, I'd start with a fresh, clean TeX if I were you.
It depends.
Actually this configuration can produce a good pdf, in the sense
that can be read by Adobe Reader 5.0 and following .
Maybe a complety separete tree (pdftex1.4+ConTeXt) can be a solution.

-- 
luigi
...
it's new .
it's powerful .
it's luatex .
http://www.luatex.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] selectively turn off captions

2007-11-30 Thread Idris Samawi Hamid
On Fri, 30 Nov 2007 08:05:14 -0700, Roger Mason <[EMAIL PROTECTED]> wrote:

> TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
>
>texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
>texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
>tex : pdfeTeX, 3.141592-1.30.5-2.2 (Web2C 7.5.5)
>context : ver: 2005.01.31
>cont-en : ver: 2005.01.31  fmt: 2007.11.29  mes: english

The Middle Ages, almost BC in ConTeXt time...

Must update, I'd start with a fresh, clean TeX if I were you.

Best
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
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] MetaPost 1.002 announcement

2007-11-30 Thread frantisek holop
hmm, on Mon, Nov 26, 2007 at 06:44:54PM +0100, Taco Hoekwater said that
> 
> The MetaPost team is happy to announce a new release of MetaPost:
> 
> --
> MetaPost 1.002
> --

time to update the wikipages...
a reminder for slackers like me :]

-f
-- 
god?  i'm no god.  god has mercy.
___
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] selectively turn off captions

2007-11-30 Thread Roger Mason
Hi Thomas,

"Thomas A. Schmitz" <[EMAIL PROTECTED]> writes:

> Gentoo version numbers are not something that many people around here  
> will know. I assume that 3.0_p1 refers to gentoo's tetex ebuild. This  
> is ancient, tetex has been unmaintained for almost two years (and  
> gentoo should be ashamed that they still haven't gotten around to  
> making texlive the default). Of course it's possible to upgrade, but  
> you will run into trouble: you'll need to compile a newer version of  
> pdftex and install that. The gentoo tex setup is quite complex, and  
> finding out why it is still using some old config file etc. is a royal  
> pain. I tried it for a while and in the end got fed up with it and  
> installed texlive from the iso image (see 
> http://wiki.contextgarden.net/TeX-live) 
> . But if you want to give it a shot, there's a wiki page about it;  
> some info may be slightly updated, but most of it should work as  
> described: 
> http://wiki.contextgarden.net/Linux_Installation#Updating_Gentoo_Linux
>
This is what I have:

TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.141592-1.30.5-2.2 (Web2C 7.5.5)
   context : ver: 2005.01.31
   cont-en : ver: 2005.01.31  fmt: 2007.11.29  mes: english

I think there is now a texlive ebuild that is marked "testing".  Maybe
I should try that first.  I have a package built for teTeX so i can
revert if disaster strikes.

Cheers,
Roger

___
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] selectively turn off captions

2007-11-30 Thread Thomas A. Schmitz

On Nov 30, 2007, at 2:11 PM, Roger Mason wrote:

> is it not possible to update to the current context?  I'm running
> 3.0_p1 (on a Gentoo linux box so I'm acustomed to compiling from
> source).
>
Gentoo version numbers are not something that many people around here  
will know. I assume that 3.0_p1 refers to gentoo's tetex ebuild. This  
is ancient, tetex has been unmaintained for almost two years (and  
gentoo should be ashamed that they still haven't gotten around to  
making texlive the default). Of course it's possible to upgrade, but  
you will run into trouble: you'll need to compile a newer version of  
pdftex and install that. The gentoo tex setup is quite complex, and  
finding out why it is still using some old config file etc. is a royal  
pain. I tried it for a while and in the end got fed up with it and  
installed texlive from the iso image (see 
http://wiki.contextgarden.net/TeX-live) 
. But if you want to give it a shot, there's a wiki page about it;  
some info may be slightly updated, but most of it should work as  
described: 
http://wiki.contextgarden.net/Linux_Installation#Updating_Gentoo_Linux

Thomas
___
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] selectively turn off captions

2007-11-30 Thread Hans Hagen
Wolfgang Schuster wrote:

> and what is the difference in the output compared with my solution,
> the following works for me and I have no caption in the second figure.
> 
> \starttext
> 
> \placefigure{bla}{}
> 
> \setupfloat[figure][default=none]
> 
> \placefigure{bla}{}
> 
> \stoptext

in your case explicit placement keys override the default

-
   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] selectively turn off captions

2007-11-30 Thread Hans Hagen
Roger Mason wrote:
> Hans Hagen <[EMAIL PROTECTED]> writes:
> 
>> then you run an old context and have to wait till the next current 
>> (soon, when the luatex beta is out)
> 
> is it not possible to update to the current context?  I'm running
> 3.0_p1 (on a Gentoo linux box so I'm acustomed to compiling from
> source).

you can try the current beta

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] selectively turn off captions

2007-11-30 Thread Wolfgang Schuster
2007/11/29, Hans Hagen <[EMAIL PROTECTED]>:
> Roger Mason wrote:
> > Hi Wolfgang,
> >
> > "Wolfgang Schuster" <[EMAIL PROTECTED]> writes:
> >
> >> \setupfloat[figure][default=none]
> >
> > Thanks, but that did not work.  The only thing that seems to work is
> > to put {none} for the caption.  However, that means I'm not going to
> > have captions in the manuscript version either.
>
> well, we can misuse the number= key .
>
> % patch, goes in cont-new.tex
>
> \unprotect
>
> \def\presetfloatvariables#1#2#3#4%
>{\doifcommonelse
>   {#2}
>   {\v!left,\v!right,\v!inner,\v!outer,%
>\v!inleft,\v!inright,\v!inmargin,%
>\v!backspace,\v!cutspace,%
>\v!innermargin,\v!outermargin,\v!inneredge,\v!outeredge,%
>\v!leftmargin,\v!leftedge,\v!rightmargin,\v!rightedge}
>   {\global\parfloattrue}
>   {\global\parfloatfalse}%
> \ifinsidecolumns
>   \global\parfloatfalse
> \fi
> \global\sidefloatshift\zeropoint
> \global\sidefloatmaximum\zeropoint
> \global\chardef\sidefloatmethod\floatparameter\c!sidemethod
> \global\chardef\textfloatmethod\floatparameter\c!textmethod
> \global\chardef\sidefloatalign\zerocount
> \globallet\floatrotation\!!zerocount
> \calculatefloatskips
> \ifparfloat
>   \processaction
> [\floatparameter\c!sidealign]
> [\v!height=>\global\chardef\sidefloatalign\plusone,%
>\v!line=>\global\chardef\sidefloatalign\plustwo,% (***)
>   \v!depth=>\global\chardef\sidefloatalign\plusthree,%
>\v!grid=>\global\chardef\sidefloatalign4,%
>\v!halfline=>\global\chardef\sidefloatalign5]%
> % todo (test first):
> \doifinset\v!lokaal{#2}{\chardef\sidefloatalign\zerocount}%
>   \ifcase\sidefloatalign\relax % todo: optie v!lokaal => \else
> \doifinset\v!height  {#2}{\global\chardef\sidefloatalign\plusone}%
> \doifinset\v!line{#2}{\global\chardef\sidefloatalign\plustwo}%
> \doifinset\v!depth   {#2}{\global\chardef\sidefloatalign\plusthree}%
> \doifinset\v!grid{#2}{\global\chardef\sidefloatalign4}%
> \doifinset\v!halfline{#2}{\global\chardef\sidefloatalign5}%
> meant for 'none'
>   \fi
>   \doifinset\v!high{#2}{\global\sidefloattopskip   \zeropoint}%
>   \doifinset\v!low {#2}{\global\sidefloatbottomskip\zeropoint}%
>   \doifinset\v!fit {#2}
> {\global\sidefloattopskip   \zeropoint
>  \global\sidefloatbottomskip\zeropoint
>  \global\floatsideskip  \zeropoint}%
> \else
>   \processallactionsinset
> [#2]
> [ 90=>\globallet\floatrotation\commalistelement,%
>  180=>\globallet\floatrotation\commalistelement,%
>  270=>\globallet\floatrotation\commalistelement]%
> \fi
> \doifinsetelse\v!nonumber{#2}
>   {\global\nofloatnumbertrue}
>   {\doifelse{\floatcaptionparameter\c!number}\v!yes
>  {\global\nofloatnumberfalse}
>  {\global\nofloatnumbertrue}}%
> \ConvertToConstant\doifelse{#4}{}
>   {\global\emptyfloatcaptiontrue}
>   {\global\emptyfloatcaptionfalse}%
> \doifinsetelse\v!none{#2}
>   {\global\nofloatcaptiontrue}
>   {\ConvertToConstant\doifelse{#4}\v!none
>  {\global\nofloatcaptiontrue}
>  {\global\nofloatcaptionfalse}}%
> \doif{\floatcaptionparameter\c!number}\v!none
>{\global\nofloatcaptiontrue}%
> \ifemptyfloatcaption \ifnofloatnumber
>   \global\nofloatcaptiontrue
> \fi \fi}
>
> \protect
>
> \starttext
>
> \placefigure{}{}
>
> \setupcaptions[number=none]
>
> \placefigure{}{}
>
> \stoptext
>
> (I'll add that to the core, but only if you wikify it)

and what is the difference in the output compared with my solution,
the following works for me and I have no caption in the second figure.

\starttext

\placefigure{bla}{}

\setupfloat[figure][default=none]

\placefigure{bla}{}

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


Re: [NTG-context] selectively turn off captions

2007-11-30 Thread Roger Mason
Hans Hagen <[EMAIL PROTECTED]> writes:

> then you run an old context and have to wait till the next current 
> (soon, when the luatex beta is out)

is it not possible to update to the current context?  I'm running
3.0_p1 (on a Gentoo linux box so I'm acustomed to compiling from
source).

Thanks,
Roger
___
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] selectively turn off captions

2007-11-30 Thread Hans Hagen
Roger Mason wrote:
> Hello Hans,
> 
> Hans Hagen <[EMAIL PROTECTED]> writes:
> 
>> Roger Mason wrote:
>> well, we can misuse the number= key .
>>
>> % patch, goes in cont-new.tex
>>
> 
> I'm sorry to trouble you but... 
> 
> I applied the patch.  When I try to compile my file it fails like
> this:
> 
> ! Undefined control sequence.
> \presetfloatvariables ...atmethod \floatparameter 

then you run an old context and have to wait till the next current 
(soon, when the luatex beta is out)

-
   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] selectively turn off captions

2007-11-30 Thread Roger Mason
Hello Hans,

Hans Hagen <[EMAIL PROTECTED]> writes:

> Roger Mason wrote:
> well, we can misuse the number= key .
>
> % patch, goes in cont-new.tex
>

I'm sorry to trouble you but... 

I applied the patch.  When I try to compile my file it fails like
this:

! Undefined control sequence.
\presetfloatvariables ...atmethod \floatparameter 
  \c!sidemethod \global \cha...

\docompletefloat ...loatvariables {#1}{#4}{#2}{#6}
  \bgroup \setnaturalfloatdi...
 ...tion of sapphire deposits.}\nextbox 
  \else \docompletefloat {fi...

\secondoftwoarguments #1#2->#2
  
\xdocompletefloat ...at ,#4}{#5}{#6}\nextbox \fi }
  \else \docompletefloat {#1...

\dodowithnextbox ...ibution of sapphire deposits.}
  \doifnotinset \v!text {sap...
l.114 ...re[Sapphire_world_map][width=\textwidth]}

The offending lines from my file:

  \placefigure
[sapphiremap][Sapphire_world_map]
{Distribution of sapphire deposits.}
{\externalfigure[Sapphire_world_map][width=\textwidth]} % line 114

Am I calling \placefigure wrongly?

Thanks very much for your help.

Roger
___
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] TeXnicCenter

2007-11-30 Thread Sytse Knypstra

Mojca Miklavec wrote:
> Hello,
> 
> Is there any TeXnicCenter user on the list?

Yes, I am using TeXnicCenter.

> 
> Wiki page
> http://wiki.contextgarden.net/Configure_TeXnicCenter_for_ConTeXt
> only has anonymous edits, and I have no windows here at the moment o test.
> 
> I have no idea how that program works.
> 
> Mojca
> 
> 
> -- Forwarded message --
> 
> Sir,
> 
> I have Protext installed on my machine with
> 
> WinXp as OS. I have problems in getting the output. I have tried to
> configure TexnicCenter for Context. But whenever I try to compile my
> context document, I get the error message  "cannot execute the command
>  [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]". Where have I gone wrong?

This command is meant for Acrobat Reader. It should not appear in the
"Command line arguments to pass to the compiler" under the (La)TeX tab
in:  Build -> Define Output Profiles ...

Instead you should enter [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
under the Viewer tab after "Command:" under "View project's  output" and
under "Forward Search".
And select: "DDE command" instead of "Command line argument".

Sytse Knypstra
___
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] Whitespace significance without verbatim

2007-11-30 Thread Wolfgang Schuster
2007/11/30, Mike Santy <[EMAIL PROTECTED]>:
> Thanks.  Works like a champ.
>
> Cheers,
> Mike

This is possible in varbatim mode with a few restrictions (just to know).

\starttext
\setuptyping[option=commands]
\starttyping
write what you want
  /BTEX {\it Either italic} or not/ETEX
\stoptyping
\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
___


Re: [NTG-context] selectively turn off captions

2007-11-30 Thread Hans Hagen
Mojca Miklavec wrote:
> On Nov 29, 2007 11:17 PM, Hans Hagen wrote:
> 
>> (I'll add that to the core, but only if you wikify it)
> 
> Nice new strategy :)

yes, and the next one will be: "but only if you send mojca a redesign 
for the wiki" -)

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