ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setupitemize confusion
@ 2006-07-26 21:58 Steffen Wolfrum
  2006-07-27  5:32 ` Aditya Mahajan
  0 siblings, 1 reply; 12+ messages in thread
From: Steffen Wolfrum @ 2006-07-26 21:58 UTC (permalink / raw)


Hi,

both paragraph should be indented 12 pt. But there are different:

\starttext

\startitemize[width=12pt]
\sym{\endash}\input tufte
\stopitemize

\setupitemize[width=12pt]
\sym{\endash}\input tufte

\stoptext



How do I make the second the same as the first?

Steffen

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

* Re: setupitemize confusion
  2006-07-26 21:58 setupitemize confusion Steffen Wolfrum
@ 2006-07-27  5:32 ` Aditya Mahajan
  2006-07-27  5:54   ` Steffen Wolfrum
  0 siblings, 1 reply; 12+ messages in thread
From: Aditya Mahajan @ 2006-07-27  5:32 UTC (permalink / raw)


On Wed, 26 Jul 2006, Steffen Wolfrum wrote:

> Hi,
>
> both paragraph should be indented 12 pt. But there are different:
>
> \starttext
>
> \startitemize[width=12pt]
> \sym{\endash}\input tufte
> \stopitemize
>
> \setupitemize[width=12pt]
> \sym{\endash}\input tufte
>
> \stoptext
>
>
> How do I make the second the same as the first?

Shouldn't you wrap the second one with \startstop itemize?

\setupitemize[width=12pt]
\startitemize
\sym{\endash}\input tufte
\stopitemize

Aditya

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

* Re: setupitemize confusion
  2006-07-27  5:32 ` Aditya Mahajan
@ 2006-07-27  5:54   ` Steffen Wolfrum
  2006-07-27  6:05     ` Aditya Mahajan
  0 siblings, 1 reply; 12+ messages in thread
From: Steffen Wolfrum @ 2006-07-27  5:54 UTC (permalink / raw)



Am 27.07.2006 um 07:32 schrieb Aditya Mahajan:

> On Wed, 26 Jul 2006, Steffen Wolfrum wrote:
>
>> Hi,
>>
>> both paragraph should be indented 12 pt. But there are different:
>>
>> \starttext
>>
>> \startitemize[width=12pt]
>> \sym{\endash}\input tufte
>> \stopitemize
>>
>> \setupitemize[width=12pt]
>> \sym{\endash}\input tufte
>>
>> \stoptext
>>
>>
>> How do I make the second the same as the first?
>
> Shouldn't you wrap the second one with \startstop itemize?
>
> \setupitemize[width=12pt]
> \startitemize
> \sym{\endash}\input tufte
> \stopitemize
>
> Aditya



Well, I hope not!

As far as I understood the manual (cont-eni) one can use \item and  
\sym also without the start-stop environment: in cases where it is  
just needed as one entry (not a list).
This works, somehow. But is there no setup possible?

I need it in a bibliography: the normal entries "author, title etc.  
maybe two lines" are hangindented with \hangafter=1\hangindent=12pt.
But when a author has two or more titles it is written "- title etc.  
maybe two lines". And here the "- " must be the same space as the  
hangindent (12pt), as one can imagine easily.
That's why I used a \item res. \sym for this. And a start/stop each  
would make the code quite chaotic.

But maybe there is even another solution for this construction, even  
better?

Steffen

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

