Re: [NTG-context] Error using Minimal with TeXworks

2010-02-06 Thread Alain Delmotte

Hi!

Andreas Schneider a écrit :

Alain Delmotte wrote:

  

Hi!
installation:
I downloaded: context-setup-mswin.zip
unzipped it in C:\Programmes; this created c:\Programmes\Context\...
then in Context I used: first-setup.bat (as I am not going to use MkII,
I didn't install Ruby); the installation went OK
Then I added in
C:\Programmes\ConTeXt\tex\texmf-context\context\data\texworks a full
TeXworks distribution (the one I use for other AllTeX works) without
adding the file texworks-setup.ini which was installed with ConTeXt.

use:
before starting ConTeXt, I use:   C:\Programmes\ConTeXt\tex\setuptex.bat
in TeXworks, in Preferences / Typesetting I added the folder:
C:\Programmes\ConTeXt\bin
I use ConTeXt MkIV, but I get the above error messages.

Alain



The correct directory should be
C:\Programmes\ConTeXt\tex\texmf-mswin\bin
  

Thanks, that was the answer to solve the problem.

Alain

Best Regards,
Andreas.

___
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] Error using Minimal with TeXworks

2010-02-06 Thread Mojca Miklavec
On Sat, Feb 6, 2010 at 00:31, Hans Hagen wrote:
 On 5-2-2010 20:34, Mojca Miklavec wrote:

 It used to work until Hans started using texmfstart.exe. As opposed to

 btw, texmfstart.exe is just the ruby script with ruby packages in a zip and
 at some point that wrapper system changed (out of our control) but the
 latest texmfstart is just mtxrun (using lua) ...

Which is even worse since MikTeX has been promising to release LuaTeX
for a long time (already for 2.8) and thene's still just a question
mark to whether it will be released in 2.9.

At the moment there would be two options:
- fix the old texmfstart (probably won't happen)
- wait for luatex in MikTeX

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


Re: [NTG-context] context minimals

2010-02-06 Thread Martin 'golodhrim' Scholz
On Sat, 06 Feb 2010 02:45:05 -0500, Aditya Mahajan wrote:

 On Fri, 5 Feb 2010, Martin 'golodhrim' Scholz wrote:
 
 On Fri, 05 Feb 2010 19:01:24 +0100, Hans Hagen wrote:

 On 5-2-2010 3:37, Martin 'golodhrim' Scholz wrote:
 Hi together

 unfortunately there are the doublestroke fonts missing in the
 context- minimals. Will bring up an ebuild by today if everything
 works right. so if somebody likes some help by doing so, I might
 explain what I did or will make the ebuild available in github.

 ok, that way aditya can have a look at it
 so think forgot to post the link to it in the last mail. so will do it
 here.

 Here is the link to the HowTo for the funtoo build scripts for context-
 minimals in funtoo:
 http://wiki.contextgarden.net/ConTeXt_Minimals_Funtoo
 
 If I understand correctly, the context-dstroke ebuild is just
 downloading the doublestroke font
 http://www.ctan.org/tex-archive/fonts/doublestroke/ and installing it in
 a proper TDS structure.
 
 This is a small font, so I think that it is OK to just add this to the
 minimals. Mojca, what do you think?
 
 Aditya
 
Hi Aditya,

right, the ebuild for dstroke is just a load the font and copy it to the 
appropriate directorys... If it is included in a later version of context-
minimals it would be nice to get informed about it, so I can can delete 
the usage of the ebuild for dstroke...

Martin 'golodhrim' Scholz

___
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] context minimals

2010-02-06 Thread Mojca Miklavec
On Sat, Feb 6, 2010 at 08:45, Aditya Mahajan wrote:

 If I understand correctly, the context-dstroke ebuild is just downloading
 the doublestroke font http://www.ctan.org/tex-archive/fonts/doublestroke/
 and installing it in a proper TDS structure.

 This is a small font, so I think that it is OK to just add this to the
 minimals. Mojca, what do you think?

That's fine with me. Just a question (I didn't check yet): is the font
supported in ConTeXt core?

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


Re: [NTG-context] context minimals

