Re: [NTG-context] How to reset the chapter number

2009-09-19 Thread Derek CORDEIRO
On Sat, Sep 19, 2009 at 4:13 PM, Joshua Lee  wrote:

> Hi Guys,
> Here's a little example,
>  \setupcolors[state=start]
>

\setuphead[chapter][sectionsegments=2:100]


>  \starttext
>
>  \completecontent
>  \part{First Part}
>  \chapter{First Chapter}
>  \chapter{Second Chapter}
>  \part{Second Part}
>  \chapter{Third Chapter}
>  \chapter{Chapter 4}
>  \stoptext
>
> I would like to show the chapter number 1,2,3,4.. instead of
> 1.1,1.2,2.1,2.2 .. how to do it?
>
>

Read http://www.opensubscriber.com/message/ntg-context@ntg.nl/12416208.html
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-18 Thread Derek CORDEIRO
On Fri, Sep 18, 2009 at 11:31 PM, Hans Hagen  wrote:

> Derek CORDEIRO wrote:
>
>  That does not work for me at all. The following does work with generating
>> the same ThOMAS
>>
>
> another test:
>
> \definefontfeature[default]  [default]  [mode=node]
> \definefontfeature[smallcaps][smallcaps][mode=node]
> \definefontfeature[oldstyle] [oldstyle] [mode=node]
>
>
This works well too.

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


Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-18 Thread Derek CORDEIRO
On Fri, Sep 18, 2009 at 11:24 PM, Hans Hagen  wrote:

> Derek CORDEIRO wrote:
>
>  That does not work for me at all. The following does work with generating
>> the same ThOMAS
>>
>
> can you try ..
>
> \definefontfeature[smallcaps][smallcaps][liga=no]
>
> \usemodule[simplefonts]
>
> \setmainfont[A Jenson Pro Regular]
>
> \starttext
> {\sc Thomas}
> \stoptext
>
> if that works, then the font is bugged
>

Yes it does work, I guess the font has bugs after all.


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


Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-18 Thread Derek CORDEIRO
On Fri, Sep 18, 2009 at 6:44 PM, Hans Hagen  wrote:

> Mika Ritola wrote:
>
>> Hello all,
>>
>> For some reason, the snippet below outputs 'ThOMAS' instead of 'THOMAS.'
>> This seems to be font dependent; at least Adobe Jenson Pro and Adobe
>> Garamond Pro produce 'Th,' while the other fonts that I've tried produce
>> 'TH', as expected. I don't know whether the bug exists in the fonts
>> themselves or in the way they are handled by ConTeXt or the Simplefonts
>> module, or possibly some other part of the system. In any case, could you
>> suggest a work-around, please?
>>
>> I'm using ConText version 2009.09.16 20:07 and Simplefonts version
>> 2009.09.15.
>>
>>
>> \usemodule[simplefonts]
>> \setmainfont[Adobe Jenson Pro]
>>
>> \starttext
>> {\sc Thomas}
>> \stoptext
>>
>

That does not work for me at all. The following does work with generating
the same ThOMAS

\usemodule[simplefonts]

\setmainfont[A Jenson Pro Regular]

\starttext
{\sc Thomas}
\stoptext




>
> could it be a bug in the font? i.e. a Th ligature showing up in smallcaps?
> if so, then simplefonts should disable ligatures in smallcaps
>

I doubt it is a font bug as the following plain luatex works.

\font\body=file:AJensonPro-Regular:mode=node;script=latn;language=dflt;+liga;+dlig;+smcp
at 12pt

\body Thomas

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


Re: [NTG-context] Pagenumbering of appendices

2009-09-11 Thread Derek CORDEIRO
On Fri, Sep 11, 2009 at 2:34 PM, Olaf Mersmann <
olafm+cont...@kimberly.tako.de > wrote:

> * Derek CORDEIRO  [090911 07:51]:
> > On Thu, Sep 10, 2009 at 9:10 PM, 
> > 
> >
> wrote:
> > > I've been trying to turn off the conversion of page numbers to roman
> > > numerals in my appendix without any luck. Here is a minimal example:
> > >
> > >  \setuppagenumbering[way=bytext,location={bottom, right}]
> > >  \startsectionblockenvironment[bodypart]
> > >\setuppagenumber[number=1, state=start]
> > >  \stopsectionblockenvironment
> > >  \startsectionblockenvironment[appendix]
> > >
> >
> > \setupuserpagenumber[numberconversion=numbers]
> >
> > \setuppagenumbering is still used for the other parameters below.
>
> Thanks for the hint. Never saw \setupuserpagenumber[] before.
>
> > Please refer to this thread:
> > http://www.ntg.nl/pipermail/ntg-context/2009/043284.html for a related
> > discussion.
>
> I tried to run an expanded version of the minimal example Wolfgang
> provided with the current minimals and it gave the following error:
>
>  ...
>  systems : begin file simple at line 24
>  structure   : begin of sectionblock frontpart
>  structure   : title @ level 2 : 0.0 -> \headtext {content}
>  ! LuaTeX error
> ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:104: bad argument #3
> to 'format' (string expected, got table)
>  stack traceback:
>  [C]: in function 'format'
>  ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:104: in
> function 'number'
>  ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:172: in
> function 'prefixpage'
>  ...0910/tex/texmf-context/tex/context/base/strc-lst.lua:399: in
> function 'prefixedpage'
>  :1: in main chunk.
>
> The example is:
>
>  \definestructureconversionset[frontpart:pagenumber] [] [romannumerals]
>  \definestructureconversionset[bodypart:pagenumber]  [] [numbers]
>  \definestructureconversionset[appendix:pagenumber]  [] [numbers]
>  \definestructureconversionset[backpart:pagenumber]  [] [numbers]
>
>  \startstructureblockenvironment[frontpart]
>  \setupuserpagenumber[numberconversion=romannumerals]
>  \setuppagenumber[number=1]
>  \stopstructureblockenvironment
>
>  \startstructureblockenvironment[bodypart]
>\setupuserpagenumber[numberconversion=numbers]
>\setuppagenumber[number=1]
>  \stopstructureblockenvironment
>
>  \startstructureblockenvironment[appendix]
>   \setupuserpagenumber[numberconversion=numbers]
>  \stopstructureblockenvironment
>
>  \startstructureblockenvironment[backpart]
>   \setupuserpagenumber[numberconversion=numbers]
>  \stopstructureblockenvironment
>
>  \starttext
>  \startfrontmatter
>\completecontent[criterium=all]
>\chapter{Front}
>\input tufte
>  \stopfrontmatter
>  \startbodymatter
>   \chapter{Body}
>   \input knuth
>  \stopbodymatter
>  \startappendices
>   \chapter{Appendix}
>   \input knuth
>  \stopappendices
>  \startbackmatter
>\chapter{Back}
>\input knuth
>  \stopbackmatter
>  \stoptext
>
> The original gave the same error for me. Any help in debugging this
> would be appreciated.
>
>
Hans has squashed those bugs. If you update ConTeXt it should be working
fine.

