Re: [NTG-context] 2DOWN imposition gives blank pages

2006-09-07 Thread Mojca Miklavec
On 8/29/06, Sanjoy Mahajan wrote:
> > texexec --pdfarrange --paper=a5a4 --2up yourfile.pdf
>
> I tried a few experiments with no luck.  Not sure if it's a context or
> texexec problem, or my confusion.  I made the multi-page p5.pdf from

try --paperformat instead of --paper.

texexec --pdfcombine --combination=2*1
--paperformat=A4,landscape*A4,lanscape --nobanner filename.pdf

seems to do almost what you want (although it's way to complicated if
you ask me), but I still don't understand how
\definepapersize[offset=#{paperoffset}]
works.

Mojca


> \setuppapersize[A4][A4]
> \starttext
> \dorecurse{50}{
> \input tufte
> }
> \stoptext
>
> Then I ran 'texexec --pdfarrange --paper=a5a4 p5.pdf' (the --2up
> doesn't change the error below) and got this error:
>
> ! Missing number, treated as zero.
> 
>a
> \@@ppoffset ->a
>5a4
> \calculatepaperoffsets ...lue {\??pp #1\c!offset }
>   \divide \scratchdimen 
> \arr...
>  ...!height }\calculatepaperoffsets {A4}
>   \xdef \papersize {A4}
> \firstofoneargument #1->#1
>
> \next1 #1,->\docommando {#1}
> \doprocesscommaitem
> ...
> l.3 \setuplayout
>
>
> texexec is doing the arranging by making the following 'texexec.tex'
> file and then, I think, running texexec on it:
>
> \definepapersize
>   [offset=a5a4]
> \setuplayout
>   [backspace=0cm,
> topspace=0cm,
>width=middle,
>   height=middle,
> location=middle,
>   header=0pt,
>   footer=0pt]
> \setuppagenumbering
>   [alternative=doublesided]
> \starttext
> \insertpages
>   [p5.pdf]
>   [width=0cm]
> \stoptext
>
> The 'offset=a5a4' is upsetting Context; according to texshow-web on
> the garden, the offset should be a dimension.  Also, I couldn't find
> (using grep) the string 'a5a4' in the context sources.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Intermediate files in subdirectory

2006-09-07 Thread Mojca Miklavec
On 9/8/06, Fredrik Sjunnesson wrote:
> Hello,
>
> Is there any way to specify where the intermediate files and log files
> generated by context end up?
>
> Ideally, I would like my working directory to contain tex and pdf files
> only. All other files could be stored in a subdirectory. That way all
> these extra files are kept out of sight but close at hand in case you
> need them.

I wish I was wrong, but as far as I know you can't do it (yet?),
although there have been many requests for it. To remove unneeded
files you can use
ctxtools --purge [--all]
(texutill --purge[all] if you don't have the ruby variant installed yet)
although I know that that's not quite the same. (I know some people in
LaTeX world who use make files to copy/remove files.)

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


[NTG-context] Intermediate files in subdirectory

2006-09-07 Thread Fredrik Sjunnesson
Hello,

Is there any way to specify where the intermediate files and log files
generated by context end up?

Ideally, I would like my working directory to contain tex and pdf files
only. All other files could be stored in a subdirectory. That way all
these extra files are kept out of sight but close at hand in case you
need them.


Thanks in advance,
Fredrik


Teknisk projektledare
Ph.D. Complex Systems
AcobiaFLUX AB
[EMAIL PROTECTED]
Tel: +46 (0) 31 722 48 11
Fax: +46 (0) 31 722 48 01
Mob: +46 (0) 733 27 92 41
www.acobiaflux.se 
 

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


[NTG-context] figurenumbering

2006-09-07 Thread Wolfgang Werners-Lucchini
Hallo!

Is this correct behaviour?
-
\starttext
\placefigure{}{\framed{Blub}}
\placefigure{}{\framed{Bautz}}
\placefigure{}{\framed{Bla}}

This were \rawnumber[figure] figures by now!

\setnumber[figure]{8}
We want to count on with \rawnumber[figure].

\placefigure{}{\framed{Plong}}

figurenumber is correct incremented to \rawnumber[figure], 
but caption shows 4.
\stoptext
-
If this is not a bug,
how can captionnumbering be influenzed?

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


Re: [NTG-context] \setuppapersize[XY] not working properly with landscape orientation

2006-09-07 Thread Willi Egger
Hi,

Indeed there is a calculation problem. Even if you define your papersize 
as a landscape paper with \definepapersize[Mylandscape][height=210mm, 
width=297mm]
the calculation is incorrect. Apparently the problem is not related to 
the option "landscape" or "rotated".

Willi

Mojca Miklavec wrote:
> Hello,
>
> \setuppapersize[XY] is not working properly when paper orientation is
> landscape. The following code results in pages of dimensions 29.5 x
> 29.5 cm:
>
> \setuppapersize
>   [XY][A4,landscape]
> \setuppaper
>   [nx=3,ny=1]
> \setuparranging
>   [XY]
>
> \showframe
>
> \starttext
>
> second page
> \page
> last page
> \page
> first page
> \page
> content in
> \page
> the middle
> \page
> three pages
>
> \stoptext
>
> I also have an additional question: I can use
> \setupbackgrounds
> [page]
> [background=...]
> for single pages which works perfectly. But how can I place a
> background figure on the "whole page" (i.e. spanning across the
> "middle three 'conceptual' pages", which is the "second page" when
> printed on paper)
>
> Thank you,
> 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] placepublications not obeying grid placement

2006-09-07 Thread Mojca Miklavec
Hello Taco,

The following example is taken from the manual, just a grid is added
around it. I don't use grid typesetting very often, but I just noticed
that \placepublications confuses proper placement of citatons on the
grid. Is this difficult to fix? (I temporary created an ugly patch to
fix it, so there's no hurry.)

Thanks,
Mojca

\setuplayout
[grid=yes]

\usemodule[bib]

\startpublication[k=me,t=article,a=Hoekwater,y=1999,s=TH99,n=1]
\artauthor[]{Taco}[T.]{}{Hoekwater}
\arttitle{\CONTEXT\ Publication Module, The user documententation}
\journal{MAPS}
\pubyear{To appear}
\note{In case you didn't know: it's the article you are reading now}
\pages{66--76}
\stoppublication

\showgrid

\starttext

\section{Something}
\cite[author][me]
\placepublications

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


Re: [NTG-context] beta: problems including a figure without providing explicit dimensions

2006-09-07 Thread Mojca Miklavec
On 9/7/06, Hans Hagen wrote:
> Hans Hagen wrote:
> > Mojca Miklavec wrote:
> >
> >> Hello,
> >>
> >> I have no idea which version I had installed before that, but after
> >> upgrading to the latest beta and using an image filename.pdf the
> >> following creates an error:
> >> \externalfigure[filename]
> >> (worked OK before), while
> >> \externalfigure[filename][width=3cm]
> >> works OK.
> >>
> >>
> >>
> > a unfinished optimization, i'll fix it
> >
> repaired

Thank you, now it works again!

But since you seem to be in good mood for testing at the moment: can
you please take a look at the following "disappearing-image-problem":

\setupcolumns
[n=3,balance=no]
\setuplayout
[grid=yes,columns=3]

\showgrid

\starttext

\startcolumns
\section{Something}

\dorecurse{3}{\input tufte $$a^2+b^2=c^2$$}
\placefigure[force]{title}{\scale[width=\textwidth]{abcd}}
\stopcolumns

\stoptext

\scale[width=.8\textwidth] work OK, but without that the figure simply
disappears.

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


Re: [NTG-context] \setuppapersize[XY] not working properly with landscape orientation

2006-09-07 Thread Mojca Miklavec
On 9/7/06, Peter Rolf wrote:
> Mojca Miklavec wrote:
> >> Have you tried \setupbackgrounds[paper][background=...]?
> >
> > I didn't know about that before. Now I tried it, but it had no effect.
> >
> mhh, works here (but maybe not in your example?)
>
> \setupoutput[pdftex]
> \setupcolors[state=start]
>
> \defineoverlay[test][{\bgroup\color[red]\blackrule[height=\paperheight,width=\paperwidth]\egroup}]
> \setupbackgrounds[paper][background=test]
>
> \starttext
> \null
> \stoptext

Your example works, but the following doesn't:

\setupcolors[state=start]

\defineoverlay[test][{\bgroup\color[red]\blackrule[height=\paperheight,width=\paperwidth]\egroup}]
\setupbackgrounds[paper][background=test]
% or: \setupbackgrounds[paper][background=color,backgroundcolor=red]

\setuppapersize
[XY][A4,landscape]
\setuppaper
[nx=3,ny=1]
\setuparranging
[XY]

\starttext
\null
\stoptext

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


Re: [NTG-context] listoffloats question

2006-09-07 Thread Hans Hagen
richard rascher-friesenhausen wrote:
> Hans Hagen schrieb:
>   
>> richard rascher-friesenhausen wrote:
>>   
>> 
>>> Willi Egger schrieb:
>>>   
>>> 
>>>   
 Hi,

 with Context 2006.08.08 there is  no problem with the figure-numbering.

 In order to get your figure lists typeset:

 \conpletelistoffigures
 \completelistofafigures
 \completelistofbfigures

 Kind regards
 Willi

   
 
   
 
>>> Hello,
>>>
>>> that's right, there is no problem in getting *three* lists. But i want 
>>> only *one* list, showing figures, afigures and bfigures in correct 
>>> order. I think, there must be a simple solution, but i don not find it
>>>
>>> (There are three kinds of figures, because each of them has its own setups.)
>>>   
>>> 
>>>   
>> \placelist[figures,afigures,bfigures] 
>> 

\placelist[figure,afigure,bfigure] 

>>   
>> 
> Now i get the following error message:
>
> ! Missing \endcsname inserted.
> 
>\@@lifigurescriterium
> \d
-
  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] [Fwd: Line numbering]

2006-09-07 Thread Hans Hagen
Aditya Mahajan wrote:
> Hi CVR,
>
>   
>> From: CV Radhakrishnan <[EMAIL PROTECTED]>
>> Reply-To: mailing list for ConTeXt users 
>> To: Mailing list for ConTeXt users 
>> Subject: [NTG-context] Line numbering
>> Date: Sat, 02 Sep 2006 10:13:31 +0530
>>
>> Dear all,
>>
>> Forgive me if I sound naive.  I searched the archives, but could not
>> find the solution for my following problem:
>>
>> I need to have line numbers for the text formatted in two columns.  The
>> numbers for left column shall appear in the left side and that for right
>> column shall appear in the right side of the page.  location=inmargin
>> option to the \setuplinenumbering doesn't help much.  Please take a look
>> at the following image:
>>
>>  http://www.river-valley.com/cvr/one.png
>>
>> which will give you an idea of my requirement.  Any help in this matter
>> will be highly apprecaited and thanks in advance.
>> 
>
> I do not know how to automate what you want. An ugly solution is to 
> specify the column breaks yourself, something like
>
> \unprotect
> \def\dosetuplinenumbering[#1]%
>{\getparameters[\??rn][\c!start=1,\c!step=1,#1]%
> %\global\linenumber\plusone
> %Do not reset linenumber. Why is this here?
>}
> \protect
>
>
> \starttext
> \startcolumns
> \setuplinenumbering[location=inleft]
>\startlinenumbering
>  \input knuth
>\stoplinenumbering
>\column
>\setuplinenumbering[location=inright]
>\startlinenumbering[continue]
>  \input knuth
>\stoplinenumbering
> \stopcolumns
> \stoptext
>   

proof of concept:

\newcounter\TestNumber

\let\normaldodoplacelinenumber\dodoplacelinenumber

\def\dodoplacelinenumber
  {\doglobal\increment\TestNumber
   \xypos{lnm:\TestNumber}%
   \ifdim\MPx{lnm:\TestNumber}>.5\makeupwidth
  \swapmacros\inleftmargin\inrightmargin
   \fi
   \normaldodoplacelinenumber}

\setuplinenumbering[location=inleft]

\startcolumns
\startlinenumbering
\input tufte \endgraf
\input tufte \endgraf
\input tufte \endgraf
\stoplinenumbering
\stopcolumns

\stoptext

in order to let this work ok (spacing) we need to write a nice patch (and also 
use the opportunity to clean up some code) which will take a couple of hours, 
so not today .. 

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] beta (31.08.2006)

2006-09-07 Thread Hans Hagen
Steffen Wolfrum wrote:
> Am 06.09.2006 um 23:35 schrieb Hans Hagen:
>
>   
>> can you test the version i just uploaded and when it fails send me  
>> a test file?
>>
>> Hans
>> 
>
>
>
> Does this beta also provide a fix for the index bug (see below)?
>   
no 

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] beta: problems including a figure without providing explicit dimensions

2006-09-07 Thread Hans Hagen
Hans Hagen wrote:
> Mojca Miklavec wrote:
>   
>> Hello,
>>
>> I have no idea which version I had installed before that, but after
>> upgrading to the latest beta and using an image filename.pdf the
>> following creates an error:
>> \externalfigure[filename]
>> (worked OK before), while
>> \externalfigure[filename][width=3cm]
>> works OK.
>>
>>   
>> 
> a unfinished optimization, i'll fix it 
>   
repaired 

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] beta: problems including a figure without providing explicit dimensions

