[NTG-context] Installation Problem

2006-05-23 Thread Neal Lester
I am trying to verify my installation.

When I try to run texexec against the test file given in the
installation instructions I don't get a dvi or pdf file.  The output is:

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing texformat path : 
.:{!!/home/neal/.texmf-config,!!/home/neal/.texmf-var,/home/neal/texmf,!!/usr/local/teTeX/share/texmf-config,!!/usr/local/teTeX/share/texmf-var,!!/usr/local/teTeX/share/texmf,!!/usr/local/teTeX/share/texmf-local,!!/usr/local/teTeX/share/texmf-dist}/web2c/{$engine,}
fixing engine variable : pdfetex
total run time : 0 seconds
warning : use 'texmfstart texexec' instead

I have set the value for TeXFormatPath in texexec.ini but still get the fixing 
texformat path message.

The contents of cont-en.log are:

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=pdfetex 
2006.5.23)  23 MAY 2006 15:35
entering extended mode
**cont-en --proxname=context temp
(/usr/local/teTeX/share/texmf/tex/context/base/cont-en.tex
(/usr/local/teTeX/share/texmf/tex/context/base/context.tex
(/usr/local/teTeX/share/texmf/tex/context/base/syst-pln.tex
\maxdimen=\dimen10
\hideskip=\skip10
\centering=\skip11
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\interdisplaylinepenalty=\count23
\interfootnotelinepenalty=\count24
\bigskipamount=\skip13
\medskipamount=\skip14
\smallskipamount=\skip15
\normalbaselineskip=\skip16
\normallineskip=\skip17
\normallineskiplimit=\dimen13
\jot=\dimen14
\mscount=\count25
\tabs=\box11
\tabsyet=\box12
\tabsdone=\box13

Runaway definition?
->\ifx \next
! Forbidden control sequence found while scanning definition of [EMAIL 
PROTECTED]

}

   \+
l.515   {\ifx\next\+
%
? \end
Type  to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
H for help, X to quit.
?
! Extra \else.
l.517\else

?
! Extra \fi.
l.519\fi

?
! Argument of \nxt has an extra }.

\par

   }
l.521\nxt}

?
Runaway argument?
! Paragraph ended before \nxt was complete.

   \par

   }
l.521\nxt}