* Re: setupitemize confusion
  2006-07-27  5:54   ` Steffen Wolfrum
@ 2006-07-27  6:05     ` Aditya Mahajan
  2006-07-27  6:17       ` Steffen Wolfrum
  0 siblings, 1 reply; 12+ messages in thread
From: Aditya Mahajan @ 2006-07-27  6:05 UTC (permalink / raw)


On Thu, 27 Jul 2006, Steffen Wolfrum wrote:

>
> Am 27.07.2006 um 07:32 schrieb Aditya Mahajan:
>
>> On Wed, 26 Jul 2006, Steffen Wolfrum wrote:
>>
>>> Hi,
>>>
>>> both paragraph should be indented 12 pt. But there are different:
>>>
>>> \starttext
>>>
>>> \startitemize[width=12pt]
>>> \sym{\endash}\input tufte
>>> \stopitemize
>>>
>>> \setupitemize[width=12pt]
>>> \sym{\endash}\input tufte
>>>
>>> \stoptext
>>>
>>>
>>> How do I make the second the same as the first?
>>
>> Shouldn't you wrap the second one with \startstop itemize?
>>
>> \setupitemize[width=12pt]
>> \startitemize
>> \sym{\endash}\input tufte
>> \stopitemize
>>
>> Aditya
>
>
>
> Well, I hope not!
>
> As far as I understood the manual (cont-eni) one can use \item and
> \sym also without the start-stop environment: in cases where it is
> just needed as one entry (not a list).
> This works, somehow. But is there no setup possible?
>
> I need it in a bibliography: the normal entries "author, title etc.
> maybe two lines" are hangindented with \hangafter=1\hangindent=12pt.
> But when a author has two or more titles it is written "- title etc.
> maybe two lines". And here the "- " must be the same space as the
> hangindent (12pt), as one can imagine easily.
> That's why I used a \item res. \sym for this. And a start/stop each
> would make the code quite chaotic.
>
> But maybe there is even another solution for this construction, even
> better?

Ask Taco to implement this in the bib module :-)

Aditya

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

* Re: setupitemize confusion
  2006-07-27  6:05     ` Aditya Mahajan
@ 2006-07-27  6:17       ` Steffen Wolfrum
  2006-07-27  6:57         ` Renaud AUBIN
  2006-07-27  7:11         ` Renaud AUBIN
  0 siblings, 2 replies; 12+ messages in thread
From: Steffen Wolfrum @ 2006-07-27  6:17 UTC (permalink / raw)



Am 27.07.2006 um 08:05 schrieb Aditya Mahajan:

> On Thu, 27 Jul 2006, Steffen Wolfrum wrote:
>
>>
>> Am 27.07.2006 um 07:32 schrieb Aditya Mahajan:
>>
>>> On Wed, 26 Jul 2006, Steffen Wolfrum wrote:
>>>
>>>> Hi,
>>>>
>>>> both paragraph should be indented 12 pt. But there are different:
>>>>
>>>> \starttext
>>>>
>>>> \startitemize[width=12pt]
>>>> \sym{\endash}\input tufte
>>>> \stopitemize
>>>>
>>>> \setupitemize[width=12pt]
>>>> \sym{\endash}\input tufte
>>>>
>>>> \stoptext
>>>>
>>>>
>>>> How do I make the second the same as the first?
>>>
>>> Shouldn't you wrap the second one with \startstop itemize?
>>>
>>> \setupitemize[width=12pt]
>>> \startitemize
>>> \sym{\endash}\input tufte
>>> \stopitemize
>>>
>>> Aditya
>>
>>
>>
>> Well, I hope not!
>>
>> As far as I understood the manual (cont-eni) one can use \item and
>> \sym also without the start-stop environment: in cases where it is
>> just needed as one entry (not a list).
>> This works, somehow. But is there no setup possible?
>>
>> I need it in a bibliography: the normal entries "author, title etc.
>> maybe two lines" are hangindented with \hangafter=1\hangindent=12pt.
>> But when a author has two or more titles it is written "- title etc.
>> maybe two lines". And here the "- " must be the same space as the
>> hangindent (12pt), as one can imagine easily.
>> That's why I used a \item res. \sym for this. And a start/stop each
>> would make the code quite chaotic.
>>
>> But maybe there is even another solution for this construction, even
>> better?
>
> Ask Taco to implement this in the bib module :-)


The bib module won't help (I assume): the bibliography is already  
typed, not generated.

Steffen

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

* Re: setupitemize confusion
  2006-07-27  6:17       ` Steffen Wolfrum