2006-09-07 Thread Hans Hagen
Mojca Miklavec wrote:
> Hello,
>
> I have no idea which version I had installed before that, but after
> upgrading to the latest beta and using an image filename.pdf the
> following creates an error:
> \externalfigure[filename]
> (worked OK before), while
> \externalfigure[filename][width=3cm]
> works OK.
>
>   
a unfinished optimization, i'll fix it 

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

2006-09-07 Thread Bernd Militzer
Aditya Mahajan schrieb:
> Looks like tables want the first row to contain a \SR. I get the same 
> error with the more simple
>
> \starttext
> \starttables[|l|l|]
> \NC A \NC B   \NC\AR
> \stoptables
> \stoptext
>
> Replace \AR by \SR and everything works fine. I do not usually use 
> tables, so I do not know if this is a bug or a feature.
>
>   
thanks Aditya, but I have still a problem.

%
\starttext
%
%
\def\Pers{134}

\starttables[|l|l|]
\NC Namen\NC \getPID{134}\NC\FR % OK works
\NC Namen\NC \getPID{134}\NC\SR % OK works
\NC Namen\NC \getPID{134}\NC\AR % OK works
%\NC Namen\NC \getPID{\Pers}\NC\AR % problem with \Pers
%
\NC Namen\NC \doGetPID{Fam}{134}\NC\AR
% \NC Vornamen\NC \getVor{\Pers}\NC\LR % problem with \Pers
\NC Vornamen\NC \getVor{134}\NC\AR % OK works but not on last line
\NC Geburt\NC \getGeburt{134}\NC\LR %
%
% problem with empty lines
%
\stoptables
%
\stoptext