?
) (/usr/local/teTeX/share/texmf/tex/context/base/syst-prm.tex)
(/usr/local/teTeX/share/texmf/tex/context/base/syst-etx.tex)
(/usr/local/teTeX/share/texmf/tex/context/base/syst-omg.tex)
(/usr/local/teTeX/share/texmf/tex/context/base/syst-xtx.tex)
(/usr/local/teTeX/share/texmf/tex/context/base/syst-gen.tex 
loading : Context System Macros / General
) (/usr/local/teTeX/share/texmf/tex/context/base/syst-ext.tex
loading : Context System Macro's / Extras
) (/usr/local/teTeX/share/texmf/tex/context/base/syst-new.tex
) (/usr/local/teTeX/share/texmf/tex/context/base/syst-con.tex
loading : Context System Macro's / Conversions
) (/usr/local/teTeX/share/texmf/tex/context/base/syst-var.tex
loading : Context System Macro's / Variables
) (/usr/local/teTeX/share/texmf/tex/context/base/math-pln.tex )
(/usr/local/teTeX/share/texmf/tex/context/base/supp-ini.tex
loading : Context Support Macros / Initializations
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-fil.tex
loading : Context Support Macros / Files
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-dir.tex
) (/usr/local/teTeX/share/texmf/tex/context/base/mult-ini.tex
loading : Context Multilingual Macros / Initialization
) (/usr/local/teTeX/share/texmf/tex/context/base/mult-sys.tex
loading : Context Multilingual Macros / System

interface   : defining english interface

interface   : using english messages

) (/usr/local/teTeX/share/texmf/tex/context/base/mult-con.tex
loading : Context Multilingual Macros / Constants
) (/usr/local/teTeX/share/texmf/tex/context/base/mult-com.tex
loading : Context Multilingual Macros / Commands
) (/usr/local/teTeX/share/texmf/tex/context/base/thrd-ran.tex )
(/usr/local/teTeX/share/texmf/tex/context/base/thrd-trg.tex )
(/usr/local/teTeX/share/texmf/tex/context/base/supp-box.tex
loading : Context Support Macros / Boxes
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-mrk.tex
loading : Context Support Macros / Marks
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-vis.tex
loading : Context Support Macros / Visualization
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-fun.tex

loading : Context Support Macros / Fun Stuff
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-eps.tex
loading : Context Support Macros / EPS
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-pdf.tex
loading : Context Support Macros / PDF (2004.03.26)
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-spe.tex
loading : Context Support Macros / Specials
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-mps.tex
(/usr/local/teTeX/share/texmf/tex/context/base/supp-ini.tex
loading : Context Support Macros / Initializations
)
loading   

[NTG-context] Making exams in Context

2006-05-23 Thread Jorge Manuel de Almeida Magalhães
I need to prepare an exam. My choice is obviously ContexT, but
I have some difficulty in generating multiple choice questions in 
random order.
  Each student will have one different exam.
In Latex I use MUCH (http://fourier.math.uoc.gr/~mk/much/). Did you can 
tell me if it has a similar
solution in ConTexT?

Thanks

Jorge

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


[NTG-context] Making posters with ConTeXT

2006-05-23 Thread Jorge Manuel de Almeida Magalhães
Hi

I am trying to making a scientifique poster in Context. I need some 
suggestions,
foreground an example, to start. Somebody has a nice example to share?
What is the correct scales for the fonts?

Have a nice day/night

Thanks to all

Jorge

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


Re: [NTG-context] XeTeX "hangs"

2006-05-23 Thread Otared Kavian
Hi Mojca,

Trying your minimal file on my Mac OS X, with XeConTeXt or with plain  
XeTeX, I observe the same hanging...

However, the following, taken out of an example sent to you by  
Jonathan K., works fine with both (indeed commenting out \starttext  
and \stoptext in plain XeTeX):

\starttext
\font\lmec = ec-lmr10 at 36 pt

\lmec
Testing... ð

Testing... ^^F0

\catcode`č=\active \defč{^^a3}
\catcode`š=\active \defš{^^b2}
\catcode`ž=\active \defž{^^ba}

Testing... čšž

\stoptext

while the following results in a PDF file with "Testing... ° 0"

\starttext
\catcode`ð=\active \defð{^^F0}

Testing... ð

\stoptext

Needless to tell you that all this seems extremely obscure to me...

Best regards: OK


On 23 mai 2006, at 10:24, Mojca Miklavec wrote:

> If I try to compile the folllowing code with XeTeX, it "hangs" (as if
> it was waiting for further input):
>
> \catcode`ð=\active \defð{^^f0} % only hangs for "F0", other  
> numbers are OK
> \starttext
> ð
> \stoptext
>
> I didn't manage to test the same example with "plain" XeTeX (tetex is
> a bit misconfigured since the standalone ConTeXt is installed), but
> Jonathan says that it runs OK on his computer. Is my system broken
> again or are some other black forces working anywhere?
>
> Thanks,
>Mojca
> 
> ___
> 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] Framedtext left/right offset?

2006-05-23 Thread Ehrt, Michael
Hi,

Is there a way to have 

\startcolumnsetspan[intro]
\startframedtext[frame=off,bottomframe=on,topframe=on,offset=1ex]
\it Some introduction text here
\stopframedtext
\stopcolumnsetspan

without the offset to the left and right? There's no frame drawn to the
left and right so I don't want the offset there. Since I couldn't find a
way to get rid of the offset I'm currently using

\startcolumnsetspan[intro]
\hrule\vskip1ex
\it \input knuth
\vskip1ex\hrule\crlf
\stopcolumnsetspan

I know that the use of \vskip is not recommended (according to the
manual), but this is the only way I found...

Cheers

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


[NTG-context] Controlling figure placement?

2006-05-23 Thread Ehrt, Michael
Hi everyone,

Is there a way that gives more control over figure placement within a
columnset area? What I'd like to do is:

- have a columnset area that covers a whole page
- if possible, leave out headers and footers on that page (don't know
how)
- place an external figure on that page which is the same size as the
whole page, 210 by 297mm.

What I tried so far is:

\definecolumnset[test][n=3,distance=15pt]
\definecolumnsetspan[intro][n=2]
\definecolumnsetarea[one][fixed][x=1,y=1,nx=3,ny=46,page=3,state=start]
\definecolumnsetarea[two][fixed][x=1,y=1,nx=3,ny=46,page=5,state=start]
\setupcolumnsetareatext[one][\setups{mypdf}]
\setupcolumnsetareatext[two][\setups{myjpg}]
\startsetups[mypdf]\externalfigure[01-x3.pdf]\stopsetups
\startsetups[myjpg]\externalfigure[01.jpg]\stopsetups

The pdf is placed on page 3, left aligned at the text body, top aligned
at the text body. Both is not what I want in this case.

The jpg is placed on page 5, vertically centered which is ok, left
aligned at the text body which is also not what I want.

Headers and footers are not a problem this time, since the figure
obscures them. But in the past I've had images slightly smaller than the
text body, in which case I'd like to wipe out headers and footers on
that particular page...

Any ideas anyone?

Cheers

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


Re: [NTG-context] Textbackground overlapping

2006-05-23 Thread nico

On Tue, 23 May 2006 17:15:28 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote:




not yet interfaced but public anyway

\chardef\kindofpagetextareas\plusone


Ah, yes, there's no more overlapping for both test cases.

But I've seen a side effect of this setting. It appears rarely, and I had  
difficulties to reproduce it. So, please find attached the cut-and-pasted  
buggy page to have exactly the same placements.


The problem is that with this setting the blank spaces around titles or  
paragraphs is a bit greater than it was. It's not an issue by itself, but  
then the text sometimes overlap the bottom footnote. Note that there's no  
textbackground involved in attached the case. It is defined only to  
activate the behaviour via the \enabletextarearegistration call.


Regards,
BG


textback3.tex.gz
Description: GNU Zip compressed data
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] t-bib and explicitly italizising title parts

2006-05-23 Thread Johannes Graumann
Hello,

Is there any way using '\it' in the title of a bib-entry, so that
ConTeXt/t-bib will hand it though into the bibliography listing?
I have a lot of publications in my lists that contain species names in there
titles, which are by convention typeset in italics.

Thanks for any hints,

Joh

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


[NTG-context] t-bib (extra special experimental version), XML and nocite

2006-05-23 Thread Johannes Graumann
Hello,

I'm trying to get my XML citation definitions, which look like so:



to differentiate between "no" and t-bib options I hand into the "opt" flag
like this:

\defineXMLargument
  [cite]
  [opt=]
  {%
\doifelse{\XMLop{opt}}{no}
  {%
\expanded{\nocite[\XMLop{id}]}%
  }
  {%
\expanded{\cite[\XMLop{opt}][\XMLop{id}]}%
  }
  }

With this definition something like:



works just fine, but 

 fails to show up in the
biblist.
I'm not sure whether this is related to the fact that I'm using an
experimental t-bib version which Taco provided to enable correct chapter
specific bibliographies.

If you have any insight into what I'm doing wrong: please help.

Joh

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


[NTG-context] tabulation spacing

2006-05-23 Thread andrea valle
Evidently I'm missing something.

{\switchtobodyfont[14pt]
\starttabulate
\NR
\NC {\bf FRAME} \NC {\bf 1} \NC {\bf 2} \NC {\bf 3} \NC $\ldots$ \NC\NR
\NC bin: 1  \NC freqval 1 \NC freqval 2 \NC freqval 3 \NC 
$\ldots$\NC\NR
\NC \NC ampval 1 \NC ampval 2 \NC ampval 3 \NC 
$\ldots$\NC\NR
\NC bin: 2  \NC freqval 1 \NC freqval 2 \NC freqval 3 \NC 
$\ldots$\NC\NR
\NC \NC ampval 1 \NC ampval 2 \NC ampval 3 \NC 
$\ldots$\NC\NR
\NC bin: 512\NC freqval 1 \NC freqval 2 \NC freqval 3 \NC 
$\ldots$\NC\NR
\NC \NC ampval 1 \NC ampval 2 \NC ampval 3 \NC 
$\ldots$\NC\NR
\NR
\stoptabulate
}

This seems to work, but I have a strange spacing between the first two 
columns and the last three ones.
Could anyone explain to me why?

Thanks a lot

Best
-a-





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] XeTeX "hangs"

2006-05-23 Thread Otared Kavian
Hi Mojca,

Trying your minimal file on my Mac OS X, with XeConTeXt or with plain  
XeTeX, I observe the same hanging...

However, the following, taken out of an example sent to you by  
Jonathan K., works fine with both (indeed commenting out \starttext  
and \stoptext in plain XeTeX):

\starttext
\font\lmec = ec-lmr10 at 36 pt

\lmec
Testing... ð

Testing... ^^F0

\catcode`č=\active \defč{^^a3}
\catcode`š=\active \defš{^^b2}
\catcode`ž=\active \defž{^^ba}

Testing... čšž

\stoptext

while the following results in a PDF file with "Testing... ° 0"

\starttext
\catcode`ð=\active \defð{^^F0}

Testing... ð

\stoptext

Needless to tell you that all this seems extremely obscure to me...

Best regards: OK


On 23 mai 2006, at 10:24, Mojca Miklavec wrote:

> If I try to compile the folllowing code with XeTeX, it "hangs" (as if
> it was waiting for further input):
>
> \catcode`ð=\active \defð{^^f0} % only hangs for "F0", other  
> numbers are OK
> \starttext
> ð
> \stoptext
>
> I didn't manage to test the same example with "plain" XeTeX (tetex is
> a bit misconfigured since the standalone ConTeXt is installed), but
> Jonathan says that it runs OK on his computer. Is my system broken
> again or are some other black forces working anywhere?
>
> Thanks,
>Mojca
> 
> ___
> 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] \to broken in figure captions

