[NTG-context] no table of content

2012-11-15 Thread plink

Using ConTeXt  ver: 2012.11.14 11:37 MKIV, the following does not
produce a table of content, in fact, it doesn't produce a *.tuc file at all:

\setuppapersize[A5][A4,landscape]
\setuparranging[2SIDE]

\starttext

\placelist

\startchapter[title=chapter]
\input knuth
\stopchapter

\stoptext
___
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] incrementnumber vs. prefixsegments

2012-11-05 Thread plink
Hi,

i'm trying to combine two features that somehow don't fit together:

1. figure numbering and referring using a chapter.fignr scheme.
For this, a setup with

\setupcaption[figure][prefix=yes,way=bychapter,prefixsegments=chapter]

works fine, as long as i don't have

2. untitled entries below chapter (aka subject or subsubject), that also
have to occur in the table of contents. For this, e.g. using

\setuphead[subject][incrementnumber=list]
\definecombinedlist[content][title,chapter,section,subject]

does the trick, but then the figure number prefix gets eaten up at
figures in subjects. I'd be glad if anybody could give me a hint on how
to solve this.

ConTeXt  ver: 2012.10.30 21:13 MKIV

Below a maximin example. Commenting out the \setuphead line gives back
the prefix, but then there is no more subject in the toc, as to be expected:

\setuphead[chapter][page=no,continue=yes]

\setupcaption[figure][
prefix=yes,
way=bychapter,
prefixsegments=chapter]

\setuphead[subject][incrementnumber=list]

\definecombinedlist[content][title,chapter,section,subject]

\starttext
\placecontent

\chapter{Chapter}

\section{Section Een}

\placefigure[here][fig:a]{figure a}{\externalfigure[cow.pdf][width=1cm]}

Figure \in[fig:a] = 1.1\crlf
Figure \in[fig:b] = 1.2?\crlf
Figure \in[fig:c] = 1.3\crlf

\subject{Subject}

\placefigure[here][fig:b]{figure b}{\externalfigure[cow.pdf][width=1cm]}

Figure \in[fig:a] = 1.1\crlf
Figure \in[fig:b] = 1.2?\crlf
Figure \in[fig:c] = 1.3\crlf

\section{Section Twee}

\placefigure[here][fig:c]{figure c}{\externalfigure[cow.pdf][width=1cm]}

Figure \in[fig:a] = 1.1\crlf
Figure \in[fig:b] = 1.2?\crlf
Figure \in[fig:c] = 1.3\crlf

\stoptext
___
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] debian: itemize start=0

2007-10-10 Thread plink
Hi,

on debian testing this small file

\starttext

\startitemize[n]
\item one
\item two
\stopitemize

blahblah

\startitemize[n,continue]
\item three
\stopitemize

\stoptext

gives an itemization that starts at zero, plus the continue does not 
work either (context version: 2007.09.28 16:52 
(/usr/share/texmf/tex/context/base/context.tex)).

Any hints or preliminary solutions greatly appreciated.


P.Link
___
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] debian tikz module

2007-02-23 Thread plink
Thanks Aditya, I noticed just after sending my post that I had removed 
the debian pgf package before, because it didn't work with ConTeXt.

After reinstalling it I noticed however, that nothing had changed 
recently. It still works with LaTeX but the ConTeXt support realized in 
the current pgf-version (for unstable debian) is still not working, 
which - given that it is still based on 1.09 upstream pgf/tikz - may 
seem as no suprise.

A quick and *very dirty* installation of 1.10 worked fine with ConTeXt, 
so hopefully the next pgf-debian release has that ConTeXt support built in.

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


[NTG-context] debian tikz module

2007-02-22 Thread plink
Hi,

when testing the small example from the tikz manual, I got this
... module tikz not found
error, texexec stopping with undefined \tikzstyle. On a fresh debian 
installation, that is.
I seem to remember this error from some earlier tryouts but not the 
solution.

Anyone for a hint?

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


Re: [NTG-context] Manual (English) Update soon?

2006-12-29 Thread plink
Mojca Miklavec wrote:
 Well, the ConTeXt manual is one of the most stable components of
 ConTeXt indeed ;)

;-)

should be wikified ...

 (IIRC, Hans is also a core team member of LuaTeX, so perhaps I should
 just suck it up with LaTeX until LuaTeX is viable?)
 
 No reason for, as Aditya already mentioned.

Except if you need some more processing of the TeX contents, like some 
people do :-(

In that case, since the mkiv stuff isn't available, currently you either 
have to switch to plain luatex or to use ConTeXt with pdftex and maybe 
weave another layer of ruby around the script onion that texexec had 
become.
Both ways don't really come close to the zen of ConTeXt TeXnology, I 
would assume.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] mkiv files