Greetings

Bernd

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


Re: [NTG-context] \setuppapersize[XY] not working properly with landscape orientation

2006-09-07 Thread Peter Rolf
Mojca Miklavec wrote:
> On 9/7/06, Peter Rolf wrote:
>>> I also have an additional question: I can use
>>> \setupbackgrounds
>>> [page]
>>> [background=...]
>>> for single pages which works perfectly. But how can I place a
>>> background figure on the "whole page" (i.e. spanning across the
>>> "middle three 'conceptual' pages", which is the "second page" when
>>> printed on paper)
>>>
>> Have you tried \setupbackgrounds[paper][background=...]?
> 
> I didn't know about that before. Now I tried it, but it had no effect.
>
mhh, works here (but maybe not in your example?)

\setupoutput[pdftex]
\setupcolors[state=start]

\defineoverlay[test][{\bgroup\color[red]\blackrule[height=\paperheight,width=\paperwidth]\egroup}]
\setupbackgrounds[paper][background=test]

\starttext
\null
\stoptext

> Thanks anyway,
> 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] beta: problems including a figure without providing explicit dimensions

2006-09-07 Thread Mojca Miklavec
Hello,

I have no idea which version I had installed before that, but after
upgrading to the latest beta and using an image filename.pdf the
following creates an error:
\externalfigure[filename]
(worked OK before), while
\externalfigure[filename][width=3cm]
works OK.