2006-05-23 Thread Sanjoy Mahajan
From:Hans Hagen <[EMAIL PROTECTED]>, Thu, 27 Apr 2006 16:35:47 +0200
> Sanjoy Mahajan wrote:
> > A workaround:
> >
> > \starttext
> > \def\myto{\to}
> > \placefigure[abc]{ABC $n\myto1$.}{} \input tufte
> > \stoptext
> >   
> i need to change the \convertargument#1\to#2 macro so for the
> moment, use this solution or add {} as in

Not sure if that change was intended to be part of the new releases
and got lost in the post-Bachotex craziness, so this email is just a
reminder about it.  Meanwhile I'm using the workaround with no
problems.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] figure directory is sort of searched

2006-05-23 Thread Sanjoy Mahajan
> The figure searching code gets confused if a file of the same
> basename (but in a different directory) has already been loaded.

Looking a bit into this, it seems that the decision about whether a
figure is already loaded is made in core-fig.tex, in

\def\calculateexternalfigure[#1][#2][#3][#4][#5][#6]%
...
   \ifcase\figurestatus
 \let\@@efframe\v!on
 \let\@@efobject\v!no
 \showmessage\m!figures1\@@effilename
   \or
 \showmessage\m!figures2\@@effullname
   \or
 \showmessage\m!figures3{\@@effullname,\@@eflenttype}%
   \or
 \showmessage\m!figures4\@@effullname
   \or
 \showmessage\m!figures5{\@@effullname,\@@efloadname}%
   \or % no message
 \doifnot\@@efsymbol\v!yes{\showmessage\m!figures8\@@effullname}%
   \fi
...

The "no message" comment suggests that when \figurestatus isn't set,
the message shown is figures8, which is

 8: figureobject -- is reused

But I couldn't figure out who sets \figurestatus and where the
judgement of 'already loaded' is made.  The comment at the beginning
of the above \def ("this whole mess needs a clean up anyway") scared
me away :-)

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texmfstart?