@ 2006-07-27  6:57         ` Renaud AUBIN
  2006-07-27  7:43           ` Taco Hoekwater
  2006-07-27  7:11         ` Renaud AUBIN
  1 sibling, 1 reply; 12+ messages in thread
From: Renaud AUBIN @ 2006-07-27  6:57 UTC (permalink / raw)



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

Steffen Wolfrum a écrit :

>The bib module won't help (I assume): the bibliography is already  
>typed, not generated.
>
>Steffen
>  
>

Hi Steffen, Aditya,

I'm agree with Aditya, Taco can surely help on this point...
I'm also interested by this feature (to Taco: since IEEE bib formatting
follows it ;) )


Cheers,

Renaud

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

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: setupitemize confusion
  2006-07-27  6:17       ` Steffen Wolfrum
  2006-07-27  6:57         ` Renaud AUBIN
@ 2006-07-27  7:11         ` Renaud AUBIN
  2006-07-27  7:50           ` Steffen Wolfrum
  1 sibling, 1 reply; 12+ messages in thread
From: Renaud AUBIN @ 2006-07-27  7:11 UTC (permalink / raw)



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

Hi Steffen,

Can you provide some working sample code (two or three typical entries +
wrap with \start/stopitemize) ?
Is your bibliography big ? I assume your this work is urgent and you
can't make a .bib, right ?

Renaud

Steffen Wolfrum a écrit :

>Am 27.07.2006 um 08:05 schrieb Aditya Mahajan:
>
>  
>
>>On Thu, 27 Jul 2006, Steffen Wolfrum wrote:
>>
>>    
>>
>>>Am 27.07.2006 um 07:32 schrieb Aditya Mahajan:
>>>
>>>      
>>>
>>>>On Wed, 26 Jul 2006, Steffen Wolfrum wrote:
>>>>
>>>>        
>>>>
>>>>>Hi,
>>>>>
>>>>>both paragraph should be indented 12 pt. But there are different:
>>>>>
>>>>>\starttext
>>>>>
>>>>>\startitemize[width=12pt]
>>>>>\sym{\endash}\input tufte
>>>>>\stopitemize
>>>>>
>>>>>\setupitemize[width=12pt]
>>>>>\sym{\endash}\input tufte
>>>>>
>>>>>\stoptext
>>>>>
>>>>>
>>>>>How do I make the second the same as the first?
>>>>>          
>>>>>
>>>>Shouldn't you wrap the second one with \startstop itemize?
>>>>
>>>>\setupitemize[width=12pt]
>>>>\startitemize
>>>>\sym{\endash}\input tufte
>>>>\stopitemize
>>>>
>>>>Aditya
>>>>        
>>>>
>>>
>>>Well, I hope not!
>>>
>>>As far as I understood the manual (cont-eni) one can use \item and
>>>\sym also without the start-stop environment: in cases where it is
>>>just needed as one entry (not a list).
>>>This works, somehow. But is there no setup possible?
>>>
>>>I need it in a bibliography: the normal entries "author, title etc.
>>>maybe two lines" are hangindented with \hangafter=1\hangindent=12pt.
>>>But when a author has two or more titles it is written "- title etc.
>>>maybe two lines". And here the "- " must be the same space as the
>>>hangindent (12pt), as one can imagine easily.
>>>That's why I used a \item res. \sym for this. And a start/stop each
>>>would make the code quite chaotic.
>>>
>>>But maybe there is even another solution for this construction, even
>>>better?
>>>      
>>>
>>Ask Taco to implement this in the bib module :-)
>>    
>>
>
>
>The bib module won't help (I assume): the bibliography is already  
>typed, not generated.
>
>Steffen
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
>  
>


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

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: setupitemize confusion
  2006-07-27  6:57         ` Renaud AUBIN
