On 12/08/2016 12:24 AM, Joel Kulesza wrote:
> On Wed, Dec 7, 2016 at 3:42 PM, Scott Kostyshak <skost...@lyx.org
> <mailto:skost...@lyx.org>> wrote:
>
>     On Wed, Dec 07, 2016 at 02:32:00PM -0700, Joel Kulesza wrote:
>     > Colleagues:
>     >
>     > Is there a way to adjust the Font of a Style in a .layout to
>     display as
>     > UPPERCASE in LyX?
>     >
>     > I cannot see a way to do this in Help -> Customization --- have I
>     > overlooked something?
>     >
>     > I am trying to get LyX to match the appearance of an associated
>     .cls file
>     > which converts all \section{...} entries to uppercase in the
>     document.
>
>     The feature does not currently exist. I have come across the same
>     issue
>     in the past. I think that there are conceptual issues and it is not
>     clear we want to implement it. See the ticket here:
>     http://www.lyx.org/trac/ticket/9489
>     <http://www.lyx.org/trac/ticket/9489>
>     If you can respond to the concern there then maybe it would be
>     reconsidered.
>
>
> Thank you for confirming that the ability is absent and for pointing
> me to that ticket.  Indeed, I understand the point raised that
> representing non-uppercase text as uppercase would be misleading.  It
> would go against WYSIWYM.  However, one might approach WYSIWYM from
> two directions: that of the user and that of the publisher.  I believe
> the ticket to be written from the perspective of the user and his/her
> interaction with LyX (if they mean for uppercase, they should use/see it).

Another option, which we do sometimes use, is to change the color, as a
signal that something is weird. We do this, for example, with 'resumed'
enumerations, where the numbering ends up being wrong. So, e.g., we
could make the captialized section heading blue.

> To avoid the "loss of information" cited in the ticket, I would
> propose converting the case to uppercase as the section heading is
> typed so that any subsequent copy/paste would be uppercase.

Possible but would involve complicated hard-coding of this conversion,
and it would be very different from what else we do.

Richard

Reply via email to