[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Formatting part of a header property
From: |
David Kastrup |
Subject: |
Re: Formatting part of a header property |
Date: |
Tue, 18 Dec 2018 00:29:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> Am Mo., 17. Dez. 2018 um 21:36 Uhr schrieb David Kastrup <address@hidden>:
>>
>> Thomas Morley <address@hidden> writes:
>>
>> > Though, every string is a simple markup, yes, thus it's checked first.
>> > Why do you think it's icky?
>>
>> Because a string is formatted/treated _differently_ from a markup.
>
> Ok, so how to do it differently?
>
> Probably:
> for a string use 'wordwrap-string'
> for a markup-list use 'wordwrap' (or 'wordwrap-lines' ?)
>
> But what to do for a markup? Return empty-stencil?
> Or...?
That would still be different from what we do with simple strings. I
don't really have a good idea.
title = "These three words"
title = \markup { These three words }
Reasonable expectation to format them the same? The latter is the same
as
title = \markup \line { These three words }
So should we deconstruct a line markup and do a wordwrap on it, and a
wordwrap-lines on markup lists, to make a difference? Wait, this is a
markup-command, it cannot return a list. So it's wordwrap either way.
So what to do with a markup that isn't a line markup?
title = \markup \italic "This is a string"
Ugh again.
--
David Kastrup
- Formatting part of a header property, Br. Samuel Springuel, 2018/12/17
- Re: Formatting part of a header property, David Kastrup, 2018/12/17
- Re: Formatting part of a header property, Br. Samuel Springuel, 2018/12/17
- Re: Formatting part of a header property, Thomas Morley, 2018/12/17
- Re: Formatting part of a header property, David Kastrup, 2018/12/17
- Re: Formatting part of a header property, Thomas Morley, 2018/12/17
- Re: Formatting part of a header property, David Kastrup, 2018/12/17
- Re: Formatting part of a header property, Thomas Morley, 2018/12/17
- Re: Formatting part of a header property,
David Kastrup <=
- Re: Formatting part of a header property, Br. Samuel Springuel, 2018/12/17