Am Donnerstag, 16. Februar 2017 um 15:08:24, schrieb Jürgen Spitzmüller 
<sp...@lyx.org>
> Am Donnerstag, den 16.02.2017, 11:15 +0100 schrieb Kornel Benko:
> > Hi,
> > the attached patch fixes it for me. 
> 
> This will fail for all cases were strong is not defined.
> 
> I'd probably use \providecommand. But you'd need to check whether the
> output is identical (see below). And alternative is using \def or
> \@ifundefined{strong}{\newcommand...}{\renewcommand...}

OK. Any solution is better than what we have now.

> > 16 testcases are affected.
> > E.g. export/doc/Additional_pdf4_systemF:
> >     Desc: LaTeX Error: Command \strong already defined.
> >     Text:  \newcommand{\strong}[1]{\textbf{#1}}
> > 
> >     Your command was ignored.
> >     Type  I <command> <return>  to replace it with another command,
> >     or  <return>  to continue without it.
> > 
> > Anybody else seeing this?
> 
> I suppose this is due to the recent fontspec update:
> 
> - v2.6 (2017/02/12)
> 
> [...]
>     * Add `\strong` as the "weight" analogy to `\emph`. This will need
>       some extra syntactic sugar from `fontspec` before it becomes
>       truly useful. 

Feels like it will remain there from now on.

> Jürgen
> 
> > 

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to