2006-12-25 Thread plink
Hi,

I am wondering if there are some of the mkiv files available anywhere? 
It would make luatex experiments so much more ConTeXish ...

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


[NTG-context] ctxtools unix puzzles

2006-11-01 Thread plink
Hi,

is it possible that the ruby script version numbers are not always updated?

I am getting a 648 line diff file when I compare two different 1.3.3 
versions of the ctxtools.rb file.

One of them, the smaller and older one, had some problems with quotes 
around environment variables, and it couldn't really upgrade the system 
because of a problem with unzip and execute permissions on texmfstart.rb

The other one has the same problem with execute permissions on 
texmfstart.rb, ending in the *slightly* dutchified report():

unable to remak formats

Or is there a way to call texmfstart.rb from the unix stub files without 
giving it execute permissions?


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


Re: [NTG-context] wiki: debian installation

2006-10-04 Thread plink
Mojca Miklavec wrote:
Warning: pdfetex (file /home/myuser/texmf/fonts/map/dvipdfm/
context/original-base.map): invalid entry for `fmvr8x': font
file missing
 
 Some time ago it was a hot topic on the mailing list. See:
 http://wiki.contextgarden.net/Error_Recovery
 and fix it if possible even if it is working now for some reason.

Thanks for this helpful link, Mojca!

 But that page should be less hidden, I admit.

Indeed, just found this nice whatlinkshere feature of the wiki and the 
result of
http://wiki.contextgarden.net/Special:Whatlinkshere/Error_Recovery:

(List of links)
Jump to: navigation, search
 Error Recovery

No pages link to here.

leaves something to be desired ;-)


Jak








































150MB of disk space, Webmail over SSL with address book, calendar, 
and organizer. Access thru Imap, Imap-SSL, Pop3, Pop3-SSL and Smtp. 
5 different domains, antispam (spamassassin, bayes, razor, dcc) and mime filter,

Up to 200mb per outgoing message.
All free, is your current email having this functionalities ?
Check http://www.nemail.it for registration and more info.

This message is added automatically, for any information or support 
contact: [EMAIL PROTECTED]; if it is spam dont hesitate to report it.
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] itemize and placefigure

2006-10-04 Thread plink
Mojca Miklavec wrote:
 \placefigure will always start a new paragraph, but usually you don't
 notice that since you want it in a separate paragraph anyway. It has
 to do with boxes, although I have no idea how exactly Hans implemented
 itemize/itemgroup environment.
 
 You can help yourself a bit by using
 \item \strut\vskip -\lineheight\placefigure...

I'll give the vskip a try. In the meantime I tried to relive my 
knowledge about \offset, but it didn't seem a good idea to try that in 
this case. Sigh, one day I'll be able to understand the source ...



150MB of disk space, Webmail over SSL with address book, calendar, 
and organizer. Access thru Imap, Imap-SSL, Pop3, Pop3-SSL and Smtp. 
5 different domains, antispam (spamassassin, bayes, razor, dcc) and mime filter,

Up to 200mb per outgoing message.
All free, is your current email having this functionalities ?
Check http://www.nemail.it for registration and more info.

This message is added automatically, for any information or support 
contact: [EMAIL PROTECTED]; if it is spam dont hesitate to report it.
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] itemize and placefigure

2006-10-03 Thread plink
Hi,

as soon as I put a placefigure in an \item paragraph, the whole 
paragraph starts one line below the stopper. Is this a conceptual issue 
or just a weirdness?

What is the best way to start at the same height? I couldn´t find 
anything in the wiki or the details ...

As an example, see:

\starttext

\startitemize
\item \input tufte
\item \placefigure[right,none]{}{\framed[height=1cm]{foo bar}}
\input tufte
\item \input tufte
\stopitemize

\stopttext



thanks,
Jak






















150MB of disk space, Webmail over SSL with address book, calendar, 
and organizer. Access thru Imap, Imap-SSL, Pop3, Pop3-SSL and Smtp. 
5 different domains, antispam (spamassassin, bayes, razor, dcc) and mime filter,

Up to 200mb per outgoing message.
All free, is your current email having this functionalities ?
Check http://www.nemail.it for registration and more info.

This message is added automatically, for any information or support 
contact: [EMAIL PROTECTED]; if it is spam dont hesitate to report it.
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] wiki: debian installation

2006-10-02 Thread plink
 That's too vague to be helpful.  Having written some of the Debian
 installation materials, I would find it useful to know what places
 were wrong or misleading so that it could be improved.

Good to hear this part of the ConTeXt labyrinth still has some care 
taking inhabitants ...

So, here are some specifics about the experiences following the wiki
installation page for Debian. It reminds me of catching a young koetje 
with too many efforts, and just when you are about to give up, the thing 
is already in the barn.

First of all, why the page is rather misleading:

* In the beginning the installation text seems to intend a global
   installation of ConTeXt, but later on it silently switches towards a
   user specific one. Latter is fine with me, but do we really have to
   change the system-wide TeX installation for that?

* The system-wide installation is changed without using the debian
   package system at all. If there is a reason for this, it is not
   mentioned in the text.
   Besides, the wiki link to this page says that the installation is
   intended for people who like to use apt. Well, quite the contrary:
   this installation procedure is for people who *dont* want to use apt
   for their context installation, because ConTeXt is installed across
   different parts of the debian package system, apt is just used to
   get some general TeX/tetex-packages.
   I won't go into details here WhyThisIsNotAGoodThing, if it´s all about
   a box intended for Personal ConTeXing it might be o.k., but
   most certainly not for a box that hosts different users and
   TeX flavors, so that it could use a single management interface like
   the debian one.

* In the end, debian works out perfectly well now, as shown below. Plus
   there is a more debianish way to have a system-wide fresh ConTeXt
   koetje on your box every other release day (s. below).

Ok, so much for generics. Now lets go along the installation text and
see what happens on a fresh debian (unstable release 2006-10-02) system:

1. First we make sure to have packages tetex-bin, tetex-extra, lmodern
and cm-super and install the new metapost and pdftex versions by
hand.

2. What now? Ok, now we are switching to a user specific installation.
Where? Any pathname restrictions? The text doesn´t mention
anything, but lets call it ~myuser/texmf, just to be on the safe
side. A lot of people may never have heard about TEXMFHOME
environment variables. It could be helpful to mention it at this
point.

3. we download and unzip cont-tmf.zip and then at the end of
   ~myuser/texmf  texexec --make

   ... lots of output ...

   used engineformatpath : /home/myuser/texmf/web2c/pdfetex/
  TeX binary : pdfetex
   format(s) : en nl metafun mptopdf
  total run time : 4 seconds
 warning : use 'texmfstart texexec' instead

Hmm. A warning. Do we have to care? Anyway, lets continue.

4. What now, pt. 2: the big heading says Context first time upgrade,
but the small text a few lines above says
If you have already followed the *following* steps
(my emphasis) which seems a little odd to some non-native speakers,
if they notice that fine point anyway: it doesnt say previous
steps, it says following steps, the steps we haven´t read so far ...

After some ruminations it seems we just have two alternatives here:
   if you follow these instructions the first time,
 please do the following
   if you just want to upgrade cont-tmf,
 please go to chapter foobar

Alright, so we´re doing a first time upgrade, since we´re
following these instructions the first time and have an old ConTeXt
in the standard debian tetex package. According to the text we should
look out for old formats. No search results in any user
dot-directory.
Our last step generated cont-en, cont-nl and mptopdf format files in
   ~myuser/texmf/web2c/pdfetex/
kpsewhich cont-en.fmt does only return the global format we created
during the pdfetex installation in step 1. Even a
   # find / -iname cont-en.fmt
returns nothing more. This step seems finished, now we tell TeX how
to find our formats in the next step by changing the configlets.

5. First, according to the wiki, we need to comment out the format
generation of mptopdf, metafun and cont-en, which is controlled by
/etc/texmf/fmt.d/01tetex.cnf (we notice that there is no metafun
format in our local directory,  but maybe thats intentional).
We run update-fmtutil. Still just the old metafun.mem in
/var/lib/texmf/web2c, what to do about this? No instructions, so
lets just leave it at that, and add the {$engine,} subpath string
to TEXFORMATS, followed by an update-texmf.

6. Everythings o.k. now? Let´s see:
   ~myuser/  texexec --version
   TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

texexec : 

[NTG-context] wiki: debian installation

2006-09-29 Thread plink
Hi,

apropos a good manual: is the debian installation description still 
supposed to be correct and/or supported?
I did an installation with last weeks unstable release and found the 
wiki infos not really helpful, if not outright misleading.

with greets from the penguin side of things,
Jak.

PS.: Yes, I also prefer printed docs. And no, I do not know who has got 
enough time and insight to write them ...

150MB of disk space, Webmail over SSL with address book, calendar, 
and organizer. Access thru Imap, Imap-SSL, Pop3, Pop3-SSL and Smtp. 
5 different domains, antispam (spamassassin, bayes, razor, dcc) and mime filter,

Up to 200mb per outgoing message.
All free, is your current email having this functionalities ?
Check http://www.nemail.it for registration and more info.

This message is added automatically, for any information or support 
contact: [EMAIL PROTECTED]; if it is spam dont hesitate to report it.
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context