@ 2006-07-27  7:43           ` Taco Hoekwater
  2006-07-27  7:50             ` Renaud AUBIN
  0 siblings, 1 reply; 12+ messages in thread
From: Taco Hoekwater @ 2006-07-27  7:43 UTC (permalink / raw)




Renaud AUBIN wrote:
> Steffen Wolfrum a écrit :
> 
>>The bib module won't help (I assume): the bibliography is already  
>>typed, not generated.
>>
>>Steffen
>>  
>>
> 
> Hi Steffen, Aditya,
> 
> I'm agree with Aditya, Taco can surely help on this point...
> I'm also interested by this feature (to Taco: since IEEE bib formatting 
> follows it ;) )

It would not be very hard to add this feature to the module,
but that will probably not help Steffen in this case.

Taco

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

* Re: setupitemize confusion
  2006-07-27  7:11         ` Renaud AUBIN
@ 2006-07-27  7:50           ` Steffen Wolfrum
  2006-07-27  8:36             ` Taco Hoekwater
  0 siblings, 1 reply; 12+ messages in thread
From: Steffen Wolfrum @ 2006-07-27  7:50 UTC (permalink / raw)


Hi Renaud,

sure, here it is:


\starttext

\def\Textit{\groupedcommand\it\/}
\def\hangover{\hangafter=1\hangindent=16pt }


\hangover\Textit{Badura, Peter:} Parlamentarismus und  
parteienstaatliche Demokratie, in: Pawlowski, Hans{|-|}Martin{|/|}  
Wieacker, Franz (Hrsg.), Festschrift für Karl Michaelis zum 70.  
Geburtstag, Göttingen 1972, S. 9ff.

\hangover{\endash} Die parlamentarische Verantwortlichkeit\index 
{Verantwortlichkeit} der Minister, ZParl 1980, S. 573ff.

\hangover{\endash} Staatsrecht, 3. Aufl., München 2003.

\hangover{\endash} Die parlamentarische Demokratie, in: Isensee, Josef 
{|/|}Kirchhof, Paul (Hrsg.), Handbuch des Staatsrechts der  
Bundesrepublik Deutschland, Bd. II, 3. Aufl., Heidelberg 2004, § 25.

\stoptext


You see what is needed?


Steffen

Am 27.07.2006 um 09:11 schrieb Renaud AUBIN:

> Hi Steffen,
>
> Can you provide some working sample code (two or three typical  
> entries + wrap with \start/stopitemize) ?
> Is your bibliography big ? I assume your this work is urgent and  
> you can't make a .bib, right ?
>
> Renaud
>
> Steffen Wolfrum a écrit :
>> Am 27.07.2006 um 08:05 schrieb Aditya Mahajan:
>>> On Thu, 27 Jul 2006, Steffen Wolfrum wrote:
>>>> Am 27.07.2006 um 07:32 schrieb Aditya Mahajan:
>>>>> On Wed, 26 Jul 2006, Steffen Wolfrum wrote:
>>>>>> Hi, both paragraph should be indented 12 pt. But there are  
>>>>>> different: \starttext \startitemize[width=12pt] \sym{\endash} 
>>>>>> \input tufte \stopitemize \setupitemize[width=12pt] \sym 
>>>>>> {\endash}\input tufte \stoptext How do I make the second the  
>>>>>> same as the first?
>>>>> Shouldn't you wrap the second one with \startstop itemize?  
>>>>> \setupitemize[width=12pt] \startitemize \sym{\endash}\input  
>>>>> tufte \stopitemize  Aditya
>>>> Well, I hope not! As far as I understood the manual (cont-eni)  
>>>> one can use \item and \sym also without the start-stop  
>>>> environment: in cases where it is just needed as one entry (not  
>>>> a list). This works, somehow. But is there no setup possible? I  
>>>> need it in a bibliography: the normal entries "author, title  
>>>> etc. maybe two lines" are hangindented with \hangafter=1 
>>>> \hangindent=12pt. But when a author has two or more titles it is  
>>>> written "- title etc. maybe two lines". And here the "- " must  
>>>> be the same space as the hangindent (12pt), as one can imagine  
>>>> easily. That's why I used a \item res. \sym for this. And a  
>>>> start/stop each would make the code quite chaotic. But maybe  
>>>> there is even another solution for this construction, even better?
>>> Ask Taco to implement this in the bib module :-)
>> The bib module won't help (I assume): the bibliography is already  
>> typed, not generated. Steffen  
>> _______________________________________________ ntg-context  
>> mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ 
>> ntg-context
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: setupitemize confusion
  2006-07-27  7:43           ` Taco Hoekwater