2006-05-23 Thread Matt Gushee
Matt Gushee wrote:

> Probably you just need either to put the Ruby script directory 
> ($TEXMF/scripts/context/ruby) on your PATH, or create links from the 
> scripts you want to use to a directory in your current PATH. Maybe just 
> link texmfstart--it seems to be a front end for all the Ruby scripts.

P.S.: I just came across this manual:

 http://www.pragma-ade.com/general/manuals/mtexmfstart.pdf

-- 
Matt Gushee
The Reluctant Geek: http://matt.gushee.net/rg/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texmfstart texexec --pdf --pages=1:2 => empty PDF

2006-05-23 Thread Hans Hagen
Tobias Burnus wrote:
> Hello,
>
> Tobias Burnus schrieb:
>   
>> I freshly switched to the ruby script and have now a problem:
>>texmfstart texexec --pdf --pages=1:2
>> produces: No pages of output.
>>texmfstart texexec --pdf
>> however, works: Output written on tmp_.pdf (3 pages, 103204 bytes)
>>   
>> 
> I do not know what that option does. It seems to do something, but not
> the right thing.
> Actually, looking at texexec.rb I get the impression that --pages= is
> not supported. One finds there
> -
> # so far for compatibility
> @@extrastringvars = [
> 'pages', 'background', 'backspace', 'topspace', 'boxtype', 'tempdir',
> -
>
> Could the --pages option made to work in texexec.rb? In texexec.pl I
> find the following. I probably should learn ruby [and python for that
> matter] ...
>
>   
actually, the code is there ... scripts/context/ruby/tex.rb 

but there is a buglet in there: 

  opt << "\\def\\pagestoshipout\{pagelist.join(',')\}\n";

should be: 

  opt << "\\def\\pagestoshipout\{#{pagelist.join(',')}\}\n";

#{..} evaluates inside a string 

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


Re: [NTG-context] Textbackground overlapping

2006-05-23 Thread Hans Hagen
nico wrote:
> Hello,
>
> When the backgrounded stuff starts from one page up to the following, it  
> doesn't take care about the bottom footnotes, so that they are covered by  
> the background.
>
> Here is a small example:
>
> \definecolor[ScreenGray][s=.95]
> \definetextbackground[grayback]
>  [background=color,
>   backgroundcolor=ScreenGray,
>   frame=on,
>   strut=yes,
>   width=broad,
>   location=paragraph,
>   framecolor=ScreenGray,
>   leftoffset=\topskipgap,
>   before=\blank,
>   after=\blank,
>   align=right]
>
> \starttext
>
> A footnote\footnote{Covered by the background, right?}.
> \input tufte
> \input tufte
> \input tufte
> \input tufte
>
> \starttextbackground[grayback]
> \input tufte
> \stoptextbackground
>
> \stoptext
>   
not yet interfaced but public anyway

\chardef\kindofpagetextareas\plusone

-- 

-
  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] Index sorting for other languages that English

