[NTG-context] Lost in METAPOST

2007-01-11 Thread luigi scarso
Almost for sure (99.9%) I have made some dp mess with last context distro.
Now, I would like to discover where I have corrupted my installation.
%%
\setupcolors[state=start]
\starttext
%%\global\runMPgraphicstrue
\startuseMPgraphic{hans}
 width  :=\the\textwidth/5;
 height := width/4;
 fill fullcircle
   xscaled width
   yscaled height
   withcolor red;
   %withcolor (\RedGreenBlue);
\stopuseMPgraphic
\framed{\useMPgraphic{hans}}
\stoptext
%% NO texmfstart texutil --purgeall; texexec --pdf b
%% NO texmfstart texutil --purgeall; texmfstart texexec --pdf b
%% YES texmfstart texutil --purgeall; texexec --pdf --automprun b
%% NO texmfstart texutil --purgeall; texmfstart texexec --pdf --automprun b
Open to any suggestion.
luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Palet option in setuptyping not working

2007-01-11 Thread Taco Hoekwater
Aditya Mahajan wrote:
> On Thu, 11 Jan 2007, Berend de Boer wrote:
> 
> 
>>Hi All,
>>
>>(I've repeated this post, because I didn't see any answers. Sample
>>file included, you can easily check if I'm wrong or right).
> 
> 
> I have not used palets before, so I do not know if something has 
> broken or not. With your code, I do not get any colors. However, if I 
> change
> 
> 
>>\setuptyping
>>  [TEX]
>>  [palet=MYcolorpretty]
> 
> with
> 
> \definepalet[TEXcolorpretty][MYcolorpretty]
> 
> it works.

I believe this is 'as expected'. A bit weird maybe, but still
expected (the innards of the pretty typing code are a bit hairy
sometimes).

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XeTeX and LM

2007-01-11 Thread Mojca Miklavec

On 1/10/07, Peter Münster wrote:

Hello,
what is needed to get LM working with XeTeX?


\font\f="[lmroman12-regular]" \f

You can take a look at my naive example (I just replaced everything
that came to my mind, but that's wrong). Of course, it doesn't work.
It seems that low-level macros need some adaption for XeTeX ;)

! Font \*modern12ptrmtfrm*:=""[lmroman10-regular at 12.0pt"" not loadable: inst
alled font not found.

(Adam, where are you? ;)

Mojca


lm-naive.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unicode Character Problem

2007-01-11 Thread Mojca Miklavec
On 1/8/07, Johannes Graumann wrote:
> Hello,
>
> I'm having trouble defining a new unicode character:
>
> 'versuch.tex' reads:
>   \defineXMLentity[\#9633]  {\symbol[8]}

It should be
 \defineXMLentity[9633]  {\symbol[8]}

> 'versuch.xml' reads:
>   □
>
> Trying to compile this like so:
>   texmfstart texexec --environment=versuch.tex versuch.xml

> I think I figured this out: '9633' is not in a unicode block as predefined in
> unic-xxx.tex
>
> So this doesn't work ... looks like I have to wait for LuaTeX ...

XeTeX is already there (and your "square sample" is also working there
out-of-the-box once you set a proper font).

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Palet option in setuptyping not working

2007-01-11 Thread Aditya Mahajan
On Thu, 11 Jan 2007, Berend de Boer wrote:

> Hi All,
> 
> (I've repeated this post, because I didn't see any answers. Sample
> file included, you can easily check if I'm wrong or right).

I have not used palets before, so I do not know if something has 
broken or not. With your code, I do not get any colors. However, if I 
change

> \setuptyping
>   [TEX]
>   [palet=MYcolorpretty]

with

\definepalet[TEXcolorpretty][MYcolorpretty]

it works.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Footnote lost

2007-01-11 Thread Aditya Mahajan
On Thu, 11 Jan 2007, Mike Bird wrote:

> Hi Taco,
> 
> On Thursday 11 January 2007 01:51, Taco Hoekwater wrote:
> > https://foundry.supelec.fr/tracker/index.php?func=detail&aid=63&group_id=21
> >&atid=164
> 
> That page says:
> 
> > \setupquotation[right={''\footnote{First}}]
> >
> > is not usable because it gets fed into \symbol[]
> 
> Material is passed through \symbol BEFORE assigning to right:
>
>   \definedelimitedtext
> [\v!quotation]
> [\c!left={\symbol[\c!leftquotation]},
>  \c!right={\symbol[\c!rightquotation]},
>  \c!leftmargin=\v!standard]
> 
> If right is subsequently passed through \symbol again, I haven't been able
> to find where it is done.

How about?

\unprotect

\def\rightdelimitedtextmark
   {\delimitedtextparameter\c!right}
% was  {\hsmash{\delimitedtextparameter\c!right}}

\protect

\starttext

\setupquotation[right={''\footnote{First}}]

\startquotation
  Loses footnote.
  \stopquotation

  \setupquotation[right={''}]
  \quotation{OK}\footnote{Second}

\stoptext

I do not know why the right delimited is hsmased. Maybe to prevent 
line breaks?

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] HZ and DVI

2007-01-11 Thread Henning Hraban Ramm

Am 2007-01-10 um 00:36 schrieb Arthur Reutenauer:


What other viewers do you know watch files?


GSView and other GhostScript GUIs


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



smime.p7s
Description: S/MIME cryptographic signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] exit codes of texexec and texsync

2007-01-11 Thread Peter Münster
Hello,

the exit code of texsync is now 1 in all cases: success or failure of
rsync. It should be 0 on success.

The exit code of texexec is now 1 on success and 0 on failure. It should be
the other way round.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Footnote lost

2007-01-11 Thread Mike Bird
Hi Taco,

On Thursday 11 January 2007 01:51, Taco Hoekwater wrote:
> https://foundry.supelec.fr/tracker/index.php?func=detail&aid=63&group_id=21
>&atid=164

That page says:

> \setupquotation[right={''\footnote{First}}]
>
> is not usable because it gets fed into \symbol[]

Material is passed through \symbol BEFORE assigning to right:

  \definedelimitedtext
[\v!quotation]
[\c!left={\symbol[\c!leftquotation]},
 \c!right={\symbol[\c!rightquotation]},
 \c!leftmargin=\v!standard]

If right is subsequently passed through \symbol again, I haven't been able
to find where it is done.

--Mike Bird
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XeTeX and LM

2007-01-11 Thread Mojca Miklavec
On 1/10/07, Peter Münster wrote:
> Hello,
> what is needed to get LM working with XeTeX?
> I've no success with such a minimal file (imagine utf8 encoding, which is
> not the case in this email):
>
> \startext
> à è ö € œ ±
> \stoptext

Just to answer what you have been asking for:
\font\f="[lmroman12-regular]" \f

But actualy this should be done properly (something that the LaTeX
community already did): ConTeXt should choose OpenType version of LM
by default when XeTeX is used.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bib module -- \completepublications inside \start|\stopbackmatter (FWD)

2007-01-11 Thread Robin.Kirkham
Taco wrote: 
> > I've noticed that when using numerical citations, if the
> > \completepublications is inside the back matter (which is where I
> > would think it would normally be), then the citations themslves (in
> > the body matter) disappear from the text (they turn into empty
> > brackets, []). The reference list itself is correct.
> > 
> > If you comment out the \start|\stopbackmatter, then everything works.
> > There seems to be no problem if you use author-date style citations,
> > either globally or for individual citations.
> > ...
> 
> Just something you missed in the manual. You need
> 
> \completepublications[criterium=all]
> 
> (because the module also supports per-sectionblock lists)

Many thanks again, this fixed it.

But, if \completepublications (with no arguments) prints only a local list, 
then it should print the list just for the backmatter block, which should be an 
empty list, as there were no citations in that block. Instead, I get the list 
that applies to the bodymatter block. I am missing something here ...

I also don't follow why just numeric citations are affected.

Cheers,

Robin



<>___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Footnote lost

2007-01-11 Thread Taco Hoekwater

Hi Mike,

Mike Bird wrote:
> 
> However that was a more complicated test case because it involved
> the bib module and cite.  Also it referred to problems with
> footnotes in vertical mode whereas the new test case includes
> the footnote in setupdelimitedtext/right where it appears to be in
> horizontal mode.  In fact the new test case is similar to the
> workaround actually suggested in:
> http://archive.contextgarden.net/message/20061203.141335.f50b33ff.en.html

Meanwhile, I have created:

https://foundry.supelec.fr/tracker/index.php?func=detail&aid=63&group_id=21&atid=164

Feel free to add extra wishes there, if needed.

Best,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] ConTeXt equivalent of plain tex method of loading fonts