Here's the log:

figures : dimensions of KI are determined externally
Error: PDF version 1.6 -- xpdf supports version 1.5 (continuing anyway)

Warning: pdftex.exe (file ./img/uni-lj.pdf): pdf inclusion: found pdf version <
1.6>, but at most version <1.5> allowed
 <./img/uni-lj.pdf
Warning: pdftex.exe (file ./img/uni-lj.pdf): pdf inclusion: Page Group detected
 which pdfTeX can't handle. Ignoring it.
>
figures : dimensions of uni-lj are determined externally
! Missing number, treated as zero.

   @
\finalscaleboxwidth ->@
   @efwidth
\prepackageexternalfigureobject ...lscaleboxwidth
  \global \ht \foundexternal...

\calculateexternalfigure ...eexternalfigureobject
  \pushpublicfigurevariables...
 ...setfigure ][\s!dummy ][uni-lj][][][]
  \calculateexternalscreenfi...

\firstofoneargument #1->#1

...
l.120   \hfill

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


Re: [NTG-context] \setuppapersize[XY] not working properly with landscape orientation

2006-09-07 Thread Mojca Miklavec
On 9/7/06, Peter Rolf wrote:
> > I also have an additional question: I can use
> > \setupbackgrounds
> > [page]
> > [background=...]
> > for single pages which works perfectly. But how can I place a
> > background figure on the "whole page" (i.e. spanning across the
> > "middle three 'conceptual' pages", which is the "second page" when
> > printed on paper)
> >
> Have you tried \setupbackgrounds[paper][background=...]?

