Get unicode output for quotation marks

Kornel Benko kornel at lyx.org
Mon Feb 24 13:01:46 UTC 2020


Am Mon, 24 Feb 2020 13:44:16 +0100
schrieb Daniel <xracoonx at gmx.de>:

> On 2020-02-24 13:19, Kornel Benko wrote:
> > Am Mon, 24 Feb 2020 13:11:32 +0100
> > schrieb Daniel <xracoonx at gmx.de>:
> >   
> >> On 2020-02-24 12:24, Kornel Benko wrote:  
> >>> Am Mon, 24 Feb 2020 12:16:32 +0100
> >>> schrieb Daniel <xracoonx at gmx.de>:
> >>>      
> >>>>> M-x unicode-insert 0x201c
> >>>>> M-x unicode-insert 0x201d
> >>>>>
> >>>>> 	Kornel
> >>>>>
> >>>>>         
> >>>>
> >>>> Yes, that's kind of the manual way. I can also replace “ and ” by itself
> >>>> with Quick Find and Replace. And I can undo the effect by replacing a
> >>>> unicode mark with the LyX generated magic one.
> >>>>
> >>>> I guess I'd prefer LyX to make the change internally before the output.
> >>>> But maybe there is no way to tell LyX to do it.
> >>>>
> >>>> Daniel  
> >>>
> >>> Why? It is always 'manual', since you have to type '"'.
> >>> You could bind the command  'M-x unicode-insert 0x201d' to anything you like
> >>> 	\bind "F1" "unicode-insert 0x201d"
> >>>
> >>> 	Kornel
> >>>
> >>>      
> >>
> >> Yes, you have to press the '"' key maually. But what I meant with the
> >> non-manual magic quotes function of LyX, is that LyX inserts the correct
> >> quotation marks austomatically, i.e. “ and ” in the workarea and `` and
> >> '' in the source (for English). Now, what I was hoping for is that I can
> >> get LyX to automatically use “ and ” not only in the work area but also
> >> in the output, i.e. `` and '' should be changed to “ and ”. LaTeX seems
> >> to have no problem with the “ and ” characters.
> >>
> >> Daniel
> >>  
> > 
> > I don't get it. Do you want same settings for the whole document, or only
> > for some parts?
> > What is wrong with Document->Settings...>Language->Quote style: ?
> >   (+ use dynamic quotation marks)
> > 
> > 	Kornel  
> 
> If I see it correctly, using dynamic quotation marks just changes the 
> marks in the document *when switching the quotation style*.

Or if you change the language and set the quotation marks to language default

> However, it 
> does allow to use the unicode characters in the output, i.e. I still get 
> `` and '' in the bookmarks (in English).
> 
> Daniel
> 

In that case you have to use PDF (luatex) as output.
(Or xetex but with 'non-TeX-fonts)

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200224/d4293e54/attachment-0001.asc>


More information about the lyx-users mailing list