Bo Peng wrote:
> > Because these are fundamentally different concepts (I keep repeating
> > myself).
>
> I do not think \textit and \em are 'fundamentally different'.
> \textit/\em and CharStyle Emph are. The former are all 'plain latex
> command', the latter can be any latex command. 

Why do you think LaTeX macros cannot be character styles? \textit and \emph 
are fundamentally different in the LaTeX scope, as any good introduction to 
LaTeX will tell you. BTW, it's \emph (the macro), not \em (the switch) we are 
talking about.

> This is obviously different from what JMarc thinks
> <quote> But there are two different things:
> * semantic vs explicit marking
> * font-like extent versus inset.
> The first one is the one that counts. The second one is an
> implementation issue.
> </quote>
>
> From a user's point of view, the former is mapped to some latex
> command that is NOT configurable. The later is some complicated inset
> that provides flexibility at a cost of usability. It would be more
> naturally to put \textbf along with \em, than to put \strong (leads to
> a scary inset) along with \em (which simply makes your text italic).

No. I have explained already that \emph (as well as \em) does _not_ simply 
make the text italic. I have showed you an easy example where this is not 
true, and I could show you many more. 

This is the crucial point.

The LyX implemetation (inset vs. font) is a complete different topic. If the 
inset implemetation has flaws, we should fix it. But being an inset does not 
make anything a character style or not.

> > They have only
> > buttons for physical markup in the toolbars, namely bold, underline,
> > italics (and sometimes small caps). We have *none* of those buttons in
> > our toolbar, so if we are going to go that way, we have to go it to the
> > end.
>
> You tried really hard to differentiate \textit and \em and tried to
> convince me your toolbar buttons are *not* italics and underline in
> word's sense. My view is different. See above.

But it's simply not true. It's a fact that \emph is not \textit and \noun is 
not \textsc. For the same reason that \section{foo} is not the same as 
\Huge{\textbf{1.~foo}}. This is the very basic design philosophy of LaTeX, 
and I always thought it was and should be the very basic design philosophy of 
Lyx. This was actually the point where LyX caught me as a user some years 
ago.

> Bo

Jürgen

Reply via email to