\section and luatex
\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
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
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 -----------------------------------------------------------------
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 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
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
___________________________________________________________________________________
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 ___________________________________________________________________________________
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 -----------------------------------------------------------------
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 ___________________________________________________________________________________
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 -----------------------------------------------------------------
participants (5)
-
Aditya Mahajan
-
Alex Lubberts
-
Hans Hagen
-
Mohamed Bana
-
Wolfgang Schuster