[NTG-context] Page Numbering Hell

2009-10-20 Thread Bryant Eastham
All-

 

A few days ago when I first stumbled on ConTeXt I was very, very
excited. I have some 500 pages of technical documentation that could
benefit from this, particularly since I need Japanese font support. But
it has to be real.

 

I'm sorry if this sounds caustic, but after 12 hours of failed attempts
to even get a minimal document formatted I have some serious questions
for the list:

 

1.   Is Mark IV real? I am only somewhat joking here - after
spending hours searching for reasonable documentation on even the most
trivial options, I am left wondering whether this is something I want to
use...

2.   ConTeXt looks great. But what is current? Seriously, I like the
look and the support (particularly Unicode). But going over
documentation I cannot make heads or tails of what to do. Mark II? Mark
IV? TeTeX? LuaTeX? If I really want to use this, what should I use?

3.   Having answered #2, where in the world is a reference manual!!!
I mean one that actually *documents the options*.

4.   Having answered #3, are there any current examples that
actually work? The snippets from the mailing are great, but they are
just snippets. That doesn't help me.

 

Now, to resolve my immediate issue, and just because I will not be able
to sleep well until I figure this out (yes, I am fixated on this).

 

I want this document structure:

 

Contents

1.   Chapter   1-1

1.1 Section 1-2

2.   Chapter 2  2-1

2.1 Section 2-2

 

Table of contents on page "i".

Even/odd, each chapter starts on right page.

Page number (as in 2-2) in top margin.

Mark IV, Lua document.

 

I have tried hundreds of different combinations. If it cannot do this,
the I will (with sadness) move on. I'm sure that it would take someone
who understands this about 5 minutes to write (if that).

 

-Bryant

 

 

 

 

Panasonic Electric Works Laboratory of America - SLC Lab
4525 So. Wasatch Blvd., Suite 100, 84124
Salt Lake City, UT 84124



T 801.993.7124
F 801.993.7260
beast...@pewla.us.pewg.pansonic.com

Bryant Eastham
Chief Architect



 

 

***CONFIDENTIALITY NOTICE***: This e-mail and any attachments may
contain information which is confidential, proprietary, trade secret,
privileged or otherwise protected by law. The information is the
property of Panasonic Electric Works Laboratory of America, Inc., and is
solely intended for the named addressee (or a person responsible or
delivering it to the addressee). If you are not the intended recipient
of this message, you are not authorized to read, print, retain copy or
disseminate this message or any part of it. If you have received this
e-mail in error, please notify the sender and the Office of General
Counsel at generalcoun...@us.pewg.panasonic.com
  immediately by return
e-mail and delete it from your computer.

 

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


Re: [NTG-context] Simplest slides

2009-10-20 Thread Hans Hagen

Aditya Mahajan wrote:

fmtutil-sys cont-en (not cont-fr). I don't know what is the right way to 
make the cont-fr format in TL. If that fails you can also try


texexec --make --all


texexec --make fr
context --make fr

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


Re: [NTG-context] Simplest slides

2009-10-20 Thread Aditya Mahajan

On Tue, 20 Oct 2009, R. Bastian wrote:


On Mon, 19 Oct 2009 15:31:49 -0400 (EDT)
Aditya Mahajan  scribit:


Something is wrong ...

Can you help me ?


You need to make the context format. Try

fmtutil-sys cont-en


