TOC look broken by \definehead
Hello all, the TOC look depends on whether or not another head was defined: ---- \definehead[CHAPTER][chapter] \definehead[SECTION][section] % TRY TO COMMENT THIS LINE! \definecombinedlist[content][chapter,CHAPTER] \starttext \placecontent \page \chapter{Cha1} \CHAPTER{Cha2} \chapter{Cha3} \chapter{Cha4} \CHAPTER{Cha5} \stoptext ---- Both PDFs - generated with/without "\definehead[SECTION][section]" - are attached. If the definition of \SECTION is present, TOC members generated by \CHAPTER are shifted. Why? - This seems to me a bit weird. Is there a way how to keep the TOC (non-shifted) look? (WinXP, ConTeXt ver: 2011.06.19 14:17 MKIV fmt: 2011.6.23) Best regards, Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
Thank you, it works well now.
The directory "c:\ConTeXt\tex\texmf-cache\luatex-cache\context\2448223e6631addb83df348d74153606" must have been deleted manually and "mtxrun --generate" must have been called to make the modified "strc-sec.mkiv" work.
Lukas
On Mon, 27 Jun 2011 10:17:09 +0200, Wolfgang Schuster
Am 27.06.2011 um 09:25 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
Hello all,
the TOC look depends on whether or not another head was defined:
I sent a fix to the dev list.
Wolfgang
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
Hi I wonder if you can help I was trying to update on my mac book pro and when I ran first-setup.sh I got many repetitions of this mktexlsr: : not a directory, skipping. would I expect this? Thanks Gordon
2011/6/27 Gordon Parrott
Hi
I wonder if you can help
I was trying to update on my mac book pro and when I ran first-setup.sh I got many repetitions of this
mktexlsr: : not a directory, skipping.
would I expect this?
You can press `ctrl + c` to skip it if you are a mkiv user. I also met this problem on linux. -- Best regards, Li Yanrui (李延瑞)
On Mon, Jun 27, 2011 at 12:29 PM, Gordon Parrottwrote: > Hi > > I wonder if you can help > > I was trying to update on my mac book pro and when I ran first-setup.sh I got many repetitions of this > > mktexlsr: : not a directory, skipping. > > > would I expect this? no, it can be a bug; it happens also with Linux32 bit. Quick fix under Linux 1) hit CTRL-C anytime mktexlsr goes into a loop until end 2) cd tex; . setuptex 3) mktexlsr 4) context --make 5) texmfstart texexec --make en -- luigi
Thanks very much. That seems to have sorted things out. Gordon On 27 Jun 2011, at 12:04, luigi scarso wrote: > On Mon, Jun 27, 2011 at 12:29 PM, Gordon Parrott >wrote: >> Hi >> >> I wonder if you can help >> >> I was trying to update on my mac book pro and when I ran first-setup.sh I got many repetitions of this >> >> mktexlsr: : not a directory, skipping. >> >> >> would I expect this? > no, it can be a bug; it happens also with Linux32 bit. > Quick fix under Linux > 1) hit CTRL-C anytime mktexlsr goes into a loop until end > 2) cd tex; . setuptex > 3) mktexlsr > 4) context --make > 5) texmfstart texexec --make en > > > -- > 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 > ___________________________________________________________________________________
Luigi, thanks a lot for debugging. I have updated the binaries and scripts (except for the other binaries for mac i386 and ppc). Mojca PS: I didn't try to reproduce the problem, so it is up to other to test if it works fine now
On Tue, Jun 28, 2011 at 2:13 AM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote:
Luigi, thanks a lot for debugging. I have updated the binaries and scripts (except for the other binaries for mac i386 and ppc).
Mojca
PS: I didn't try to reproduce the problem, so it is up to other to test if it works fine now
latest minimals (02:43 AM CET ) is ok. Karl Berry has already fixed mktexlsr . -- luigi
participants (6)
-
Gordon Parrott
-
Li Yanrui (李延瑞)
-
luigi scarso
-
Mojca Miklavec
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Wolfgang Schuster