Copy and paste formated cross-reference pastes LaTeX code

Kornel Benko kornel at
Wed Mar 11 11:07:35 UTC 2020

Am Wed, 11 Mar 2020 11:30:39 +0100
schrieb Daniel <xracoonx at>:

> When I copy and paste the content of the attached document into some 
> rich text supporting word processors, e.g. Libre Writer and MS Word, I 
> get some LaTeX code ahead of what I would have expected to be pasted:
> \AtBeginDocument{\providecommand\secref[1]{\ref{sec:#1}}}
> However, in some other word processors, e.g. Apple Pages, there is no 
> additional LaTeX code.
> Best,
> Daniel

1.) Right-click
2a.) insert content->Unformatted text
2b.) insert content->More options->HTML

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <>

More information about the lyx-devel mailing list