ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \section and luatex
Date: Wed, 22 Apr 2009 09:42:44 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.00.0904220934230.31200@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <49EF19EC.50705@googlemail.com>

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
___________________________________________________________________________________


  parent reply	other threads:[~2009-04-22 13:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-19 10:36 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 [this message]
2009-04-22 14:04       ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.0904220934230.31200@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).