Re: Tables and lists

Yannig Robert via "Users of the Lout document typesetting system." <[email protected]> Sun, 26 Jan 2020 19:36:24 +0100
Newsgroups gmane.comp.type-setting.lout
Message-ID <[email protected]>
Thank you very much for the help,

For the table issue, that was me reading badly the user guide, it is 
sorted now!

For the list, here is a test case version that reproduces the issue :

@SysInclude { tbl }
@SysInclude { book }
@Book
     @Title {Test case of lists}
     @Author {Yannig Robert}

//

@Chapter   @Title { Trying lists }
@Begin
@BeginSections
@Section @Title {Ordinary lists}
@Begin

@List
@ListItem {example 1}
@ListItem {example 2}
@EndList


@End @Section

@Section @Title {Tagged lists}
@Begin

  @WideTaggedList
     @TagItem {S1-56} {définit le service amateur}
     @TagItem {S1-57} {définit le service amateur par satellite}
     @TagItem {S25} {@BulletList
             @ListItem {Indicatifs attribués par chaque pays}
             @ListItem{Aptitudes de l'opérateur vérifiées par chaque pays}
             @ListItem{Communications en clair }
             @ListItem{Pas de relais de communications pour des tiers 
sauf urgence}
             @EndList}
     @EndList


@End @Section

@EndSections

@End @Chapter

So the standing alone list doesn't work nor the list embedded in a 
taggedList (Am I "allowed" to do this?).

Yannig

On 26/01/2020 19:14, Valery Ushakov wrote:
> On Sun, Jan 26, 2020 at 18:19:31 +0100, Yannig Robert wrote:
>
>> I've been trying to make a list and get the following error :
>>
>> 35,1: no @ItemPlace galley target precedes this @ItemPlace&&preceding
>> 37,1: no @EndListPlace galley target precedes this @EndListPlace&&preceding
>>
>> I am not quite sure what it means, here is my original code :
>>
>> @List
>> @ListItem {example 1}
>> @ListItem {example 2}
>> @EndList
> Should work.  Anything in the preceding context that messes it up?
> Can you construct a minimized test case that demonstrates the problem?
>
>
>> The other question I have is that when I want lines to separate the cells of
>> a table :
>>
>> @Tbl
>>      rule {yes}
>>      aformat {   @Cell width {4c} @Cell A  |  @Cell width {10c} @Cell B  }
>>
>> I get the expected lines plus a frame around the content of each table cell.
> Why do you use @Cell twice (@Cell @Cell A)?
>
> -uwe
>