2006-05-23 Thread Hans Hagen
Richard Gabriel wrote:
> Hello Hans,
>
> after an upgrade I noticed thar the index sorting works even worse 
> than before (tested on Czech, Chinese and Japanese, but probably 
> related to non-ASCII characters in common).
>
> With TeXExec 5.4.3, all words beginning with national (accented) 
> characters were put into a separate ("symbols") group and placed 
> before "A". This was not good but more or less acceptable.
> With TeXExec 6.2.0, words beginning with accented characters are 
> placed under certain unaccented letter. My colleague found out that 
> these words are sorted according the first unaccented letter. This is 
> unacceptable and unusable.
>
> We do a "work-around" so we try to avoid indexing words beginning with 
> accented charaters. But it's impossible in many cases.
> I'd like to ask you to improve the index sorting. Could I help or 
> contribute in some way?
>
> Attached is a testing file, which creates 2 indexes from various Czech 
> words (covering the Czech alphabet). The index should be sorted 
> exactly that way as the terms are written in the file.
>
actually the nex texexec implementation does czech sorting but it's not enables 
yet in context itself (was experimental until now) 

- download the latest version (i uploaded a version that enables it) 
- don't forget \mainlanguage[cz] at the top of your document 
- in sort-lan.tex you can see how czech sorting is defined 

(context adds a lot of into to the tui file in order to get sorting done) 

-
  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] texmfstart texexec --pdf --pages=1:2 => empty PDF

2006-05-23 Thread Tobias Burnus
Hello,

