ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TOC look broken by \definehead
@ 2011-06-27  7:25 Procházka Lukáš Ing. - Pontex s. r. o.
  2011-06-27  8:17 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-06-27  7:25 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

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

[-- Attachment #2: test-sec.mkiv --]
[-- Type: application/octet-stream, Size: 282 bytes --]

\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

[-- Attachment #3: test-sec1.pdf --]
[-- Type: application/pdf, Size: 9302 bytes --]

[-- Attachment #4: test-sec2.pdf --]
[-- Type: application/pdf, Size: 9298 bytes --]

[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TOC look broken by \definehead
  2011-06-27  7:25 TOC look broken by \definehead Procházka Lukáš Ing. - Pontex s. r. o.
@ 2011-06-27  8:17 ` Wolfgang Schuster
  2011-06-27  8:30   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2011-06-27 10:29   ` problem running first-setup.sh Gordon Parrott
  0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2011-06-27  8:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TOC look broken by \definehead
  2011-06-27  8:17 ` Wolfgang Schuster
@ 2011-06-27  8:30   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2011-06-27 10:29   ` problem running first-setup.sh Gordon Parrott
  1 sibling, 0 replies; 9+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-06-27  8:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <schuster.wolfgang@googlemail.com> wrote:

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* problem running first-setup.sh
  2011-06-27  8:17 ` Wolfgang Schuster
  2011-06-27  8:30   ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2011-06-27 10:29   ` Gordon Parrott
  2011-06-27 11:03     ` Li Yanrui (李延瑞)
  2011-06-27 11:04     ` luigi scarso
  1 sibling, 2 replies; 9+ messages in thread
From: Gordon Parrott @ 2011-06-27 10:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: problem running first-setup.sh
  2011-06-27 10:29   ` problem running first-setup.sh Gordon Parrott
@ 2011-06-27 11:03     ` Li Yanrui (李延瑞)
  2011-06-27 11:04     ` luigi scarso
  1 sibling, 0 replies; 9+ messages in thread
From: Li Yanrui (李延瑞) @ 2011-06-27 11:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2011/6/27 Gordon Parrott <gordon.parrott@btconnect.com>:
> 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 (李延瑞)
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: problem running first-setup.sh
  2011-06-27 10:29   ` problem running first-setup.sh Gordon Parrott
  2011-06-27 11:03     ` Li Yanrui (李延瑞)
@ 2011-06-27 11:04     ` luigi scarso
  2011-06-27 16:07       ` Gordon Parrott
  2011-06-28  0:13       ` Mojca Miklavec
  1 sibling, 2 replies; 9+ messages in thread
From: luigi scarso @ 2011-06-27 11:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Jun 27, 2011 at 12:29 PM, Gordon Parrott
<gordon.parrott@btconnect.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: problem running first-setup.sh
  2011-06-27 11:04     ` luigi scarso
@ 2011-06-27 16:07       ` Gordon Parrott
  2011-06-28  0:13       ` Mojca Miklavec
  1 sibling, 0 replies; 9+ messages in thread
From: Gordon Parrott @ 2011-06-27 16:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
> <gordon.parrott@btconnect.com> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: problem running first-setup.sh
  2011-06-27 11:04     ` luigi scarso
  2011-06-27 16:07       ` Gordon Parrott
@ 2011-06-28  0:13       ` Mojca Miklavec
  2011-06-28  0:44         ` luigi scarso
  1 sibling, 1 reply; 9+ messages in thread
From: Mojca Miklavec @ 2011-06-28  0:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: problem running first-setup.sh
  2011-06-28  0:13       ` Mojca Miklavec
@ 2011-06-28  0:44         ` luigi scarso
  0 siblings, 0 replies; 9+ messages in thread
From: luigi scarso @ 2011-06-28  0:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 424 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 815 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-06-28  0:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-27  7:25 TOC look broken by \definehead Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-27  8:17 ` Wolfgang Schuster
2011-06-27  8:30   ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-27 10:29   ` problem running first-setup.sh Gordon Parrott
2011-06-27 11:03     ` Li Yanrui (李延瑞)
2011-06-27 11:04     ` luigi scarso
2011-06-27 16:07       ` Gordon Parrott
2011-06-28  0:13       ` Mojca Miklavec
2011-06-28  0:44         ` luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).