r...@kubuntu64:~/Context$ fmtutil-sys cont-fr
fmtutil: fmtutil: unknown option `cont-fr'. Try fmtutil --help for help.


fmtutil-sys cont-en (not cont-fr). I don't know what is the right way to 
make the cont-fr format in TL. If that fails you can also try


texexec --make --all


Or, since you already have the xetex and the luatex formats, you can use

context generic-talk*.tex

or

texexec --xetex generic-talk*.tex


r...@kubuntu64:~/Context$ texexec --xetex generic-talk*.tex
TeXExec | processing document 'generic-talk*.tex'
TeXExec | no ctx file found
TeXExec | nothing to process
TeXExec | runtime: 0.008959


Sorry, I was being lazy and assumed that your shell will expand the *. 
Aparantly it did not. What I meant was


texexec --xetex  generic-talk-15min-45min.tex

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


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread Aditya Mahajan

On Tue, 20 Oct 2009, Shiv Shankar Dayal wrote:


I do not remember exactly when I got the source but I remember it was
through some link of wiki.contextgarden.net.


The reason I was asking for the source is because I do not get the errors 
that you mention with the latest svn version of the manual. Specifically,


svn checkout svn://ctx.pragma-ade.nl/manuals
cd manuals/context

texexec cont-en

gives me a working pdf file. There are two errors: the first

! Font \**test**:=texnansi-lbr at 60.0pt not loadable: Metric (TFM) file 
not found.


because I do not have lucida fonts, and the second

! Undefined control sequence.
l.3 ...espace \let\ShowTokenFont\relax \ShowTokens
 Serif\end}  {}

which I did not investigate. In any case, pressing enter a couple of times 
lets me continue. The resulting pdf is not exactly same as the one on 
pragma's website, but you can compile the manual.



If you recall Aditya we
had a discussion regarding vim syntax highlighting. It is of that
time.

Also, I have a fresh setup of context and I found that you t-vim.tex
has a line "source kpse:2context.vim" which I had to modify to "source
kpsewhich:2context.vim".


kpse:2context.vim used to work. I will check that again, and perhaps 
replace the kpse searching with a luatex function (Hans showed how to do 
that a while back).


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


Re: [NTG-context] latest beta doesn't process my xml files

2009-10-20 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Oct 20, 2009, at 3:52 PM, Hans Hagen wrote:


in lxml-ent.lua ...

function xml.resolved_entity(str)
   local e = xml.entities[str]
   if e then
   local te = type(e)
   if te == "function" then
   e(str)
   elseif e then
   texsprint(ctxcatcodes,e)
   end
   else
   texsprint(ctxcatcodes,"\\xmle{",str,"}{",utfupper(str),"}") -- 
we need to use our own upper

   end
end



Thank you Hans, but that's not yet the solution. I still get the same 
error. I thought it might be related to the fact that I had the entity 
&hfill; in my titles, but even after removing it, I still get the error.




there has been quite some changes in the xml machinery; what exactly 
do you do with entities?




Well, I just map a few special characters and commands to entities. In 
my environment, I have


\setupxml[entities=mkii]

and then stuff like this:

\defineXMLentity[smallspace]{\,}
\defineXMLentity[percent]{\percent}
\defineXMLentity[onequarter]{\onequarter}
\defineXMLentity[threequarter]{\threequarter}
\defineXMLentity[onehalf]{\onehalf}
\defineXMLentity[textellipsis]{\textellipsis}
\defineXMLentity[nbsp]{~}
\defineXMLentity[hfill]{\hfill}

Is there a different way for doing this now?


mkii xml is no longer enabled by default in mkiv ... can you try the low 
level newby


\xmlsetentity{smallspace}{\,}

(otherwise, send me a test file)

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


Re: [NTG-context] latest beta doesn't process my xml files

2009-10-20 Thread Thomas A. Schmitz


On Oct 20, 2009, at 3:52 PM, Hans Hagen wrote:


in lxml-ent.lua ...

function xml.resolved_entity(str)
   local e = xml.entities[str]
   if e then
   local te = type(e)
   if te == "function" then
   e(str)
   elseif e then
   texsprint(ctxcatcodes,e)
   end
   else
   texsprint(ctxcatcodes,"\\xmle{",str,"}{",utfupper(str),"}")  
-- we need to use our own upper

   end
end



Thank you Hans, but that's not yet the solution. I still get the same  
error. I thought it might be related to the fact that I had the entity  
&hfill; in my titles, but even after removing it, I still get the error.




there has been quite some changes in the xml machinery; what exactly  
do you do with entities?




Well, I just map a few special characters and commands to entities. In  
my environment, I have


\setupxml[entities=mkii]

and then stuff like this:

\defineXMLentity[smallspace]{\,}
\defineXMLentity[percent]{\percent}
\defineXMLentity[onequarter]{\onequarter}
\defineXMLentity[threequarter]{\threequarter}
\defineXMLentity[onehalf]{\onehalf}
\defineXMLentity[textellipsis]{\textellipsis}
\defineXMLentity[nbsp]{~}
\defineXMLentity[hfill]{\hfill}

Is there a different way for doing this now?

All best

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


[NTG-context] Page Numbering of First and Last Page

2009-10-20 Thread Bryant Eastham
All-

 

Sorry if this is simple - I have searched but not found an answer. New
to ConTeXt, not LaTeX.

 

Given:

 

% output=pdftex

% environment file

\setuppapersize[A4]

\setuplist[chapter,section][chapternumber=yes]

\setuppagenumbering[location={header,right},way=bysection,chapternumber=
yes]

\setupsectionblock[frontpart][page=no]

\setupsectionblock[bodypart][page=no]

\setupsectionblock[appendix][page=no]

\setupsectionblock[backpart][page=no]

\mainlanguage[en]

\starttext

\startfrontmatter

\completecontent

\stopfrontmatter

\startbodymatter

\chapter[ch1]{Chapter 1}

\section{Chapter 1/Section 1}

Text.

\page

Text.

\stopbodymatter

\stoptext

 

Questions:

1.   What controls the page number that appears above the table of
contents? It currently shows "1".

2.   Why does the page number on the last page not include the
chapter? It currently shows "2".

 

Reading over some past posts I can postulate that the page numbering is
being reset before the last page has been output. But no matter where I
put my "setuppagenumbering" command the first page and last page don't
seem to be affected. Better said, they are affected but not in the way I
would expect... J

 

What am I not seeing? Log file attached.

 

Thanks,

-Bryant

 

 

 

 

Panasonic Electric Works Laboratory of America - SLC Lab
4525 So. Wasatch Blvd., Suite 100, 84124
Salt Lake City, UT 84124



T 801.993.7124
F 801.993.7260
beast...@pewla.us.pewg.pansonic.com

Bryant Eastham
Chief Architect



 

 

***CONFIDENTIALITY NOTICE***: This e-mail and any attachments may
contain information which is confidential, proprietary, trade secret,
privileged or otherwise protected by law. The information is the
property of Panasonic Electric Works Laboratory of America, Inc., and is
solely intended for the named addressee (or a person responsible or
delivering it to the addressee). If you are not the intended recipient
of this message, you are not authorized to read, print, retain copy or
disseminate this message or any part of it. If you have received this
e-mail in error, please notify the sender and the Office of General
Counsel at generalcoun...@us.pewg.panasonic.com
  immediately by return
e-mail and delete it from your computer.

 

<><><><>

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


[NTG-context] context user meeting 2010

2009-10-20 Thread luigi scarso
I don't remember where /when of the next meeting.

It was in July, in Czech Republic ... and then ?

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


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread Shiv Shankar Dayal
I do not remember exactly when I got the source but I remember it was
through some link of wiki.contextgarden.net. If you recall Aditya we
had a discussion regarding vim syntax highlighting. It is of that
time.

Also, I have a fresh setup of context and I found that you t-vim.tex
has a line "source kpse:2context.vim" which I had to modify to "source
kpsewhich:2context.vim".

>> Hi,
>>
>> I have sources of context cont-eni.pdf. When I try to compile them I
>> get lots of errors. I am using Mark IV. However, I am successfully
>> able to compile Metafun manual using texexec. Any clues?
>
> cont-eni was written in 2001. It will not compile with MKIV. There has been
> many changes in the internals since 2001, so it is not surprising that it
> does not compile even with MKII. Usually, such errors can be corrected with
> a few changes. Where did you get the source files that you are testing on?
>
> Aditya
> ___

Best regards,
Shiv Shankar Dayal
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] latest beta doesn't process my xml files

2009-10-20 Thread Hans Hagen

Thomas A. Schmitz wrote:

Hi Hans,

more serious: today's beta doesn't process my xml files. Too late today 
for a minimal example; maybe the error can give a clue:


systems : end file vorlesung-mkiv at line 1
systems : begin file historiker at line 1
! LuaTeX error no string to print
stack traceback:
[C]: in function 'texsprint'
...text/tex/texmf-context/tex/context/base/lxml-ent.lua:47: in 
function <...text/tex/texmf-context/tex/context/base/lxml-ent.lua:37>

[C]: in function 'match'
...text/tex/texmf-context/tex/context/base/lxml-tex.lua:498: in 
function '@tx@'
...text/tex/texmf-context/tex/context/base/lxml-tab.lua:751: in 
function '@dc@'
...text/tex/texmf-context/tex/context/base/lxml-tab.lua:774: in 
function 'xmlserialize'
...text/tex/texmf-context/tex/context/base/lxml-tex.lua:545: in 
function 'xmlsprint'
...text/tex/texmf-context/tex/context/base/lxml-tex.lua:1207: in 
function 'flush'

:1: in main chunk.
\xmlflush #1->\ctxlua {lxml.flush("#1")}

\dostructurecomponent ...uctureparameter \c!title
  }\xdef 
\currentstructurebo...

\doregisterstructurehead ... \c!command =, #2][#3]
  \reportcurrentstructure
\dohandlestructurehead ...ructurehead {#1}{#2}{#3}
  \let 
\getstructureheadsync...

l.8 }

\xmlflush #1->\ctxlua {lxml.flush("#1")}


l.2 \xmlprocess{\xmldocument}{./historiker.xml}{}

? ^\/Users/tas/context/tex/texmf-osx-intel/bin/context: line 2:  3064

Same file with same environment processed without problems by version: 
2009.10.02 13:14


Thank goodness I still have an older version around...


in lxml-ent.lua ...

function xml.resolved_entity(str)
local e = xml.entities[str]
if e then
local te = type(e)
if te == "function" then
e(str)
elseif e then
texsprint(ctxcatcodes,e)
end
else
texsprint(ctxcatcodes,"\\xmle{",str,"}{",utfupper(str),"}") -- 
we need to use our own upper

end
end

there has been quite some changes in the xml machinery; what exactly do 
you do with entities?


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


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread Aditya Mahajan

On Mon, 19 Oct 2009, Shiv Shankar Dayal wrote:


Hi,

I have sources of context cont-eni.pdf. When I try to compile them I
get lots of errors. I am using Mark IV. However, I am successfully
able to compile Metafun manual using texexec. Any clues?


cont-eni was written in 2001. It will not compile with MKIV. There has 
been many changes in the internals since 2001, so it is not surprising 
that it does not compile even with MKII. Usually, such errors can be 
corrected with a few changes. Where did you get the source files that you 
are testing on?


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


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread luigi scarso
On Tue, Oct 20, 2009 at 10:16 AM, Shiv Shankar Dayal <
shivshankar.da...@gmail.com> wrote:

> Hi,
>
> Thanks for being so patient and helping me. But we should not get
> diverted from the original problem. What do you think is the reason
> for that error? Also, I am getting tex size exceeded[parameter stack
> size=6000] with MarkIV. In mailing list there is a thread which
> mentions about tex.ch but I cant find it. I have installed using
> rsync.
>
> I don't know, sorry.
I never tried to compile manuals, because I consider them a property of
pragma .
For me, having  cont-en(i).pdf and sources is enough.
But, true, can be a bug in markii .
Or a misconfiguration that I don't understand now.

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


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread Shiv Shankar Dayal
Hi,

Thanks for being so patient and helping me. But we should not get
diverted from the original problem. What do you think is the reason
for that error? Also, I am getting tex size exceeded[parameter stack
size=6000] with MarkIV. In mailing list there is a thread which
mentions about tex.ch but I cant find it. I have installed using
rsync.

-- 
Best regards,
Shiv Shankar Dayal
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread luigi scarso
On Tue, Oct 20, 2009 at 10:04 AM, Shiv Shankar Dayal <
shivshankar.da...@gmail.com> wrote:

> >> I got another interesting point. Adobe Reader reports that the
> >> application which generated original cont-eni.pdf is TeX. But for my
> >> compiled cont-eni.pdf it is ConTeXt - 2009.10.2 13:14. Why it is
> >> different?
> >>
> > what about
> > $> pdfinfo cont-eni.pdf
> > ?
>
> For the original file it says "ConTeXt/www.pragma-ade.com/cont-en.tex"
> as creator. I wonder how is that possible. :)
>
>
# pdfinfo cont-eni.pdf
Title:
Subject:
Author: PRAGMA ADE: Hans Hagen/Ton Otten
Creator:ConTeXt/www.pragma-ade.com/cont-en.tex
Producer:   pdfTeX-0.14h
CreationDate:   Mon Nov 12 09:49:00 2001
Tagged: no
Pages:  369
Encrypted:  no
Page size:  907 x 680 pts
File size:  3441697 bytes
Optimized:  no
PDF version:1.3

Where is the problem ?

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


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread Shiv Shankar Dayal
>> I got another interesting point. Adobe Reader reports that the
>> application which generated original cont-eni.pdf is TeX. But for my
>> compiled cont-eni.pdf it is ConTeXt - 2009.10.2 13:14. Why it is
>> different?
>>
> what about
> $> pdfinfo cont-eni.pdf
> ?

For the original file it says "ConTeXt/www.pragma-ade.com/cont-en.tex"
as creator. I wonder how is that possible. :)

Best regards,
Shiv Shankar Dayal
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Simplest slides

2009-10-20 Thread R. Bastian
On Mon, 19 Oct 2009 15:31:49 -0400 (EDT)
Aditya Mahajan  scribit:

> On Mon, 19 Oct 2009, R. Bastian wrote:
> 
> > Hello,
> >
> > I downloaded the files "generic*** etc" and tried to install (following
> > the 'simpleslides.pdf'); it seemed to succeed. But the compilation
> > 'texexec generic ...tex' failed.
> >
> > So I tried same tests:
> > --
> > r...@kubuntu64:~/Context/Slides$ texexec generic-talk-15min-45min.tex
> > TeXExec | processing document 'generic-talk-15min-45min.tex'
> > TeXExec | no ctx file found
> > TeXExec | tex processing method: context
> > TeXExec | TeX run 1
> > TeXExec | writing option file generic-talk-15min-45min.top
> > TeXExec | using randomseed 822
> > TeXExec | tex engine: pdftex
> > TeXExec | tex format: cont-en
> > This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
> > \write18 enabled.
> > (/usr/local/texlive/2007/texmf-context/web2c/natural.tcx)
> > kpathsea: Running mktexfmt cont-en.fmt
> > tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not 
> > found.
> > fmtutil: config file `fmtutil.cnf' not found.
> > I can't find the format file `cont-en.fmt'!
> > TeXExec | runtime: 0.040151
> > r...@kubuntu64:~/Context/Slides$ find . -name "cont-en.fmt"
> > r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
> > "cont-en.fmt"
> > /usr/local/texlive/2007/texmf-cache/luatex-cache/context/fc4b4b59a4904326c19d982f9a3c28fe/formats/cont-en.fmt
> > /usr/local/texlive/2007/texmf-linux-64/web2c/xetex/cont-en.fmt
> > r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
> > "tcfmgr.map"
> > /usr/local/texlive/2007/texmf/texconfig/tcfmgr.map
> > r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
> > "fmtutil.cnf"
> > /usr/local/texlive/2007/texmf-var/web2c/fmtutil.cnf
> > /usr/local/texlive/2007/texmf/web2c/fmtutil.cnf
> > r...@kubuntu64:~/Context/Slides$ sudo mktexlsr
> > mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
> > mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
> > mktexlsr: Updating /var/lib/texmf/ls-R...
> > mktexlsr: Done.
> > -
> > Something is wrong ...
> >
> > Can you help me ?
> 
> You need to make the context format. Try
> 
> fmtutil-sys cont-en