Tobias Burnus schrieb:
> I freshly switched to the ruby script and have now a problem:
>texmfstart texexec --pdf --pages=1:2
> produces: No pages of output.
>texmfstart texexec --pdf
> however, works: Output written on tmp_.pdf (3 pages, 103204 bytes)
>   
I do not know what that option does. It seems to do something, but not
the right thing.
Actually, looking at texexec.rb I get the impression that --pages= is
not supported. One finds there
-
# so far for compatibility
@@extrastringvars = [
'pages', 'background', 'backspace', 'topspace', 'boxtype', 'tempdir',
-

Could the --pages option made to work in texexec.rb? In texexec.pl I
find the following. I probably should learn ruby [and python for that
matter] ...

Tobias

if ($Pages)  {
if ( lc $Pages eq "odd" ) {
print OPT "\\chardef\\whichpagetoshipout=1\n";
} elsif ( lc $Pages eq "even" ) {
print OPT "\\chardef\\whichpagetoshipout=2\n";
} else {
my @Pages = split( /\,/, $Pages );
$Pages = '';
foreach my $page (@Pages) {
if ( $page =~ /\:/ ) {
my ( $from, $to ) = split( /\:/, $page );
foreach ( my $i = $from ; $i <= $to ; $i++ ) {
$Pages .= $i . ',';
}
} else {
$Pages .= $page . ',';
}
}
chop $Pages;
print OPT "\\def\\pagestoshipout\{$Pages\}\n";
}
}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Index sorting for other languages that English

2006-05-23 Thread John R. Culleton
On Tuesday 23 May 2006 06:22, Richard Gabriel wrote:
> Hello Hans,
>
> after an upgrade I noticed thar the index sorting works even worse than
> before (tested on Czech, Chinese and Japanese, but probably related to
> non-ASCII characters in common).
>
> With TeXExec 5.4.3, all words beginning with national (accented) characters
> were put into a separate ("symbols") group and placed before "A". This was
> not good but more or less acceptable. With TeXExec 6.2.0, words beginning
> with accented characters are placed under certain unaccented letter. My
> colleague found out that these words are sorted according the first
> unaccented letter. This is unacceptable and unusable.
>
> We do a "work-around" so we try to avoid indexing words beginning with
> accented charaters. But it's impossible in many cases. I'd like to ask you
> to improve the index sorting. Could I help or contribute in some way?
>
> Attached is a testing file, which creates 2 indexes from various Czech
> words (covering the Czech alphabet). The index should be sorted exactly
> that way as the terms are written in the file.
>
> Thanks,
> Richard

Try Xindy. It has facilities for sorting according to arbitrary
alphabetic orders including Czech. It fits in the workflow much
as does makeindex, but perhaps it could be adapted to a Context
runstream. 

-- 
John Culleton
Books with answers to marketing and publishing questions:
http://wexfordpress.com/tex/shortlist.pdf

Book coaches, consultants and packagers:
http://wexfordpress.com/tex/packagers.pdf

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


[NTG-context] Textbackground overlapping (2)

2006-05-23 Thread nico
Hello,

Sorry, just another overlapping case I should have put in the preceding  
mail: when a float cuts the backgrounded stuff, the float is backgrounded  
too. Maybe harder to fix.

An example showing both cases (footnote + float):

\definecolor[ScreenGray][s=.95]
\definetextbackground[grayback]
 [background=color,
  backgroundcolor=ScreenGray,
  frame=on,
  strut=yes,
  width=broad,
  location=paragraph,
  framecolor=ScreenGray,
  leftoffset=\topskipgap,
  before=\blank,
  after=\blank,
  align=right]

\starttext

A footnote\footnote{Covered by the background, right?}.
\input tufte
\input tufte
\input tufte
\input tufte

\starttextbackground[grayback]
\input tufte
\stoptextbackground
\placefigure[top]{joke}{\framed[width=5cm]{Hi}}

\stoptext

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


[NTG-context] Index sorting for other languages that English

2006-05-23 Thread Richard Gabriel




Hello Hans,after an upgrade I noticed thar the index sorting works even worse than before (tested on Czech, Chinese and Japanese, but probably related to non-ASCII characters in common).With TeXExec 5.4.3, all words beginning with national (accented) characters were put into a separate ("symbols") group and placed before "A". This was not good but more or less acceptable.With TeXExec 6.2.0, words beginning with accented characters are placed under certain unaccented letter. My colleague found out that these words are sorted according the first unaccented letter. This is unacceptable and unusable.We do a "work-around" so we try to avoid indexing words beginning with accented charaters. But it's impossible in many cases.I'd like to ask you to improve the index sorting. Could I help or contribute in some way?Attached is a testing file, which creates 2 indexes from various Czech words (covering the Czech alphabet). The index should be sorted exactly that way as the terms are written in the file.Thanks,Richard

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


[NTG-context] Textbackground overlapping

2006-05-23 Thread nico
Hello,

When the backgrounded stuff starts from one page up to the following, it  
doesn't take care about the bottom footnotes, so that they are covered by  
the background.

Here is a small example:

\definecolor[ScreenGray][s=.95]
\definetextbackground[grayback]
 [background=color,
  backgroundcolor=ScreenGray,
  frame=on,
  strut=yes,
  width=broad,
  location=paragraph,
  framecolor=ScreenGray,
  leftoffset=\topskipgap,
  before=\blank,
  after=\blank,
  align=right]

\starttext

A footnote\footnote{Covered by the background, right?}.
\input tufte
\input tufte
\input tufte
\input tufte

\starttextbackground[grayback]
\input tufte
\stoptextbackground

\stoptext

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


[NTG-context] XeTeX "hangs"

2006-05-23 Thread Mojca Miklavec

If I try to compile the folllowing code with XeTeX, it "hangs" (as if
it was waiting for further input):

\catcode`ð=\active \defð{^^f0} % only hangs for "F0", other numbers are OK
\starttext
ð
\stoptext

I didn't manage to test the same example with "plain" XeTeX (tetex is
a bit misconfigured since the standalone ConTeXt is installed), but
Jonathan says that it runs OK on his computer. Is my system broken
again or are some other black forces working anywhere?

Thanks,
   Mojca


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