-- 
A few minutes of yours can give many minutes of education to someone less
priviledged. Go to my blog(http://teachmetowrite.blogspot.com/) and click on
the social vibe badge to make a difference.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] pagenumbering/toc bug?

2009-09-10 Thread Derek CORDEIRO
The example for pagenumbering(different pagenumbering in different parts
with appropriate change in TOC) in MkIV given by Wolfgang @
http://www.ntg.nl/pipermail/ntg-context/2009/043296.html no longer works.

If \completecontent is commented it works.

errors:

structure   : begin of sectionblock frontpart
structure   : title @ level 2 : 0.0 -> \headtext {content}
! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-pag.lua:104:
bad argument #3 to 'format' (string expected, got table)
stack traceback:
[C]: in function 'format'
...text/tex/texmf-context/tex/context/base/strc-pag.lua:104: in function
'number'
...text/tex/texmf-context/tex/context/base/strc-pag.lua:172: in function
'prefixpage'
...text/tex/texmf-context/tex/context/base/strc-lst.lua:399: in function
'prefixedpage'
:1: in main chunk.
\structurelistpagenumber ...gestopper \!!es , } )}

\doifsomething #1->\edef \!!stringa {#1
   }\ifx \!!stringa \empty \expandafter
...
 ...omething {\structurelistpagenumber }
   {\hbox \ifdim \listwidth
...
\firstofoneargument #1->#1

 ...and {\structurelistpagenumber }}
  }\vbox {\hsize \!!widthb
\...
\domakelistelement ...#4}[internal(#2)]\else #3{#4
  }\fi
...


ConTeXt  ver: 2009.09.09 14:31 MKIV  fmt: 2009.9.11  int: english/english

Ofcourse, it worked well a few days back, I updated today.

-- 
A few minutes of yours can give many minutes of education to someone less
priviledged. Go to my blog(http://teachmetowrite.blogspot.com/) and click on
the social vibe badge to make a difference.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Pagenumbering of appendices

2009-09-10 Thread Derek CORDEIRO
On Thu, Sep 10, 2009 at 9:10 PM,

> wrote:

> Hello,
>
> I've been trying to turn off the conversion of page numbers to roman
> numerals in my appendix without any luck. Here is a minimal example:
>
>  \setuppagenumbering[way=bytext,location={bottom, right}]
>  \startsectionblockenvironment[bodypart]
>\setuppagenumber[number=1, state=start]
>  \stopsectionblockenvironment
>  \startsectionblockenvironment[appendix]
>

\setupuserpagenumber[numberconversion=numbers]

\setuppagenumbering is still used for the other parameters below.


>\setuppagenumbering[conversion=,location=bottom,left={--~},right={~--}]
>  \stopsectionblockenvironment
>
>  \starttext
>  \startbodymatter
>  \chapter{Body 1}
>  \input knuth
>  \chapter{Body 2}
>  \input knuth
>  \stopbodymatter
>
>  \startappendices
>  \chapter{App 1}
>  \input knuth
>
>  \chapter{App 2}
>  \input knuth
>  \stopappendices
>  \stoptext
>
> What am I missing? All other settings I set in \setuppagenumbering
> seem to take effect.
>

Please refer to this thread:
http://www.ntg.nl/pipermail/ntg-context/2009/043284.html for a related
discussion.

-- 
A few minutes of yours can give many minutes of education to someone less
priviledged. Go to my blog(http://teachmetowrite.blogspot.com/) and click on
the social vibe badge to make a difference.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-05 Thread Derek CORDEIRO
Thanks a lot, it works as required. I added a note to the wiki
"Table_of_Contents" page. Just an unrelated question, Since MkIV is quite
different and incompatible with MkII, wouldn't it be better to keep all MkIV
specific information separate in the wiki?

On Fri, Sep 4, 2009 at 3:36 PM, Wolfgang Schuster <
schuster.wolfg...@googlemail.com> wrote:

>
> Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:
>
>  I do get romannumerals on each page now, but this is not reflected in the
>> TOC as it does in MkII. Below is the minimal example.
>>
>
> The new code is more complicated than i thought, here is solution to the
> problem.
>
> As Hans suggested we should collect such setups on the wiki.
>
> \definestructureconversionset[frontpart:pagenumber][][romannumerals]
> \definestructureconversionset[bodypart:pagenumber] [][numbers]
>
> \setuplist[chapter][pageconversionset=pagenumber]
>
> \startstructureblockenvironment[frontpart]
>
> \setupuserpagenumber[numberconversion=romannumerals]
> \setuppagenumber[number=1]
>
> \stopstructureblockenvironment
>
> \startstructureblockenvironment[bodypart]
>
> \setuppagenumber[number=1]
>
> \stopstructureblockenvironment
>
> \starttext
>
> \startfrontmatter
>
> \completecontent[criterium=all]
>
> \chapter{Intro}
>
> \input tufte
>
> \stopfrontmatter
>
> \startbodymatter
>
> \chapter{knuth}
>
> \input knuth
>
> \stopbodymatter
>
> \stoptext
>
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-04 Thread Derek CORDEIRO
On Fri, Sep 4, 2009 at 2:07 AM, Wolfgang Schuster <
schuster.wolfg...@googlemail.com> wrote:

>
> Am 03.09.2009 um 15:30 schrieb Derek CORDEIRO:
>
> The following minimal example is not working under MkIV. However it works
> under MkII
>
> \setuppagenumbering[conversion=romannumerals]
>
>
> \setupuserpagenumber[numberconversion=romannumerals]
>
>

I do get romannumerals on each page now, but this is not reflected in the
TOC as it does in MkII. Below is the minimal example.



\starttext
\startfrontmatter

\setupuserpagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]
\completecontent[criterium=all]

\chapter{Intro}

\input tufte

\stopfrontmatter

\startbodymatter
\setuppagenumber[number=1]

\chapter{knuth}

\input knuth

\stopbodymatter

\stoptext


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


[NTG-context] Roman Page numbers

2009-09-03 Thread Derek CORDEIRO
The following minimal example is not working under MkIV. However it works
under MkII


\setuppagenumbering[conversion=romannumerals]

\starttext

\input knuth

\stoptex

What am I doing wrong?

LuaTeX, Version beta-0.43.0-2009081914

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


Re: [NTG-context] Fwd: [XeTeX] List of free Unicode fonts

2009-08-29 Thread Derek CORDEIRO
On Sat, Aug 29, 2009 at 5:06 PM, Mohamed Bana wrote:

> i had no idea that the free ver. of minion pro came with small caps an od
> st nums.


I don't think its really free. If you download, you will be told so:
*Note:* The Font Pack software contained in this package is being licensed
to you solely for use with Adobe® Reader® software ("Adobe Reader") and is
subject to the terms and conditions of the electronic End-User License
Agreement accompanying your version Adobe Reader.


> thanks for the link.
>
>
> Wolfgang Schuster wrote:
>
>> Hi all,
>>
>> something interesting from the XeTeX mailing list.
>>
>>  Dear all,
>>>
>>> I've noticed that there a lot of decent, free Unicode fonts available,
>>> some of which have interesting OpenType features to play with with
>>> XeTeX. I've put together the following PDF as a general guide and would
>>> like any suggestions or comments from the list. The PDF can be
>>> downloaded from:
>>>
>>> http://www.garzo.co.uk/documents/freefonts.pdf
>>>
>>> Thanks,
>>>
>>> Gareth.
>>>
>>> - --
>>> Gareth Hughes
>>>
>>> Department of Eastern Christianity
>>> Oriental Institute
>>> Pusey Lane
>>> Oxford
>>> OX1 2LE
>>>
>>
>>
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] White digit in a black square