I didn't know about that before. Now I tried it, but it had no effect.

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


Re: [NTG-context] \setuppapersize[XY] not working properly with landscape orientation

2006-09-07 Thread Peter Rolf
Hi Mojca,

Mojca Miklavec wrote:
> Hello,
> 
> \setuppapersize[XY] is not working properly when paper orientation is
> landscape. The following code results in pages of dimensions 29.5 x
> 29.5 cm:
> 
> \setuppapersize
>   [XY][A4,landscape]
> \setuppaper
>   [nx=3,ny=1]
> \setuparranging
>   [XY]
> 
> \showframe
> 
> \starttext
> 
> second page
> \page
> last page
> \page
> first page
> \page
> content in
> \page
> the middle
> \page
> three pages
> 
> \stoptext
> 
> I also have an additional question: I can use
> \setupbackgrounds
> [page]
> [background=...]
> for single pages which works perfectly. But how can I place a
> background figure on the "whole page" (i.e. spanning across the
> "middle three 'conceptual' pages", which is the "second page" when
> printed on paper)
> 
Have you tried \setupbackgrounds[paper][background=...]?

Peter

> Thank you,
> 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] \setuppapersize[XY] not working properly with landscape orientation

2006-09-07 Thread Mojca Miklavec
Hello,

\setuppapersize[XY] is not working properly when paper orientation is
landscape. The following code results in pages of dimensions 29.5 x
29.5 cm:

\setuppapersize
[XY][A4,landscape]
\setuppaper
[nx=3,ny=1]
\setuparranging
[XY]

\showframe

\starttext

second page
\page
last page
\page
first page
\page
content in
\page
the middle
\page
three pages

\stoptext

I also have an additional question: I can use
\setupbackgrounds
[page]
[background=...]
for single pages which works perfectly. But how can I place a
background figure on the "whole page" (i.e. spanning across the
"middle three 'conceptual' pages", which is the "second page" when
printed on paper)

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


Re: [NTG-context] beta (31.08.2006)

2006-09-07 Thread Peter Rolf
Hans Hagen wrote:
> Peter Rolf wrote:
>> Hi,
>>
>> just tested the new beta, but with no luck. I get the following error
>>
>> [.
> can you test the version i just uploaded and when it fails send me a test 
> file? 
> 
test file is on the way

> 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] index page range bug

2006-09-07 Thread Duncan Hothersall
Jason wrote:

> When using startregister/stopregister commands, if the range is only one 
> one page, then while both a [f] and a [t] are written to the tui file, 
> only one \registerfrom command is put in the tuo file.  If there is only 
> one range, it seems like the software deals with it nicely.  However, if 
> there are two ranges (like in the example below), then the index 
> incorrectly assumes that the first \registerfrom command in the tuo file 
> corresponds to the \registerto command.

Aha! Great work tracking this down Jason, I have been bitten by this bug
many times in the past but not been able to isolate it. It would be
really great if this could be fixed in the ruby script.

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


[NTG-context] resolved Font problem

2006-09-07 Thread Dalyoung Jeong
Dear all,

By installing TeX from the beginning and changing to new font family,  
"CFF: Invalid caracter" error was disappeared.
I think that there are some problems in some korean fonts

But the same file had a little problem in Powerbook G4(OS X 10.4.7).  
I think that it is not the problem in XeTeX, ConTeXt, but in the  
configuration in Terminal or in the system.
Although I have little knowledge about Unix, I'll try to fix it.

Thank you again for all the help.

Best regards,

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


Re: [NTG-context] beta (31.08.2006)

2006-09-07 Thread Steffen Wolfrum
Am 06.09.2006 um 23:35 schrieb Hans Hagen:

>
> can you test the version i just uploaded and when it fails send me  
> a test file?
>
> Hans



Does this beta also provide a fix for the index bug (see below)?