2010-02-06 Thread Martin 'golodhrim' Scholz
On Sat, 06 Feb 2010 09:59:29 +0100, Mojca Miklavec wrote:

 On Sat, Feb 6, 2010 at 08:45, Aditya Mahajan wrote:

 If I understand correctly, the context-dstroke ebuild is just
 downloading the doublestroke font
 http://www.ctan.org/tex-archive/fonts/doublestroke/ and installing it
 in a proper TDS structure.

 This is a small font, so I think that it is OK to just add this to the
 minimals. Mojca, what do you think?
 
 That's fine with me. Just a question (I didn't check yet): is the font
 supported in ConTeXt core?
 
Hi Mojca,

the font is not available in ConTeXt, but it is supported, you only need 
to activate it in the Document as described at http://
wiki.contextgarden.net/Doublestroke
so it is usable, but not included and I think the only nice way to get 
the Doublestroked fonts done...

Greetings

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] defining commands

2010-02-06 Thread Wolfgang Werners-Lucchini
Hallo,

  btw, i'm sure that you've seen
 
  \starttexdefinition blabla #1 #2
 
  which like setups ignores spaces so one can have readable
 macros
  i was the one who requested the parameterless version
 
  \starttexdefinition commandonly

I experimented a little with this:


\starttexdefinition BIS #1 #2
[#1 \ldots\ #2]
\stoptexdefinition

\starttext
\BIS1 23

\BIS{10}{20}30

\BIS {10}{20}30

\BIS{10} {20}30

\BIS{10}{20} 30

\BIS {10} {20}30

\BIS{10} {20} 30

\BIS {10} {20} 30
\stoptext


and get this:


[1 ... 2]3
[102030 ...
][102030 ...
][10 ...  20]30
[1020 ... 3]0
[10 ... 20]30
[10 ... 20] 30
[10 ... 20] 30


So it seems, that the first blank between command and #1 is optional. 
But the second between #1 and #2 is NEEDED. A last blank after #2 is 
not needed and not eaten.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texshow-web

2010-02-06 Thread Patrick Gundlach
Hi Mikael,


 Do they appear automatically in texshow or does someone have to update
 by hand? How long does it typically take? Is there something one can
 do?

I will transfer the old texshow-web into the wiki, so the new commands
can be added there easily. Jelle Huisman has suggested this and I think
it is the best way for all of us to keep the commands up to date.

Patrick
-- 
ConTeXt wiki and more: 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] Rotated footnotes?

2010-02-06 Thread Steffen Wolfrum


No answer at all ... 

Does that mean rotating a figure/label with its footnote just can't be done?


Steffen


Am 04.02.2010 um 13:20 schrieb Steffen Wolfrum:

 Hi,
 
 the figure labels of some rotated figures have footnotes.
 
 (see faked example please: http://www.werksatz.com/attachments/rotated.pdf).
 
 
 How do I place a rotated footnote??
 
 
 Thanks, 
 Steffen
 
 ___
 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
___


[NTG-context] simple usage of \hpos

2010-02-06 Thread Peter Münster
Hello,

How can I place an element as background at a previously defined position?

Here a test-file to show what I'm looking for:

\definelayer[graphics][position=yes]
\setupbackgrounds[page][background=graphics]
\starttext
Here is some text. I would like to appear a graphics exactly
behind \hpos{XXX}{HERE}. How can I do this, without measuring by hand the
x- and y-offsets, and perhaps also without using metapost?

Such a command would be fine: \type{\placeatpos[XXX]{my background
figure}}, or \type{\setlayer[graphics][location=XXX]{...}}.

\setlayer[graphics][dx=128mm, dy=-27mm]{\externalfigure[hacker.jpg][width=1cm]}
\stoptext

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


Re: [NTG-context] colors without \definecolor

2010-02-06 Thread Aditya Mahajan

On Sat, 6 Feb 2010, Wolfgang Schuster wrote:


Am 05.02.10 15:49, schrieb Philipp Gesang:


Is there a difference (other than
syntax) between \colored[rgb] and the according \definecolor[name][rgb]
-- \color[name] commands?


No, \colored is \definecolor + \color except you can use it in the form

\colored[rgb]{...}

and

{\colored[rgb]...}

while \color can only be used as

\color[rgb]{...}.


No. Both \color[rgb]{...} and {\color[rgb]...} are valid

\definecolor[myred][r=0.65]

\starttext
{normal text \color[myred]{red text} normal text}

{normal text {\color[myred]red text} normal text}
\stoptext

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___