* \section and luatex
@ 2009-04-19 10:36 Mohamed Bana
2009-04-19 10:53 ` Alex Lubberts
2009-04-19 14:52 ` Aditya Mahajan
0 siblings, 2 replies; 10+ messages in thread
From: Mohamed Bana @ 2009-04-19 10:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
\section Current Activities
displays
1 C
urrent Activities
could you please allow \section Other to use the entire word not just
the first Letter.
And how do I tell if LuaTeX is 64bit?
$ luatex --version
This is LuaTeX, Version snapshot-0.39.0-2009041607 luatex.web v2298
$ context --version
MTXrun | main context file:
/home/mbana/context.distro/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2009.04.18 13:47
Many thanks
Mohamed
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \section and luatex
2009-04-19 10:36 \section and luatex Mohamed Bana
@ 2009-04-19 10:53 ` Alex Lubberts
2009-04-19 10:57 ` Wolfgang Schuster
2009-04-19 14:52 ` Aditya Mahajan
1 sibling, 1 reply; 10+ messages in thread
From: Alex Lubberts @ 2009-04-19 10:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
On zo, 2009-04-19 at 11:36 +0100, Mohamed Bana wrote:
> \section Current Activities
>
> displays
>
> 1 C
> urrent Activities
>
>
> could you please allow \section Other to use the entire word not just
> the first Letter.
\section is like any other command. All commands take the first
character as parameter. If you want to have a longer parameter you have
to put {}'s around it, like:
\section{Current Activities}
Regards,
Alex
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \section and luatex
2009-04-19 10:53 ` Alex Lubberts
@ 2009-04-19 10:57 ` Wolfgang Schuster
2009-04-19 11:43 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2009-04-19 10:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 19.04.2009 um 12:53 schrieb Alex Lubberts:
> \section is like any other command. All commands take the first
> character as parameter.
Not in MkII, it was also possible to use the end of the paragraph as
delimiter.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \section and luatex
2009-04-19 10:57 ` Wolfgang Schuster
@ 2009-04-19 11:43 ` Hans Hagen
0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2009-04-19 11:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
>
> Am 19.04.2009 um 12:53 schrieb Alex Lubberts:
>
>> \section is like any other command. All commands take the first
>> character as parameter.
>
> Not in MkII, it was also possible to use the end of the paragraph as
> delimiter.
indeed, and i dropped it in mkiv, where we have:
\chapter [ref] {title}
\chapter {title}
and, when ownnumbers are used:
\chapter [ref] {nr} {title}
\chapter {nr} {title}
and, when structure is wanted (at least that is the idea):
\startchapter [settings] [userdata]
where the first argument sets the title, reference, bookmark, etc and
the second is up to the user who then can request that info; userdata is
carried around also in lists (an example of userdata can be an image
name that is used in typesetting the title as well has to show up in the
toc; examples of usage will show up in due time)
the mkiv mechanism is also more clever in the sense that it deals with
roundtrip xml and such
-----------------------------------------------------------------
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \section and luatex
2009-04-19 10:36 \section and luatex Mohamed Bana
2009-04-19 10:53 ` Alex Lubberts
@ 2009-04-19 14:52 ` Aditya Mahajan
2009-04-19 17:13 ` Mohamed Bana
2009-04-22 13:21 ` Mohamed Bana
1 sibling, 2 replies; 10+ messages in thread
From: Aditya Mahajan @ 2009-04-19 14:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, 19 Apr 2009, Mohamed Bana wrote:
> \section Current Activities
>
> displays
>
> 1 C
> urrent Activities
>
>
> could you please allow \section Other to use the entire word not just the
> first Letter.
>
> And how do I tell if LuaTeX is 64bit?
>
> $ luatex --version
> This is LuaTeX, Version snapshot-0.39.0-2009041607 luatex.web v2298
>
> $ context --version
> MTXrun | main context file:
> /home/mbana/context.distro/tex/texmf-context/tex/context/base/context.tex
> MTXrun | current version: 2009.04.18 13:47
Add this somewhere (old code, not tested with latest beta)
\def\dodohandlestructureheadnop[#1][#2]%
{\dowithpargument{\dododohandlestructureheadnop[#1][#2]}}
\def\dododohandlestructureheadnop[#1][#2]#3%
{\setfalse\currentstructureown
\dohandlestructurehead{#1}{\c!reference=#2,\c!title={#3}}{}} % name ref nr title --
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \section and luatex
2009-04-19 14:52 ` Aditya Mahajan
@ 2009-04-19 17:13 ` Mohamed Bana
2009-04-22 13:21 ` Mohamed Bana
1 sibling, 0 replies; 10+ messages in thread
From: Mohamed Bana @ 2009-04-19 17:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1579 bytes --]
If it isn't too much trouble, please just add it back. I'm sure it was
working in LuaTeX one point in time.
-- Mohamed
2009/4/19 Aditya Mahajan <adityam@umich.edu>
> On Sun, 19 Apr 2009, Mohamed Bana wrote:
>
> \section Current Activities
>>
>> displays
>>
>> 1 C
>> urrent Activities
>>
>>
>> could you please allow \section Other to use the entire word not just the
>> first Letter.
>> And how do I tell if LuaTeX is 64bit?
>>
>> $ luatex --version
>> This is LuaTeX, Version snapshot-0.39.0-2009041607 luatex.web v2298
>>
>> $ context --version
>> MTXrun | main context file:
>> /home/mbana/context.distro/tex/texmf-context/tex/context/base/context.tex
>> MTXrun | current version: 2009.04.18 13:47
>>
>
> Add this somewhere (old code, not tested with latest beta)
>
> \def\dodohandlestructureheadnop[#1][#2]%
> {\dowithpargument{\dododohandlestructureheadnop[#1][#2]}}
>
> \def\dododohandlestructureheadnop[#1][#2]#3%
> {\setfalse\currentstructureown
> \dohandlestructurehead{#1}{\c!reference=#2,\c!title={#3}}{}} % name ref
> nr title --
>
>
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2555 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \section and luatex
2009-04-19 14:52 ` Aditya Mahajan
2009-04-19 17:13 ` Mohamed Bana
@ 2009-04-22 13:21 ` Mohamed Bana
2009-04-22 13:39 ` Hans Hagen
2009-04-22 13:42 ` Aditya Mahajan
1 sibling, 2 replies; 10+ messages in thread
From: Mohamed Bana @ 2009-04-22 13:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Aditya,
Any chance of getting Hans to include that again. I'm certain that it
worked with LuaTeX before, e.g., your thesis.
-- Bana
Aditya Mahajan wrote:
> On Sun, 19 Apr 2009, Mohamed Bana wrote:
>
>> \section Current Activities
>>
>> displays
>>
>> 1 C
>> urrent Activities
>>
>>
>> could you please allow \section Other to use the entire word not just
>> the first Letter.
>> And how do I tell if LuaTeX is 64bit?
>>
>> $ luatex --version
>> This is LuaTeX, Version snapshot-0.39.0-2009041607 luatex.web v2298
>>
>> $ context --version
>> MTXrun | main context file:
>> /home/mbana/context.distro/tex/texmf-context/tex/context/base/context.tex
>>
>> MTXrun | current version: 2009.04.18 13:47
>
> Add this somewhere (old code, not tested with latest beta)
>
> \def\dodohandlestructureheadnop[#1][#2]%
> {\dowithpargument{\dododohandlestructureheadnop[#1][#2]}}
>
> \def\dododohandlestructureheadnop[#1][#2]#3%
> {\setfalse\currentstructureown
> \dohandlestructurehead{#1}{\c!reference=#2,\c!title={#3}}{}} % name
> ref nr title --
>
>
> 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 : 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \section and luatex
2009-04-22 13:21 ` Mohamed Bana
@ 2009-04-22 13:39 ` Hans Hagen
2009-04-22 13:42 ` Aditya Mahajan
1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2009-04-22 13:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
Mohamed Bana wrote:
> Hi Aditya,
>
> Any chance of getting Hans to include that again. I'm certain that it
> worked with LuaTeX before, e.g., your thesis.
it could become part if a compatibility module, but no longer in the core
-----------------------------------------------------------------
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \section and luatex
2009-04-22 13:21 ` Mohamed Bana
2009-04-22 13:39 ` Hans Hagen
@ 2009-04-22 13:42 ` Aditya Mahajan
2009-04-22 14:04 ` Hans Hagen
1 sibling, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2009-04-22 13:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, 22 Apr 2009, Mohamed Bana wrote:
> Hi Aditya,
>
> Any chance of getting Hans to include that again.
Ask Hans :) I like the "loose" style of not having to put the braces, but
it is not really a show stopper for me.
I am happy with local changes or simply changing my input.
Here is a vim regex to make the change.
s/\\\(\(sub\)*\(section\|subject\|title\|chapter\)\)\s\+\([^{]\_.\{-\}\)\n\n/
\\\1\ {\4}\r\r/g
> I'm certain that it worked
> with LuaTeX before, e.g., your thesis.
That was before the xp code merged to mkiv.
Aditya
> -- Bana
>
> Aditya Mahajan wrote:
>> On Sun, 19 Apr 2009, Mohamed Bana wrote:
>>
>>> \section Current Activities
>>>
>>> displays
>>>
>>> 1 C
>>> urrent Activities
>>>
>>>
>>> could you please allow \section Other to use the entire word not just the
>>> first Letter.
>>> And how do I tell if LuaTeX is 64bit?
>>>
>>> $ luatex --version
>>> This is LuaTeX, Version snapshot-0.39.0-2009041607 luatex.web v2298
>>>
>>> $ context --version
>>> MTXrun | main context file:
>>> /home/mbana/context.distro/tex/texmf-context/tex/context/base/context.tex
>>> MTXrun | current version: 2009.04.18 13:47
>>
>> Add this somewhere (old code, not tested with latest beta)
>>
>> \def\dodohandlestructureheadnop[#1][#2]%
>> {\dowithpargument{\dododohandlestructureheadnop[#1][#2]}}
>>
>> \def\dododohandlestructureheadnop[#1][#2]#3%
>> {\setfalse\currentstructureown
>> \dohandlestructurehead{#1}{\c!reference=#2,\c!title={#3}}{}} % name ref
>> nr title --
>>
>>
>> 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 : 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \section and luatex
2009-04-22 13:42 ` Aditya Mahajan
@ 2009-04-22 14:04 ` Hans Hagen
0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2009-04-22 14:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
Aditya Mahajan wrote:
> On Wed, 22 Apr 2009, Mohamed Bana wrote:
>
>> Hi Aditya,
>>
>> Any chance of getting Hans to include that again.
>
> Ask Hans :) I like the "loose" style of not having to put the braces,
> but it is not really a show stopper for me.
>
> I am happy with local changes or simply changing my input.
so that makes you teh one who will maintain m-mkii.mkiv -)
-----------------------------------------------------------------
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-04-22 14:04 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-19 10:36 \section and luatex Mohamed Bana
2009-04-19 10:53 ` Alex Lubberts
2009-04-19 10:57 ` Wolfgang Schuster
2009-04-19 11:43 ` Hans Hagen
2009-04-19 14:52 ` Aditya Mahajan
2009-04-19 17:13 ` Mohamed Bana
2009-04-22 13:21 ` Mohamed Bana
2009-04-22 13:39 ` Hans Hagen
2009-04-22 13:42 ` Aditya Mahajan
2009-04-22 14:04 ` Hans Hagen
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).