@ 2006-07-27  7:50             ` Renaud AUBIN
  0 siblings, 0 replies; 12+ messages in thread
From: Renaud AUBIN @ 2006-07-27  7:50 UTC (permalink / raw)


Taco Hoekwater a écrit :

>It would not be very hard to add this feature to the module,
>but that will probably not help Steffen in this case.
>
>Taco
>  
>
Yes, but you're also a ConTeXt guru, no ? ;)

PS to Taco: No more time for #context ?
Renaud

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

* Re: setupitemize confusion
  2006-07-27  7:50           ` Steffen Wolfrum
@ 2006-07-27  8:36             ` Taco Hoekwater
  2006-07-27  8:58               ` Steffen Wolfrum
  0 siblings, 1 reply; 12+ messages in thread
From: Taco Hoekwater @ 2006-07-27  8:36 UTC (permalink / raw)




Steffen Wolfrum wrote:
> Hi Renaud,
> 
> sure, here it is:
> 
> 
> \starttext
> 
> \def\Textit{\groupedcommand\it\/}
> \def\hangover{\hangafter=1\hangindent=16pt }


Try this:

   \def\dashauthor
      {\leavevmode\hbox to 16pt{\endash\hss}\ignorespaces}

   \hangover{\dashauthor} Die parlamentarische ...

Cheers, taco

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

* Re: setupitemize confusion
  2006-07-27  8:36             ` Taco Hoekwater
@ 2006-07-27  8:58               ` Steffen Wolfrum
  0 siblings, 0 replies; 12+ messages in thread
From: Steffen Wolfrum @ 2006-07-27  8:58 UTC (permalink / raw)


Very nice!


Thank you Taco.

Steffen



Am 27.07.2006 um 10:36 schrieb Taco Hoekwater:

>
>
> Steffen Wolfrum wrote:
>> Hi Renaud,
>>
>> sure, here it is:
>>
>>
>> \starttext
>>
>> \def\Textit{\groupedcommand\it\/}
>> \def\hangover{\hangafter=1\hangindent=16pt }
>
>
> Try this:
>
>    \def\dashauthor
>       {\leavevmode\hbox to 16pt{\endash\hss}\ignorespaces}
>
>    \hangover{\dashauthor} Die parlamentarische ...
>
> Cheers, taco
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

end of thread, other threads:[~2006-07-27  8:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-26 21:58 setupitemize confusion Steffen Wolfrum
2006-07-27  5:32 ` Aditya Mahajan
2006-07-27  5:54   ` Steffen Wolfrum
2006-07-27  6:05     ` Aditya Mahajan
2006-07-27  6:17       ` Steffen Wolfrum
2006-07-27  6:57         ` Renaud AUBIN
2006-07-27  7:43           ` Taco Hoekwater
2006-07-27  7:50             ` Renaud AUBIN
2006-07-27  7:11         ` Renaud AUBIN
2006-07-27  7:50           ` Steffen Wolfrum
2006-07-27  8:36             ` Taco Hoekwater
2006-07-27  8:58               ` Steffen Wolfrum

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