lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: paragraphs inside tables


From: Daniel Ajoy
Subject: Re: paragraphs inside tables
Date: Sat, 30 Jul 2022 00:24:42 -0500

I was able to work around the issue by adding this macro to my main file

macro @SP { //{0vx} //{1.1vx}   }

and using @SP instead of @LP but I don't understand why it works.

Daniel

On Fri, Jul 29, 2022 at 5:43 PM Jeffrey Kingston <jeffrey.kingston@sydney.edu.au> wrote:
Daniel,

I'm not entirely sure what's happening here.  That is, I
can see that the baseline-to-baseline spacing that @LP
uses is being applied between the entire paragraphs rather
than between the last line of the first paragraph and the
first line of the second, but why that is happening I am
not sure.  It looks like a rather deep fault in the layout
algorithm to me.

Anyway the workaround would be to avoid baseline-to-baseline
spacing.  One simple way to do that would be to replace @LP
by @DP.  If that gives too much vertical space you can fall
back on raw Lout and replace @DP by //0.5v and then you can
increase or decrease the 0.5 to get the space you want.
But it will be from the lowest descender of the last line
of the previous paragraph to the highest ascender of the
first line of the next paragraph, which might look slightly
wrong at times.

Jeff Kingston

From: Lout-users <lout-users-bounces+jeff=it.usyd.edu.au@nongnu.org> on behalf of Daniel Ajoy <da.ajoy@gmail.com>
Sent: Saturday, 30 July 2022 4:34 AM
To: lout-users@nongnu.org <lout-users@nongnu.org>
Subject: paragraphs inside tables
 
Hello, I have the following file with default "doc" configuration. I notice that the @ParaGap paragraph gap spacing is not being enforced within cells of a table (image attached and in this link https://imgur.com/a/gfql5no )

What can it do to enforce it?

@SysInclude { xrgb }
@SysInclude { tbl }
@SysInclude { diag }
@SysInclude { doc }
def @h right x { @B x }
@Doc @Text @Begin



@CD @Heading { Aprendizajes Esperados }
@CD @Heading { NIVEL PRIMARIA }

@Display @Tbl
rule { yes }
aformat { @StartHSpan @Cell indent { ctr } @B A | @HSpan | @HSpan | @HSpan | @HSpan }
bformat { @Cell @h A | @Cell @h B | @Cell @h C | @Cell @h D | @Cell @h E }
cformat { @Cell A | @Cell B | @Cell C | @Cell D | @Cell E }
{
@Rowa A { Español }
@Rowb
A { Bloque 1 }
B { Bloque 2 }
C { Bloque 3 }
D { Bloque 4 }
E { Bloque 5 }

@Rowc
A {
@LP { Identifica palabras que inician con la misma letra de su nombre. }
@LP { Utiliza el orden alfabético. }
@LP { Anticipa el contenido de un texto a partir de la información que le proporcionan títulos e ilustraciones. }
@LP { Establece correspondencias entre escritura y oralidad al leer palabras y frases. }
@LP { Escribe títulos de cuentos. }
@LP { Identifica la función de los reglamentos. }
@LP { Identifica letras conocidas para anticipar el contenido de un texto. }
@LP { Identifica las letras para escribir palabras determinadas. }
@LP { Expone su opinión y escucha las de sus compañeros. }
}
B {
@LP Utiliza las tablas como recurso para ordenar información.
@LP Identifica las diferencias entre texto y tabla.
@LP Interpreta datos contenidos en una tabla (con ayuda del docente).
@LP Identifica las letras pertinentes para escribir palabras determinadas.
@LP Argumenta sus criterios al elegir y recomendar un cuento.
@LP Anticipa los temas y el contenido de un cuento a partir de las ilustraciones y los títulos.
@LP Identifica reiteraciones innecesarias y faltas de concordancia al producir un texto colectivo.
@LP Anticipa el contenido de una noticia a partir de sus elementos gráficos.
@LP Identifica las letras pertinentes para escribir y leer frases y palabras determinadas.
@LP Identifica información en noticias, con un propósito específico.
}
C {
@LP Selecciona información para ampliar su conocimiento de un tema.
@LP Discrimina información a partir de un propósito definido.
@LP Escribe notas para comunicar información.
@LP Identifica la función y características de la rima.
@LP Identifica la similitud gráfica entre palabras que riman.
@LP Interpreta el significado de canciones.
@LP Elabora anuncios publicitarios sobre servicios o productos.
@LP Identifica las palabras para escribir frases determinadas de manera convencional.
@LP Recupera datos e ilustraciones necesarios para integrarlos en un anuncio clasificado.
}
D {
@LP Resume información sobre un tema.
@LP Elabora preguntas para recabar información sobre un tema específico.
@LP Localiza en el texto información específica.
@LP Conoce el formato de las fichas Informativas.
@LP Recupera la estructura de un cuento al reescribirlo.
@LP Adapta el lenguaje para ser escrito.
@LP Identifica las palabras para escribir.
@LP Sigue instrucciones respetando la secuencia establecida en un proceso.
@LP Escribe un instructivo: materiales y procedimiento.
@LP Explica oralmente un procedimiento.
}
E {
@LP Identifica el formato gráfico y las características generales de las canciones.
@LP Emplea el diccionario para corroborar la ortografía de palabras.
@LP Adapta el lenguaje oral para ser escrito.
@LP Utiliza las TIC para obtener información.
@LP Identifica e interpreta símbolos y leyendas que indican peligro, prohibición o alerta.
@LP Organiza información para exponerla a otros.
@LP Identifica los recursos gráficos de los carteles.
@LP Identifica palabras para escribir mensajes con una intención determinada.
}
}
@End @Text



reply via email to

[Prev in Thread] Current Thread [Next in Thread]