r...@kubuntu64:~/Context$ fmtutil-sys cont-fr
fmtutil: fmtutil: unknown option `cont-fr'. Try fmtutil --help for help.

> 
> Or, since you already have the xetex and the luatex formats, you can use
> 
> context generic-talk*.tex
> 
> or
> 
> texexec --xetex generic-talk*.tex

r...@kubuntu64:~/Context$ texexec --xetex generic-talk*.tex
TeXExec | processing document 'generic-talk*.tex'
TeXExec | no ctx file found
TeXExec | nothing to process
TeXExec | runtime: 0.008959

I use mkII mnimals (from 2007, but installed 2009.05). I will
reinstall soon.

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


-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org


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


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread luigi scarso
>
>
> I got another interesting point. Adobe Reader reports that the
> application which generated original cont-eni.pdf is TeX. But for my
> compiled cont-eni.pdf it is ConTeXt - 2009.10.2 13:14. Why it is
> different?
>
> what about
$> pdfinfo cont-eni.pdf

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


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread Shiv Shankar Dayal
>>> Hi,
>>>
>>> I have sources of context cont-eni.pdf. When I try to compile them I
>>> get lots of errors. I am using Mark IV. However, I am successfully
>>> able to compile Metafun manual using texexec. Any clues?
>>>
>> #markii
>> $>texexec test.tex
>>
>> #markiv
>> $>context test.tex
>>
>>
>> Maybe you are able to compile cont-eni with markii ie, something like
>> $>texexec cont-eni.tex
>>
>
> This is the error I get with MarkII.
>
> ! Undefined control sequence.
>  *\v!headertext
>
> \cleanuplabel ...lettercolon \xdef \cleanlabel {#1
>                                                  }\endgroup
> \docheckformode #1#2#3->\cleanuplabel {#3}
>                                          \protect \checkedmodefalse \rawpro...
>  ...med {\doifmodeelse {*\v!headertext }
>                                                   {\doifmodeelse {chapterpa...
>
> \executeamboxcommands ... {#1}{#4}\ignorespaces #2
>                                                  \unskip \getvalue {\??am #...
>
> \@@amvbox ...}{#4}\c!before \c!inbetween \c!after
>                                                  }\setbox \scratchbox \vbox...
> ...
> l.7 \titelbladen
>
> ?
> ! Undefined control sequence.
>  \plaatslijst
>                        [\v!chapter ][\c!criterium =\v!all ]
> \secondoftwoarguments #1#2->#2
>
>  ...\v!chapter ][\c!criterium =\v!all ]}
>                                                  } \vfill \framed {\hbox to...
>
> \executeamboxcommands ... {#1}{#4}\ignorespaces #2
>                                                  \unskip \getvalue {\??am #...
>
> \@@amvbox ...}{#4}\c!before \c!inbetween \c!after
>                                                  }\setbox \scratchbox \vbox...
>  ...ght\c!left }\interactionmenu [right]
>                                                  \getvalue {\??am right\c!r...
> ...
> l.7 \titelbladen
>

I got another interesting point. Adobe Reader reports that the
application which generated original cont-eni.pdf is TeX. But for my
compiled cont-eni.pdf it is ConTeXt - 2009.10.2 13:14. Why it is
different?

-- 
Best regards,
Shiv Shankar Dayal
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] compiling cont-eni

2009-10-20 Thread Shiv Shankar Dayal
>> Hi,
>>
>> I have sources of context cont-eni.pdf. When I try to compile them I
>> get lots of errors. I am using Mark IV. However, I am successfully
>> able to compile Metafun manual using texexec. Any clues?
>>
> #markii
> $>texexec test.tex
>
> #markiv
> $>context test.tex
>
>
> Maybe you are able to compile cont-eni with markii ie, something like
> $>texexec cont-eni.tex
>

This is the error I get with MarkII.

! Undefined control sequence.
 *\v!headertext

\cleanuplabel ...lettercolon \xdef \cleanlabel {#1
  }\endgroup
\docheckformode #1#2#3->\cleanuplabel {#3}
  \protect \checkedmodefalse \rawpro...
 ...med {\doifmodeelse {*\v!headertext }
   {\doifmodeelse {chapterpa...

\executeamboxcommands ... {#1}{#4}\ignorespaces #2
  \unskip \getvalue {\??am #...

\@@amvbox ...}{#4}\c!before \c!inbetween \c!after
  }\setbox \scratchbox \vbox...
...
l.7 \titelbladen

?
! Undefined control sequence.
 \plaatslijst
[\v!chapter ][\c!criterium =\v!all ]
\secondoftwoarguments #1#2->#2

 ...\v!chapter ][\c!criterium =\v!all ]}
  } \vfill \framed {\hbox to...

\executeamboxcommands ... {#1}{#4}\ignorespaces #2
  \unskip \getvalue {\??am #...

\@@amvbox ...}{#4}\c!before \c!inbetween \c!after
  }\setbox \scratchbox \vbox...
 ...ght\c!left }\interactionmenu [right]
  \getvalue {\??am right\c!r...
...
l.7 \titelbladen

Best regards,
Shiv Shankar Dayal
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___