2009-08-23 Thread Derek CORDEIRO
I'm no expert, but this seems to work:

\setupcolors [state=start, system=rgb]

\def\bw#1{\framed[background=color,backgroundcolor=black]{\color[white]{#1}}}

\setuppagenumbering[command=\bw,location={header,margin}]
\starttext
\input tufte
\stoptext


On Mon, Aug 24, 2009 at 12:32 AM, Vyatcheslav Yatskovsky <
yatskov...@gmail.com> wrote:

> Hello,
>
> How to make page number as white digit in a black square? (And place it on
> the right of the page)
>

Since right is ambiguous(it could be header or footer) I think you will be
able to figure it out
http://texshow.contextgarden.net/cmd/en/setuppagenumbering

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


Re: [NTG-context] Contents label before contents

2009-08-23 Thread Derek CORDEIRO
On Mon, Aug 24, 2009 at 12:04 AM, Vyatcheslav Yatskovsky <
yatskov...@gmail.com> wrote:

> Hello
>
> I want to place contents in the beginning of the document with "Contents"
> label above it. If I do like
>
> \placecontent
>
> \section{Sec1}
>
> \section{Sec2}
> ...
>
> it's ok, but
>
> \section{Contents}
>
> \placecontent
>
> \section{Sec1}
>
> \section{Sec2}
> ...
>

Why not use the first option and use \completecontent instead of
\placecontent? It will give you the Contents heading you want. So try:

\completecontent

\section{Sec1}

\section{Sec2}
...
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module: changing citation style locally

2009-08-21 Thread Derek CORDEIRO
Try taking the \startpublication ... \stoppublication before \starttext.
Seems to work for me that way.