2007-01-11 Thread Aditya Mahajan
Hi,

I was using rsfs (RalfSmithFormalScript) using the definition

\def\mathrsfs#1{\text{\definedfont[RalfSmithFormalScript]#1\/}}

rsfs comes in three design sizes, 10, 7, and 5. However $\max_{x \in 
\mathrsfs{X}}$ uses rsfs10 rather than 7. This is because 
RalfSmithFormalScript is a synonyn for rsfs10. If I use the plain tex 
method of loading rsfs

\font\tenscr   = rsfs10 at 12pt %bodyfontsize
\font\sevenscr = rsfs7  at 9pt  %scriptfontsize
\font\fivescr  = rsfs5  at 7pt  %scriptscriptfontsize

\skewchar\tenscr   = '177
\skewchar\sevenscr = '177
\skewchar\fivescr  = '177

\newfam\scrfam

\textfont\scrfam = \tenscr
\scriptfont\scrfam   = \sevenscr
\scriptscriptfont\scrfam = \fivescr

\def\scr{\fam\scrfam}

then I get rsfs7 in the subscripts. So, what is the ConTeXt equivalent 
of the above plain tex method of loading rsfs?

Aditya


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bib module -- \completepublications inside \start|\stopbackmatter (FWD)

2007-01-11 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote:
> 
> 
> 
> 
> Subject: bib module -- \completepublications inside
> \start|\stopbackmatter From: <[EMAIL PROTECTED]> Date: Thu, 11
> Jan 2007 15:54:51 +1100 To: 
> 
> To: 
> 
> 
> Hi all,
> 
> I've noticed that when using numerical citations, if the
> \completepublications is inside the back matter (which is where I
> would think it would normally be), then the citations themslves (in
> the body matter) disappear from the text (they turn into empty
> brackets, []). The reference list itself is correct.
> 
> If you comment out the \start|\stopbackmatter, then everything works.
> There seems to be no problem if you use author-date style citations,
> either globally or for individual citations.
> 
> Is this a bug or something I'm doing wrong (again)? The program below
> produces the attached PDF.


Just something you missed in the manual. You need

\completepublications[criterium=all]

(because the module also supports per-sectionblock lists)

Best,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context