[NTG-context] XeTeX and LM

2007-01-10 Thread Peter Münster
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

Cheers, Peter

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


[NTG-context] Palet option in setuptyping not working

2007-01-10 Thread Berend de Boer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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).


It seems user palets don't work (anymore?), just downloaded the new
version but still has the same problem as the version I used before
(aug 2006).

Sample file:

- --
% interface=en

\setupbodyfont
  [postscript,16pt]

\setupcolors
  [state=start]

\setupalign
  [hyphenated]

\definepalet
  [MYcolorpretty]
  [prettyone=colorprettyone,
   prettytwo=colorprettytwo,
   prettythree=colorprettythree,
   prettyfour=colorprettyfour]

\setuptyping
  [TEX]
  [palet=MYcolorpretty]

\starttext

\startTEX
\this \is \a \test
\stopTEX

\stoptext
- --

As you will see, there are no colors anymore.

My tex and context versions:

  This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (format=cont-en 
2007.1.4)  4 JAN 2007 20:14
entering extended mode
  ConTeXt  ver: 2007.01.02 13:44 MK II  fmt: 2007.1.4  int: english/english

- -- 
Live long and prosper,

Berend de Boer


PS: This email has been digitally signed if you wonder what the strange
characters are that your outdated email client displays.
PGP public key: http://www.pobox.com/~berend/berend-public-key.txt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iD8DBQFFpUqYIyuuaiRyjTYRAlccAKCNjxWNXOJd3Z7I9XiYr3rRB5VQTQCfdgEJ
AImWg4IZYM9fkXuFIM9TIjY=
=gaQu
-END PGP SIGNATURE-

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


Re: [NTG-context] placing a tikz/pgf figure

2007-01-10 Thread Willi Egger
Hi Hasn,

In order to make sure, that the cooperation between tikz and Context 
works okay, you should install pgf 1.10
http://sourceforge.net/project/showfiles.php?group_id=142562

Further you need to install the Latex package xkeyval.

I hope that will do!

Willi

Hans Hagen wrote:
> Willi Egger wrote:
>   
>> Indeed I also get the results as you describe them. When looking at the 
>> file *.tmp then you see, that the figure is generated on the fly. When 
>> external figure is issued, then the textwidth is the base and therefore 
>> the figure ends up leftaligned. -- In such cases I prefer to have the 
>> figures prepared in a separate pdf-file by means of
>> \startTEXpage -- \stopTEXpage. Afterwards I include the TEXpages 
>> with \externalfigure referencing the page in the file obtained. -- In my 
>> experience this makes the runs faster.
>>   
>> 
> willy, what do i need to install to get this example running? 
>
> 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
> -
>
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] HZ and DVI

2007-01-10 Thread Peter Münster
On Wed, 10 Jan 2007, Hans Hagen wrote:

> there was a time that gs did better rendering than acrobat but that wa 
> slong ago; i think that acrobat's anti aliasing is ok (at least om my 
> high res screen)
> 
> also, the latest acrobats (esp v 8) do a pretty good job now on bitmap 
> fonts

I'll try xpdf: I need something fast and that watches the file. Starting
acroread on my system takes often up to 15 seconds.
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-10 Thread Aditya Mahajan
On Wed, 10 Jan 2007, Mike Bird wrote:

> On Wednesday 10 January 2007 01:06, Taco Hoekwater wrote:
> > Can you look through the list archive a bit? There was a
> > thread begin december last year about the exact same topic.
> 
> The thread included another possible workaround at:
> http://archive.contextgarden.net/message/20061204.095032.227c83ef.en.html
> - but that lost all the power of setupdelimitedtext.

Can you explain which features of setupdelimitedtext you want. Maybe 
they can be implemented by copying things to setupnarrower.

%--8<-

\def\startfootnotequotation
   {\dosingleempty\dostartfootnotequotation}