On Fri, Aug 21, 2009 at 7:18 PM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> Hello (Taco or anyone else),
>
> I have an impression that it used to be possible to say
> \cite[author][reference], but I'm obviously doing something wrong
> here, I only get Xxx or in case of [data] I don't get anything at
> all (I'm using mkii). Here's an almost-minimal example:
>
> \usemodule
>[bib]
> \setuppublications
>[alternative=num,
> criterium=all,
> sorttype=cite]
> \setuppublicationlist
>[artauthor=\normalshortauthor,
> author=\normalshortauthor]
>
> \starttext
>
> first: \cite[Knoll]
>
> second: \cite[author][Knoll], \cite[alternative=author][Knoll]
>
> third: \cite[data][Knoll]
>
> \startpublication[k=Knoll,t=book,a=Knoll]
>\title{Radiation Detection and Measurement}
>\author[]{Glenn Frederick}[G.~F.]{}{Knoll}
>\pubname{Wiley, John \& Sons, Incorporated}
>\pubyear{1979}
> \stoppublication
>
> \placepublications
>
> \stoptext
>
> Thanks in advance for any hints,
>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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>



-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
Get a great webhosting deal: http://is.gd/jrA2
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help:Your luatex binary is way too old

2009-08-17 Thread Derek CORDEIRO
On Mon, Aug 17, 2009 at 3:31 AM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> On Sun, Aug 16, 2009 at 23:50, Hans Hagen wrote:
> >
> > for some time the minimals have too old versions; can it be that akira
> ships
> > the tex live release and has the latest luatex in another place?
>
> Oh, I remember now ... Akira's site says:
> luatex-w32.tar.bz2 LuaTeX (beta-0.40.6) -- available after 2009/08/14
> JST
> (I knew about it and forgot to check again; I blindly assumed that the
> "stable" version on his server was OK. It probably worked in the first
> few days as I replaced "stable" with "dev", but apparently I replaced
> it back to stable after a while without checking.)
>
> You may try to update again.
>

Updated, Now I get a different error:
———
 {c:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}Assertion failed:
pdf->o_m
ode == OMODE_PDF, file pdf/pdfgen.c, line 188

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
MTXrun | fatal error, return code: 3
———

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


Re: [NTG-context] Help:Your luatex binary is way too old

2009-08-16 Thread Derek CORDEIRO
On Mon, Aug 17, 2009 at 2:31 AM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> On Sun, Aug 16, 2009 at 22:52, Derek CORDEIRO wrote:
> > On Mon, Aug 17, 2009 at 2:02 AM, Mojca Miklavec wrote:
> >>
> >> On Sun, Aug 16, 2009 at 22:21, Derek CORDEIRO wrote:
> >> > I just tried to install context minimals on Windows. I have ruby and
> lua
> >> > installed. I chose the command line installation(done today). Trying
> to
> >> > generate a bare minimum(Hello World) pdf, I encounter the following
> >> > error. I
> >> > do not use Windows much so it may be my ignorance, what am I doing
> >> > wrong?
> >> > -
> >> >
> >> > : Your luatex binary is way too old, you need at least version
> 0.42.
> >>
> >> Does this happen during update (first-update.bat) or during format
> >> generation?
> >
> > No, not that I can notice. (first-setup.bat and context --generate,
> context
> > --make don't show any errors.)
> >
> >>
> >> If it happens during format generation it could be due to
> >> "chicken-and-egg problem" (luatex cannot update itself). There is
> >> texlua.exe in bin/ and luatex.exe in tex/texmf-mswin/bin. Can you try
> >> to run both separately (luatex --version and texlua --version) and
> >> check their versions?
> >
> > C:\contextminimal>bin\texlua.exe --version
> > This is LuaTeX, Version beta-0.40.6-2009081408 (Web2C 2009) luatex.web >=
> > v14240
> >
> > C:\contextminimal>tex\texmf-mswin\bin\luatex.exe --version
> > This is LuaTeX, Version beta-0.40.6-2009081408 (Web2C 2009) luatex.web >=
> > v14240
> >
> >
> >>
> >> One possibility to resolve the problem is to fetch a fresh copy of
> >> http://minimals.contextgarden.net/setup/context-setup-mswin.zip and
> >
> > I downloaded it less than 2 hours back. I even tried over-writing(after
> > running first-setup.bat but the version of texlua.exe in the above file
> is
> > beta-0.40.6…
>
> It's not about overwritting luatex.exe, but luatex.dll.


I know, I meant overwriting both the files and executing texlua.exe ( Sorry
I was a bit ambiguous)


>
> >> overwrite the old "bin" folder, or just replace
> >> http://minimals.contextgarden.net/setup/mswin/bin/luatex.dll.
> >
> > Tried that too… I wonder if its just me :-/
>
> The weird thing is that
>http://minimals.contextgarden.net/current/bin/luatex/mswin/bin/
> shows the date of luatex.dll to be 14th August (I cannot try right now
> what version that is, but it cannot be too old).


>
>
If it helps, I tried the GUI installer with the stable branch first. Got the
too old binary error and re-ran the GUI installer with the beta branch. But
it made no difference so started afresh(deleted contextminimals folder, and
used the 
context-setup-mswin.zip<http://minimals.contextgarden.net/setup/context-setup-mswin.zip>+
first-setup.bat.

Thanks for the quick response. I hope you will check it when possible.


With Thanks,
Derek
-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
Get a great webhosting deal: http://is.gd/jrA2
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help:Your luatex binary is way too old

2009-08-16 Thread Derek CORDEIRO
On Mon, Aug 17, 2009 at 2:02 AM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> On Sun, Aug 16, 2009 at 22:21, Derek CORDEIRO wrote:
> > I just tried to install context minimals on Windows. I have ruby and lua
> > installed. I chose the command line installation(done today). Trying to
> > generate a bare minimum(Hello World) pdf, I encounter the following
> error. I
> > do not use Windows much so it may be my ignorance, what am I doing wrong?
> > -
> >
> > : Your luatex binary is way too old, you need at least version 0.42.
>
> Does this happen during update (first-update.bat) or during format
> generation?
>

No, not that I can notice. (first-setup.bat and context --generate, context
--make don't show any errors.)


> If it happens during format generation it could be due to
> "chicken-and-egg problem" (luatex cannot update itself). There is
> texlua.exe in bin/ and luatex.exe in tex/texmf-mswin/bin. Can you try
> to run both separately (luatex --version and texlua --version) and
> check their versions?


C:\contextminimal>bin\texlua.exe --version
This is LuaTeX, Version beta-0.40.6-2009081408 (Web2C 2009) luatex.web >=
v14240

C:\contextminimal>tex\texmf-mswin\bin\luatex.exe --version
This is LuaTeX, Version beta-0.40.6-2009081408 (Web2C 2009) luatex.web >=
v14240



> One possibility to resolve the problem is to fetch a fresh copy of
> http://minimals.contextgarden.net/setup/context-setup-mswin.zip and


I downloaded it less than 2 hours back. I even tried over-writing(after
running first-setup.bat but the version of texlua.exe in the above file is
beta-0.40.6…

>
> overwrite the old "bin" folder, or just replace
> http://minimals.contextgarden.net/setup/mswin/bin/luatex.dll.


Tried that too… I wonder if its just me :-/



-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
Get a great webhosting deal: http://is.gd/jrA2
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Help:Your luatex binary is way too old

2009-08-16 Thread Derek CORDEIRO
I just tried to install context minimals on Windows. I have ruby and lua
installed. I chose the command line installation(done today). Trying to
generate a bare minimum(Hello World) pdf, I encounter the following error. I
do not use Windows much so it may be my ignorance, what am I doing wrong?
-

LuaTools | merging library
c:/contextminimal/tex/texmf-context/tex/context/base/
luat-cnf.lua
LuaTools | saving merge from cont-en.lua
LuaTools | using compiled initialization file: cont-en.luc
LuaTools | using lua initialization file: cont-en.luc
LuaTools | running command: luatex --ini --lua="cont-en.luc"
"c:/contextminimal/
tex/texmf-context/tex/context/base/cont-en.tex" \dump

This is LuaTeX, Version beta-0.40.6-2009081408 (Web2C 2009) (INITEX)
 \write18 enabled.
(c:/contextminimal/tex/texmf-context/tex/context/base/cont-en.tex
(c:/contextmin
imal/tex/texmf-context/tex/context/base/context.tex
(c:/contextminimal/tex/texmf
-context/tex/context/base/context.mkiv
(c:/contextminimal/tex/texmf-context/tex/
context/base/syst-ini.tex
Warning: support for multiple lua states has been dropped.
  Please stop using a number after \directlua and \latelua.

)
: Your luatex binary is way too old, you need at least version 0.42.
 ) ) )
node memory in use: 90 words out of 500
rapidly available: 2:2, 3:5 nodes
current usage: 7 glue_spec, 1 dir nodes
No pages of output.
Transcript written on cont-en.log.
LuaTools |
LuaTools | runtime: 0.516 seconds
MTXrun | run 1: luatex
--fmt="c:/contextminimal/tex/texmf-cache/luatex-cache/con
text/d1d2ccfb3346ff481f4c4dab022cb26d/formats/cont-en"
--lua="c:/contextminimal/
tex/texmf-cache/luatex-cache/context/d1d2ccfb3346ff481f4c4dab022cb26d/formats/co
nt-en.luc" --backend=pdf "./math.tex"
This is LuaTeX, Version beta-0.40.6-2009081408 (Web2C 2009)
 \write18 enabled.
luatex:
c:/contextminimal/tex/texmf-cache/luatex-cache/context/d1d2ccfb3346ff481
f4c4dab022cb26d/formats/cont-en.fmt: No such file or directory
MTXrun | fatal error, return code: 1



-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
Get a great webhosting deal: http://is.gd/jrA2
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Change whitespace before item?

2009-08-11 Thread Derek CORDEIRO
On Tue, Aug 11, 2009 at 9:11 PM, U Avalos  wrote:

> Say I want to change the whitespace before an item in an enumeration.
> The diagram below:
>
> |.(a)   Item 2
> |.(b)   item 2
>
> Say I want to change the whitespace (represented by the dots) in a list?
> How can I do that? Tried various settings: changing margin, adding
> hskip, but nothing seems to do the trick. There doesn't seem to be
> anything in the docs...
>

Isn't it well documented in the wiki?
http://wiki.contextgarden.net/Enumerations

How can I get a question answered on this list, BTW? It seems that no
> one either knows anything or are too busy for simple questions. FYI,
> devs, this language is going to die if you don't get more users
>

Now who would guess that you would get replies by being rude? But it sounds
like you are doing the devs a favor by using ConTeXt. I think it has been
around long enough to not worry about its death. This is one of the best
lists I've subscribed to.

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


Re: [NTG-context] TOP 3 BEST SELLING PACKs: 10-Viagr+10-Cialix: $69.99; 60-Cialix: $198.40; 10-Viagr+10-Cialix+10-Levitr: $119.98 ttuftn fx4

2009-08-05 Thread Derek CORDEIRO
There is a problem on this list :( New list hiccups I assume.


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


Re: [NTG-context] Layers don't repeat in Mk IV

2009-08-05 Thread Derek CORDEIRO
On Wed, Aug 5, 2009 at 2:45 PM, Wolfgang Schuster <
schuster.wolfg...@googlemail.com> wrote:

>
> Am 05.08.2009 um 10:47 schrieb Derek CORDEIRO:
>
>  \definelayer[mybg][width=\paperwidth,height=\paperheight,state=repeat]
>> \setlayer[mybg]
>>[hoffset=1cm, voffset=1cm]
>>{\framed[frame=on, width=3cm,
>> height=2cm]{\externalfigure[cow][width=1cm]
>> }}
>> \setupbackgrounds[page][background=mybg]
>>
>> \starttext
>> \dorecurse{6}{\input tufte\par}
>> \stoptext
>>
>> It still does not work(still layer only on first page in Mk IV). What am I
>> doing wrong?
>>
>
> A typo in pack-lyr.mkiv for the \dodoflushlayer macro.
>
> In MkII a line of the macro is
>
>   \doifnotvalue{\??ll#2\c!position}\v!yes
> {\doifvalue{\??ll#2\c!repeat}\v!yes\!!donecfalse
>  \doifvalue{\??ll#2\c!state}\v!repeat\!!donecfalse}%
>
> while in MkIV it's
>
> \ifx\@@currentlayerposition\v!yes
>
> \edef\@@currentlayerrepeat{\csname\??ll\currentlayer\c!repeat\endcsname}%
> % \edef\@@currentlayerstate
> {\csname\??ll\currentlayer\c!state\endcsname}% actually this is already set
>   \ifx\@@currentlayerrepeat\v!yes
> \!!donecfalse
>   \else\ifx\@@currentlayerstate\v!repeat
> \!!donecfalse
>   \fi\fi
> \fi
>
> MkII expects position ≠ yes while MkIV continues only when position = yes
> what's wrong, you can add \unless before the \ifx and the layer mechanism
> works.
>
> \unless\ifx\@@currentlayerposition\v!yes
>
> \edef\@@currentlayerrepeat{\csname\??ll\currentlayer\c!repeat\endcsname}%
> % \edef\@@currentlayerstate
> {\csname\??ll\currentlayer\c!state\endcsname}% actually this is already set
>   \ifx\@@currentlayerrepeat\v!yes
> \!!donecfalse
>   \else\ifx\@@currentlayerstate\v!repeat
> \!!donecfalse
>   \fi\fi
> \fi
>   \fi
>
>

Thanks a lot, works great.

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


Re: [NTG-context] Layers don't repeat in Mk IV

2009-08-05 Thread Derek CORDEIRO
On Wed, Aug 5, 2009 at 2:43 AM, Wolfgang Schuster <
schuster.wolfg...@googlemail.com> wrote:

> \definelayer[mybg][width=\paperwidth,height=\paperheight,state=repeat]
>

My file now contains:
--
\definelayer[mybg][width=\paperwidth,height=\paperheight,state=repeat]
\setlayer[mybg]
[hoffset=1cm, voffset=1cm]
{\framed[frame=on, width=3cm,
height=2cm]{\externalfigure[cow][width=1cm]
}}
\setupbackgrounds[page][background=mybg]

\starttext
\dorecurse{6}{\input tufte\par}
\stoptext

It still does not work(still layer only on first page in Mk IV). What am I
doing wrong?

ConTeXt log at http://pastebin.com/m3d676b5a

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


[NTG-context] Layers don't repeat in Mk IV

2009-08-04 Thread Derek CORDEIRO
I've been trying to use layers for a simple logo that repeats on all pages.
Something along the lines of the code below:

\definelayer[mybg][x=0mm, y=0mm,width=\paperwidth,
height=\paperheight,repeat=yes]
\setlayer   [mybg]
[hoffset=1cm, voffset=1cm]
{\framed[frame=on, width=3cm,
height=2cm]{\externalfigure[cow][width=1cm]
}}
\setupbackgrounds[page][background=mybg]

\starttext
\dorecurse{6}{\input tufte\par}
\stoptext

It works as expected using Mk II but does not work under Mk IV: The layer
appears only on the first page.

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


Re: [NTG-context] lost curved left quotes

2009-08-04 Thread Derek CORDEIRO
On Tue, Aug 4, 2009 at 8:57 PM, Ciro Soto  wrote:

> I am resending this just in case it got lost when the server was down.
>
>
>
>
> Hi all,
> Somehow my left quotes are straight, not curved as my right quotes.
> How could I make them curved?
> (I am using `` for the left quotes, and '' for the right quotes.)
> (If I use \quotation {qwerty}  I get the curved quotes in both sides)
>

I think thats the way Mk IV is supposed to be, you could type the “double
quotes” in from your keyboard. Using texexec(Mk II) you should get the old
behavior, i.e. `` = “

Regards,
Derek

P.S. This is all I could find on the above subject.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Linux Libertine type

2009-07-23 Thread Derek CORDEIRO
On Thu, Jul 23, 2009 at 8:15 PM, Khaled Hosny  wrote:

> On Thu, Jul 23, 2009 at 08:05:11PM +0530, Derek CORDEIRO wrote:
> > de...@derek-desktop:~$ mtxrun -script fonts -list|grep Lin
> >
> > The above command gives no output
> >
> > Still clueless, Derek
>

Got it to work by adding the fonts to $TEXMF/fonts/opentype


>
> ConTeXt normalizes fontnames to lower case, 'grep -i'.
>

Not really, output of «mtxrun -script fonts -list|grep Lin»

linbiolinum  Linux Biolinum
Biolinum_Re.ttf
linbiolinumb Linux Biolinum Bold
Biolinum_Bd.ttf
linbiolinumo Linux Biolinum O
Biolinum_Re.otf
linbiolinumobLinux Biolinum O Bold
Biolinum_Bd.otf
linlibertine Linux Libertine
LinLibertine_Re.ttf
linlibertinebLinux Libertine Bold
LinLibertine_Bd.ttf
linlibertinebi   Linux Libertine Bold Italic
LinLibertine_BI.ttf
linlibertinecLinux Libertine Capitals
LinLibertineC_Re.ttf
linlibertineiLinux Libertine Italic
LinLibertine_It.ttf
linlibertineoLinux Libertine O
LinLibertine_Re.otf
linlibertineob   Linux Libertine O Bold
LinLibertine_Bd.otf
linlibertineobi  Linux Libertine O Bold Italic
LinLibertine_BI.otf
linlibertineoc   Linux Libertine O Capitals
LinLibertineC_Re.otf
linlibertineoi   Linux Libertine O Italic
LinLibertine_It.otf
linuxbiolinumLinux Biolinum
Biolinum_Re.ttf
linuxbiolinumboldLinux Biolinum Bold
Biolinum_Bd.ttf
linuxbiolinumo   Linux Biolinum O
Biolinum_Re.otf
linuxbiolinumobold   Linux Biolinum O Bold
Biolinum_Bd.otf
linuxlibertine   Linux Libertine
LinLibertine_Re.ttf
linuxlibertinebold   Linux Libertine Bold
LinLibertine_Bd.ttf
linuxlibertinebolditalic Linux Libertine Bold Italic
LinLibertine_BI.ttf
linuxlibertinecapitals   Linux Libertine Capitals
LinLibertineC_Re.ttf
linuxlibertineitalic Linux Libertine Italic
LinLibertine_It.ttf
linuxlibertineo  Linux Libertine O
LinLibertine_Re.otf
linuxlibertineobold  Linux Libertine O Bold
LinLibertine_Bd.otf
linuxlibertineobolditalicLinux Libertine O Bold Italic
LinLibertine_BI.otf
linuxlibertineocapitals  Linux Libertine O Capitals
LinLibertineC_Re.otf
linuxlibertineoitalicLinux Libertine O Italic
LinLibertine_It.otf
---

Thanks anyway :)

P.S. I had to rename the fonts from LinLibertine_Bd-4.1.0.otf to
LinLibertine_Bd.otf
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Linux Libertine type

2009-07-23 Thread Derek CORDEIRO
On Thu, Jul 23, 2009 at 7:51 PM, Khaled Hosny  wrote:

> On Thu, Jul 23, 2009 at 07:20:48PM +0530, Derek CORDEIRO wrote:
> > Hi,
> >
> > I have downloaded and installed the typescripts from http://
> > modules.contextgarden.net
> >
> > In myTeX file, I have at the beginning of the file:
> >
> > \usetypescriptfile[type-linuxlibertine]
> > \usetypescript[linuxlibertine]
> > \setupbodyfont[linuxlibertine,12pt]
> >
> > The following is a part of the context output.
> >
> > ) (/home/derek/context/tex/texmf-local/tex/context/third/typescripts/
> > type-linuxlibertine.tex
> (/home/derek/context/tex/texmf-local/tex/context/third/
> > typescripts/type-linuxlibertine.mkiv))
> > fontnames | identifying tree font files with suffix otf
> > fontnames | identifying tree font files with suffix OTF
> .
> .
> .
> > define font | font with name Linux Libertine O is not found
> > define font | unknown font Linux Libertine O, loading aborted
> > define font | unable to define Linux Libertine O as
> \*linuxlibertine12ptrmtf*
> >
> > Output of the command «fc-list | grep "Linux Libertine"» is as follows
> >
> > Linux Libertine:style=Bold
> > Linux Libertine O:style=Bold Italic
> > Linux Libertine O C:style=Regular
> > Linux Libertine O:style=Regular
> > Linux Libertine C:style=Regular
> > Linux Libertine U:style=Regular
> > Linux Libertine O:style=Italic
> > Linux Libertine:style=Italic
> > Linux Libertine:style=Bold Italic
> > Linux Libertine O:style=Bold
> > Linux Libertine:style=Regular
> >
> > ConTeXt  ver: 2009.07.22 21:46 MKIV  fmt: 2009.7.23  int: english/english
> >
> > What am I doing wrong?
>
> ConTeXt doesn't use fontconfig for detecting installed fonts, try to set
> OSFONTDIR to point where your fonts are, then run:
> mtxrun -script fonts -reload
>


de...@derek-desktop:~$ echo $OSFONTDIR
/home/derek/.fonts
de...@derek-desktop:~$ ls /home/derek/.fonts/Lin*
/home/derek/.fonts/LinLibertine_Bd-4.1.0.otf
/home/derek/.fonts/LinLibertine_Bd-4.1.0.ttf
/home/derek/.fonts/LinLibertine_BI-4.0.5.otf
/home/derek/.fonts/LinLibertine_BI-4.0.5.ttf
/home/derek/.fonts/LinLibertineC_Re-4.0.3.otf
/home/derek/.fonts/LinLibertineC_Re-4.0.3.ttf
/home/derek/.fonts/LinLibertine_It-4.0.6.otf
/home/derek/.fonts/LinLibertine_It-4.0.6.ttf
/home/derek/.fonts/LinLibertine_Re-4.4.1.otf
/home/derek/.fonts/LinLibertine_Re-4.4.1.ttf
de...@derek-desktop:~$ mtxrun -script fonts --reload
MTXrun | fontnames: identifying tree font files with suffix otf
MTXrun | fontnames: identifying tree font files with suffix OTF
MTXrun | fontnames: 161 tree files identified, 161 hash entries added,
runtime 0.229 seconds
MTXrun | fontnames: identifying tree font files with suffix ttf
MTXrun | fontnames: identifying tree font files with suffix TTF
MTXrun | fontnames: 5 tree files identified, 5 hash entries added, runtime
0.205 seconds
MTXrun | fontnames: identifying tree font files with suffix ttc
MTXrun | fontnames: identifying tree font files with suffix TTC
MTXrun | fontnames: 0 tree files identified, 0 hash entries added, runtime
0.226 seconds
MTXrun | fontnames: identifying tree font files with suffix afm
MTXrun | fontnames: identifying tree font files with suffix AFM
MTXrun | fontnames: 76 tree files identified, 65 hash entries added, runtime
0.389 seconds
MTXrun | fontnames: identifying system font files with suffix otf
MTXrun | fontnames: identifying system font files with suffix OTF
MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime
0.000 seconds
MTXrun | fontnames: identifying system font files with suffix ttf
MTXrun | fontnames: identifying system font files with suffix TTF
MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime
0.000 seconds
MTXrun | fontnames: identifying system font files with suffix ttc
MTXrun | fontnames: identifying system font files with suffix TTC
MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime
0.000 seconds
MTXrun | fontnames: identifying system font files with suffix afm
MTXrun | fontnames: identifying system font files with suffix AFM
MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime
0.000 seconds

de...@derek-desktop:~$ mtxrun -script fonts -list|grep Lin

The above command gives no output

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


[NTG-context] Linux Libertine type

2009-07-23 Thread Derek CORDEIRO
Hi,

I have downloaded and installed the typescripts from
http://modules.contextgarden.net

In myTeX file, I have at the beginning of the file:

\usetypescriptfile[type-linuxlibertine]
\usetypescript[linuxlibertine]
\setupbodyfont[linuxlibertine,12pt]

The following is a part of the context output.

)
(/home/derek/context/tex/texmf-local/tex/context/third/typescripts/type-linuxlibertine.tex
(/home/derek/context/tex/texmf-local/tex/context/third/typescripts/type-linuxlibertine.mkiv))
fontnames | identifying tree font files with suffix otf
fontnames | identifying tree font files with suffix OTF
fontnames | 161 tree files identified, 161 hash entries added, runtime 0.244
seconds
fontnames | identifying tree font files with suffix ttf
fontnames | identifying tree font files with suffix TTF
fontnames | 5 tree files identified, 5 hash entries added, runtime 0.215
seconds
fontnames | identifying tree font files with suffix ttc
fontnames | identifying tree font files with suffix TTC
fontnames | 0 tree files identified, 0 hash entries added, runtime 0.208
seconds
fontnames | identifying tree font files with suffix afm
fontnames | identifying tree font files with suffix AFM
fontnames | 76 tree files identified, 65 hash entries added, runtime 0.336
seconds
fontnames | identifying system font files with suffix otf
fontnames | identifying system font files with suffix OTF
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds
fontnames | identifying system font files with suffix ttf
fontnames | identifying system font files with suffix TTF
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds
fontnames | identifying system font files with suffix ttc
fontnames | identifying system font files with suffix TTC
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds
fontnames | identifying system font files with suffix afm
fontnames | identifying system font files with suffix AFM
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds
define font | font with name Linux Libertine O is not found
define font | unknown font Linux Libertine O, loading aborted
define font | unable to define Linux Libertine O as
\*linuxlibertine12ptrmtf*

Output of the command «fc-list | grep "Linux Libertine"» is as follows

Linux Libertine:style=Bold
Linux Libertine O:style=Bold Italic
Linux Libertine O C:style=Regular
Linux Libertine O:style=Regular
Linux Libertine C:style=Regular
Linux Libertine U:style=Regular
Linux Libertine O:style=Italic
Linux Libertine:style=Italic
Linux Libertine:style=Bold Italic
Linux Libertine O:style=Bold
Linux Libertine:style=Regular

ConTeXt  ver: 2009.07.22 21:46 MKIV  fmt: 2009.7.23  int: english/english

What am I doing wrong?

Help would be much appreciated,
Derek
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Lettrine link broken

2009-07-23 Thread Derek CORDEIRO
Hi, the link to the lettrine module(download zip file) on the lettrine
module page is broken. I guess the only one who can fix it is the
maintainer.

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


Re: [NTG-context] Indentation in itemize

2009-01-10 Thread Derek CORDEIRO
On Sat, Jan 10, 2009 at 7:51 PM, Curious  wrote:

> Hello Folks,
>
> Is there a way to have the first level of items indented. The second and
> subsequent levels are indented by default, but how does one achieve
> indentation
> of the first level. I looked at the options in the Context manual and I see
> that
> the default value of indentnext is yes. However, I think that applies
> second
> level onwards.
>
> Thanks in advance.
>


Maybe \setupitemize[margin=1cm] will give the top level a 1cm indentation?
I'm not sure if thats what your looking out for.(I'm a novice too)

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Serious bug?

2008-12-23 Thread Derek CORDEIRO
On Tue, Dec 23, 2008 at 8:51 PM, Derek CORDEIRO wrote:

> On Sun, Dec 21, 2008 at 12:49 PM, Fengnan Gao  wrote:
>
>>  I just installed ConTeXtMinimal using first-setup.bat. But it seems it
>> has some serious bug that context even couldn't deal with such a easy
>> document:
>>
>> \starttext
>> Hello world!
>> \stoptext
>>
>> What's the problem? Anybody can help me?
>>
>>
>
> I got the same error so I tried texexec instead of context and it seems to
> work fine. How different is context from texexec?


Oops dumb question on my part... did not realise that texexec used pdfTeX by
default and context uses luaTeX.

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


Re: [NTG-context] Serious bug?

2008-12-23 Thread Derek CORDEIRO
On Sun, Dec 21, 2008 at 12:49 PM, Fengnan Gao  wrote:

>  I just installed ConTeXtMinimal using first-setup.bat. But it seems it
> has some serious bug that context even couldn't deal with such a easy
> document:
>
> \starttext
> Hello world!
> \stoptext
>
> What's the problem? Anybody can help me?
>
>

I got the same error so I tried texexec instead of context and it seems to
work fine. How different is context from texexec?

Regards,
Derek

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Beginner help: horizontal line

2008-12-22 Thread Derek CORDEIRO
On Mon, Dec 22, 2008 at 9:54 PM, Aditya Mahajan  wrote:

> On Mon, 22 Dec 2008, Derek CORDEIRO wrote:
>
>  Hi,
>>
>> I would like to be able to draw a line in the footer of every page. If I
>> try
>> to use setupfooter with before=\thinrule or before=\hrule I get some
>> unexpected results. I want the line to span only the width of the body but
>> thinrule aligns it to the left from the left edge. \hrule spans the entire
>> page. I don't want it spanning accross the margins. Maybe I'm doing
>> something very wrong... please help
>>
>
> \setupbackgrounds[footer][text][topframe=on]

Thank You!

Derek.


-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Beginner help: horizontal line

2008-12-22 Thread Derek CORDEIRO
Hi,

I would like to be able to draw a line in the footer of every page. If I try
to use setupfooter with before=\thinrule or before=\hrule I get some
unexpected results. I want the line to span only the width of the body but
thinrule aligns it to the left from the left edge. \hrule spans the entire
page. I don't want it spanning accross the margins. Maybe I'm doing
something very wrong... please help


Regards,
Derek
-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] PDF page numbers

2008-12-16 Thread Derek CORDEIRO
On Tue, Dec 16, 2008 at 2:40 PM, Zhichu Chen  wrote:

> Best Regards
> Chen
> 
>
>  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
> No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
> tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
>   | www.sinap.ac.cn
> 
>
>
>
> On Tue, Dec 16, 2008 at 4:33 PM, Taco Hoekwater 
> wrote:
> >
> >
> > Mohamed Bana wrote:
> >> Derek CORDEIRO wrote:
> >>> In latex + book/memoir + hyperref, if \frontmatter \mainmatter are
> >>> used, the pdf files generated use the roman numbers in the pdf itself.
> >>> It appears as ii (2 of 500) in the pdfviewer. Is it possible to do the
> >>> same with ConTeXt?
> >>
> >> It would be great if ConTeXt could.
> >
> > Doesn't sound like rocket science. Perhaps someone could dig up the
> > latex code that does this ?
>
> Does the following code work for you?
> ==
> \pdfcompresslevel 0
>
> \setupinteraction
>  [state=start,
>   focus=width,
>   page=yes,
>   openaction=firstpage,
>   click=no,
>   title=TEST,
>   author=Neals,
>   subtitle=Test,
>   keyword={test}]
>
> \setupcolors
>  [state=start]
>
> \newcount\FrontPageNumbers
>
> \setupsubpagenumber[way=bytext,state=start]
> \setuppagenumbering[location=]
>
> \startsectionblockenvironment[frontpart]
>  \setupfootertexts[pagenumber]
>  \setuppagenumbering[conversion=romannumerals]
> \stopsectionblockenvironment
>
> \startsectionblockenvironment[bodypart]
>  \global\FrontPageNumbers=\pagenumber
>  \global\advance\FrontPageNumbers\minusone
>  \setuppagenumber[number=1]
>  \resetsubpagenumber
> %  \setupfootertexts[\the\FrontPageNumbers]
>  \setupfootertexts[pagenumber]
> \stopsectionblockenvironment
>
> \startsectionblockenvironment[backpart]
>  \resetsubpagenumber
> \stopsectionblockenvironment
>
> \def\PageLabels{\pdfcatalog{/PageLabels << /Nums [ 0 << /S /r >>
> \the\FrontPageNumbers << /S /D >> ] >>  >>}}
>
>
> \prependtoks
>  \PageLabels
> \to \everystoptext
>
> \starttext
>
>
>
> \startfrontmatter
> % \chapter{Table of Contents}
> \completecontent[interaction=all]
> \chapter{Preface}
> \dorecurse{10}{\input zapf\par}
> % \chapter{Preface}
> % \dorecurse{10}{\input zapf\par}
> % \chapter{Preface}
> % \dorecurse{10}{\input zapf\par}
> \stopfrontmatter
>
> \startbodymatter
> \chapter{Test}
> \dorecurse{15}{\input tufte\par}
> \chapter{TestAgain}
> \dorecurse{15}{\input ward\par}
> \stopbodymatter
>
> \startbackmatter
> Index maybe.
> \stopbackmatter
>
>
> \stoptext
> ==
>


Works Perfectly!

Regards,
Derek

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] PDF page numbers

2008-12-10 Thread Derek CORDEIRO
2008/12/10 Marcin Borkowski <[EMAIL PROTECTED]>

> Dnia Tue, Dec 09, 2008 at 01:27:01PM +0100, Mojca Miklavec napisał(a):
> > Hello Derek,
> >
> > On Tue, Dec 9, 2008 at 11:53 AM, Derek CORDEIRO wrote:
> > > I find
> > > myself stumbling on simple things(I'm a beginner). For example, the
> > > following works fine.
> > >
> > > \usetypescriptfile[type-gyr]
> > > \usetypescript[palatino]
> > > \setupbodyfont[palatino,11pt]
> > >
> > > but the following does not work.
> > >
> > > \usetypescriptfile[type-gyr]
> > > \usetypescript[schoolbook][ec]
> > > \setupbodyfont[schoolbook,11pt]
> >
> > Some definitions/mappings are missing in the core.
> > This should work in next version of ConTeXt and you will not need
> > \usetypescriptfile[type-gyr] any more.
>
> Just out of curiosity: what do you mean by "next version"?  Next beta or
> MkV;)?
>
>
I was tempted to ask the same question :)

BTW, Is there anyway to report errors in the user manual(cont-eni.pdf, not
the beginners manual, I found the wiki page for that)?

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] PDF page numbers

2008-12-09 Thread Derek CORDEIRO
In latex + book/memoir + hyperref, if \frontmatter \mainmatter are used, the
pdf files generated use the roman numbers in the pdf itself. It appears as
ii (2 of 500) in the pdfviewer. Is it possible to do the same with ConTeXt?

Is there any introduction to using fonts(typefaces) in ConTeXt? I find
myself stumbling on simple things(I'm a beginner). For example, the
following works fine.

\usetypescriptfile[type-gyr]
\usetypescript[palatino]
\setupbodyfont[palatino,11pt]

but the following does not work.

\usetypescriptfile[type-gyr]
\usetypescript[schoolbook][ec]
\setupbodyfont[schoolbook,11pt]

I have tried with and older distribution of ConTeXt which comes along with
Fedora 10 as well as with ConTeXt minimals. Incidentally if I use
\definetypeface[schola][rm][serif][schola][default][encoding=t5] it works
fine. What am I doing wrong?

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