Steffen



> If I change your testfile by one line \page test text
>
> the output becomes really strange:
>
> test index 2, 2, 2
>
>
> ...
>
>
> Test file:
>
> \starttext
>
> \placelist[section][criterium=all]  \blank[5*big]
> \placeregister[index][compress=no]  \blank[5*big]
> \placeregister[index][compress=no,sectionnumber=yes]  \blank[5*big]
> \placeregister[index][compress=yes] \blank[5*big]
>
> \page
> test text \index{test index}
> \section{heading}
> more test text \index{test index}
> \section{heading}
> more test text \index{test index}
> \page test text
> \page
> \section{heading text \index{test index}}
> more test text \index{test index}
> \page
> test text \index{test index}
> \section{heading text \index{test index}}
> more test text \index{test index}
>
> \stoptext

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


Re: [NTG-context] multiple bibliographies

2006-09-07 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
> Taco,
> 
> I played some more with the patched version you sent yesterday, and  
> everything seems to be working as desired, thanks a lot! So, AFAICS,  
> this is ready to roll and become part of the module.

Thanks for testing. I'll update contextgarden shortly.

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


Re: [NTG-context] listoffloats question

2006-09-07 Thread richard rascher-friesenhausen
Hans Hagen schrieb:
> richard rascher-friesenhausen wrote:
>   
>> Willi Egger schrieb:
>>   
>> 
>>> Hi,
>>>
>>> with Context 2006.08.08 there is  no problem with the figure-numbering.
>>>
>>> In order to get your figure lists typeset:
>>>
>>> \conpletelistoffigures
>>> \completelistofafigures
>>> \completelistofbfigures
>>>
>>> Kind regards
>>> Willi
>>>
>>>   
>>> 
>>>   
>> Hello,
>>
>> that's right, there is no problem in getting *three* lists. But i want 
>> only *one* list, showing figures, afigures and bfigures in correct 
>> order. I think, there must be a simple solution, but i don not find it
>>
>> (There are three kinds of figures, because each of them has its own setups.)
>>   
>> 
> \placelist[figures,afigures,bfigures] 
>
>
>
> -
>   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
> -
>   
Now i get the following error message:

! Missing \endcsname inserted.

   \@@lifigurescriterium
\dosetfilterlevel ...l {\csname \??by \askedlevel
  \endcsname }\ifx 
\byaskedl...

\dosettoclevel ...alue {#1#2\c!criterium }}\empty
  \else 
\doifelsevaluenothin...

\doplacerawlist ...clevel \??li \firstlistelement
  \honorlocalfilterlevel 
\do...

\doplacelist ...ginoflist \doplacerawlist [#1][#2]
  \doendoflist

   \par
l.24
 

I am using the latest win standalone version.

Regards
   richard

-- 

==
Prof. Dr. Richard Rascher-Friesenhausen
MeVis Research GmbH
Universitaetsallee 29
D-28359 Bremen

als auch
Hochschule Bremerhaven, Studiengang Medizintechnik
An der Karlsstadt 8
27568 Bremerhaven

email: [EMAIL PROTECTED], [EMAIL PROTECTED]
www  : http://www.mevis.de/, http://www.hs-bremerhaven.de/
fon  : +49 - 421 - 218 7707 (mevis)
fax  : +49 - 421 - 218 4236 (mevis)
==


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


Re: [NTG-context] multiple bibliographies

2006-09-07 Thread Thomas A. Schmitz
Taco,

I played some more with the patched version you sent yesterday, and  
everything seems to be working as desired, thanks a lot! So, AFAICS,  
this is ready to roll and become part of the module.

On Sep 6, 2006, at 8:17 AM, Taco Hoekwater wrote:

> This should work except that the numbers in the second
> \placepublications will probably restart at 1 with the
> current version.  That would be easy to fix, so if you
> send me a small test file I can easily add a no-reset
> switch.
>
>> I do not know anything about feasibility, but have a suggestion for
>> the input syntax. How about if there is
>>
>> \definecitemethod[one]
>> \definecitemethod[two]
>
> I have to think about that. It sounds useful, but I am not
> sure off-hand how to make it work.
>
> Cheers,
> Taco

Aditya, thanks for your suggestion. This would allow us not only to  
have per-chapter bibliographies, but several bibliographies, if I  
understand you right? Would be a very useful thing, I agree, but the  
solution for my question turned out to be a lot easier.

Thanks, and best

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