\long\def\dostartfootnotequotation[#1]#2#3\stopfootnotequotation
{\bgroup \par
 \startnarrower
   \symbol[leftquotation]%
   #3\removeunwantedspaces
   \symbol[rightquotation]%
   \footnote[#1]{#2}
 \stopnarrower
   \par \egroup}

\startfootnotequotation[ref]{First Footnote}
   \input knuth
\stopfootnotequotation

Knuth said (see \in footnote[ref])

%-8<---




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


Re: [NTG-context] rightframe=on

2007-01-10 Thread Hans Hagen
Aditya Mahajan wrote:
> On Wed, 10 Jan 2007, luigi scarso wrote:
>
>   
>> Inside last core-rule.tex
>> 
>
> Interesting wikified at 
> http://wiki.contextgarden.net/Framed#Rounded_Coreners
>   
this is the kind of stuff we needed it for

% % \setupTABLE [y]
[first][background=color,backgroundcolor=blue,frame=off,bottomframe=on,topframe=on,framecolor=white]
% \setupTABLE [first][first][backgroundcorner=2,corner=10,frame=on]
% \setupTABLE [last] [first][backgroundcorner=4,corner=12,frame=on]
%
% \setupTABLE [row]  [each] 
[background=color,backgroundcolor=blue,frame=on,framecolor=white]
% \setupTABLE [first][2][corner=8]
% \setupTABLE [last] [2][corner=5]
% \setupTABLE [first][last] [corner=7]
% \setupTABLE [last] [last] [corner=6]
%
% \startTEXpage
% \bTABLE[frame=off,align=middle]
% \bTR \bTD one   \eTD \bTD two\eTD \bTD three \eTD \eTR
% \bTR \bTD first \eTD \bTD second \eTD \bTD third \eTD \eTR
% \bTR \bTD alpha \eTD \bTD beta   \eTD \bTD gamma \eTD \eTR
% \eTABLE
% \stopTEXpage
%
% \setupTABLE [first] [two][corner=2] % special case
% \setupTABLE [last]  [two][corner=4] % special case
%
% \startTEXpage
% \bTABLE[frame=off,align=middle]
% \bTR \bTD one   \eTD \bTD two\eTD \bTD three \eTD \eTR
% \bTR \bTD first \eTD \bTD second \eTD \bTD third \eTD \eTR
% \eTABLE
% \stopTEXpage


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

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


Re: [NTG-context] rightframe=on

2007-01-10 Thread Aditya Mahajan
On Wed, 10 Jan 2007, luigi scarso wrote:

> Inside last core-rule.tex

Interesting wikified at 
http://wiki.contextgarden.net/Framed#Rounded_Coreners

Aditya


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


Re: [NTG-context] Footnote lost

2007-01-10 Thread Mike Bird
On Wednesday 10 January 2007 01:06, Taco Hoekwater wrote:
> Can you look through the list archive a bit? There was a
> thread begin december last year about the exact same topic.

Hi Taco,

I assume you're referring to this thread:
http://archive.contextgarden.net/thread/20061206.202611.e8722446.en.html

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

Changing just \MyMagic in the suggested workaround to avoid \cite gives:
  \definedelimitedtext
[myquotation]
[left={\symbol[leftquotation]},
 right={\symbol[rightquotation]\MyMagic},
 leftmargin=standard]
  \long\def\startcitedquotation[#1]#2\stopcitedquotation
{\bgroup
 \def\MyMagic{~\footnote{#1}}
 \startmyquotation #2\stopmyquotation
 \egroup}
  \starttext
  \startcitedquotation[schmitz2006]
  overly beautiful pusillanimous sesquipedalian longwinded
  \stopcitedquotation
  \stoptext

- which also loses the footnote.

The thread included another possible workaround at:
http://archive.contextgarden.net/message/20061204.095032.227c83ef.en.html
- but that lost all the power of setupdelimitedtext.

Therefore I suggest that my simple test case is still worthy of
consideration:
  \starttext
  \setupquotation[right={''\footnote{First}}]
  \startquotation
  Loses footnote.
  \stopquotation

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

For those who need footnoted or cited quotations, another workaround
is to \setupquotation[location=text].  This retains the power of
\setupdelimitedtext without running into the bug which I suspect lies
in or near \dostopdelimitedtexpar.  You may have to fiddle with \par
and/or \nospace to get the layout exactly as desired.

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


Re: [NTG-context] bib module -- \maybeyear

2007-01-10 Thread Robin.Kirkham
Taco wrote:
> [EMAIL PROTECTED] wrote:
> > \setuppublicationlist[
> > authoretallimit=100,
> > artauthoretallimit=100,
> > maybeyear=off
> > ]
> 
> The solution is really simple. Move the closing
> bracket to the previous line, like so:
> 
>\setuppublicationlist[
>  authoretallimit=100,
>  artauthoretallimit=100,
>  maybeyear=off]
> 
> otherwise you assign the value "off" to maybeyear.
> This is true throughout context: you have to be careful
> about whitespace in arguments.

OK ... or terminate the argument with a % or a , ... of course I should have 
guessed this!

Many thanks,

Robin


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


Re: [NTG-context] Footnote lost

2007-01-10 Thread Taco Hoekwater

Hi Mike,

Can you look through the list archive a bit? There was a
thread begin december last year about the exact same topic.

  http://archive.contextgarden.net/

Best, Taco

Mike Bird wrote:
> In this example, the first footnote number appears correctly
> in the body of the page but the first footnote is never placed
> in the footer.  The second footnote is handled correctly.
> Therefore the first footnote is not merely deferred but lost.
> 
> \starttext
> \setupquotation[right={''\footnote{First}}]
> \startquotation
> Loses footnote.
> \stopquotation
> 
> \setupquotation[right={''}]
> \quotation{OK}\footnote{Second}
> \stoptext
> 
> 
> --Mike Bird
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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


[NTG-context] Bug tracking (was: Re: Using vim's syntax highlighting in (TeX) publicaions (fwd))

2007-01-10 Thread Taco Hoekwater

Hi,


Aditya Mahajan wrote:
> 
> The documentation was incorrect due to a bug in texexec
> 
>texexec --module --mode=color --color tex/context/third/t-vim.pdf
>   --result=doc/context/third/vim/vim-doc.pdf
> 
> puts the result in the current directory rather than honoring the 
> --result= directive

When someone finds such a thing, can you please also make a tracker
item  for it? When we were still using the collector at the literate
solutions website, I tried to do all of that myself, but it is just
too much work these days.

As a gentle reminder for everybody, here are the urls:

Bugs:
   https://foundry.supelec.fr/tracker/?atid=161&group_id=21

Feature requests:
   https://foundry.supelec.fr/tracker/?atid=164&group_id=21


Best,

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


Re: [NTG-context] rightframe=on

2007-01-10 Thread andrea valle
Hi to all,

(thanks for pointing to the sources but I understand better 
proto-Indoeuropean than TeX...:)

In any case, I discovered that the secret lies in:

rulethickness=3pt

non rulethickness no rule at all

Best


-a-


On 10 Jan 2007, at 08:46, luigi scarso wrote:

> Inside last core-rule.tex
> (it doesn't appears in core-modu.pdf)
> % \startTEXpage
> % \dontleavehmode\framed
> % [corner=0,frame=on,framecolor=green,
> %  background=color,backgroundcolor=yellow]{\tttf TEST
> \twodigits\recurselevel}%
> % \vskip1em
> % \dontleavehmode\dostepwiserecurse {1} {4}{1}{\framed
> % [corner=\recurselevel,frame=on,framecolor=green,
> %  background=color,backgroundcolor=yellow]{\tttf TEST
> \twodigits\recurselevel}%
> % \quad}
> % \vskip1em
> % \dontleavehmode\dostepwiserecurse {5} {8}{1}{\framed
> % [corner=\recurselevel,frame=on,framecolor=green,
> %  background=color,backgroundcolor=yellow]{\tttf TEST
> \twodigits\recurselevel}%
> % \quad}
> % \vskip1em
> % \dontleavehmode\dostepwiserecurse {1} {4}{1}{\framed
> % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST
> \twodigits\recurselevel}%
> % \quad}
> % \vskip1em
> % \dontleavehmode\dostepwiserecurse {5} {8}{1}{\framed
> % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST
> \twodigits\recurselevel}%
> % \quad}
> % \vskip1em
> % \dontleavehmode\dostepwiserecurse {9}{12}{1}{\framed
> % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST
> \twodigits\recurselevel}%
> % \quad}
> % \vskip1em
> % \dontleavehmode\dostepwiserecurse{13}{16}{1}{\framed
> % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST
> \twodigits\recurselevel}%
> % \quad}
> % \vskip1em
> % \dontleavehmode\dostepwiserecurse{17}{20}{1}{\framed
> % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST
> \twodigits\recurselevel}%
> % \quad}
> % \vskip1em
> % \dontleavehmode\dostepwiserecurse{21}{24}{1}{\framed
> % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST
> \twodigits\recurselevel}%
> % \quad}
> % \vskip1em
> % \dontleavehmode\dostepwiserecurse{25}{28}{1}{\framed
> % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST
> \twodigits\recurselevel}%
> % \quad}
> % \stopTEXpage
>
> luigi
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]

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


Re: [NTG-context] bib module -- \maybeyear

2007-01-10 Thread Taco Hoekwater

Hi,

[EMAIL PROTECTED] wrote:
> \setuppublicationlist[
> authoretallimit=100,
> artauthoretallimit=100,
> maybeyear=off
> ]

The solution is really simple. Move the closing
bracket to the previous line, like so:

   \setuppublicationlist[
 authoretallimit=100,
 artauthoretallimit=100,
 maybeyear=off]

otherwise you assign the value "off" to maybeyear.
This is true throughout context: you have to be careful
about whitespace in arguments.

Best, Taco

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


Re: [NTG-context] HZ and DVI

2007-01-10 Thread Hans Hagen
Sanjoy Mahajan wrote:
> Peter M <[EMAIL PROTECTED]> writes:
>   
>> The only reason why I still keep asking for dvi, is the good xdvi
>> viewer.
>> 
>
> I agree. xdvi is what prompted me into trying dvi mode again (and
> investigating dvipos), because of its excellent anti-aliasing.  The
> only pdf viewer whose rendering quality might be comparable is the
> 'apparition' viewer, part of the fitz .
> Not ready for prime time yet, but it has lots of potential.
>   
there was a time that gs did better rendering than acrobat but that wa 
slong ago; i think that acrobat's anti aliasing is ok (at least om my 
high res screen)

also, the latest acrobats (esp v 8) do a pretty good job now on bitmap 
fonts

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
-

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