Re: Quotation marks

2022-08-26 Thread Wolfgang Engelmann




Am 26.08.22 um 12:35 schrieb Wolfgang Engelmann:

I use in my lyx document the English (UK) language and according to
https://en.wikipedia.org/wiki/Quotation_marks_in_English#British_style
quotation marks are set as "xx" or "x'y'x". However, my (German) 
keyboard gives in lyx a ', if I press " (above 2). In a terminal or 
another document it is a correct ". Has this been set this way or can I 
alter it in lyx?


Wolfgang


ups,
I just found that it can be set under language, style of quotation
sorry
W
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Quotation marks

2022-08-26 Thread Wolfgang Engelmann

I use in my lyx document the English (UK) language and according to
https://en.wikipedia.org/wiki/Quotation_marks_in_English#British_style
quotation marks are set as "xx" or "x'y'x". However, my (German) 
keyboard gives in lyx a ', if I press " (above 2). In a terminal or 
another document it is a correct ". Has this been set this way or can I 
alter it in lyx?


Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Different codes for single quotation marks

2021-03-11 Thread _johnny7_ger

Am 11.03.2021 um 17:07 schrieb Jürgen Spitzmüller:

Am Montag, dem 08.03.2021 um 23:01 +0100 schrieb _johnny7_...@web.de:

the easiest way for me to insert German single quotation marks was to
copy and paste them from Wikipedia or even previous paragraphs from
my
text into LyX: ‚ ‘ Now I see there is also the key binding Alt+".
Both
methods lead to the same characters both in the LyX work area and in
the
output; however, the LyX or LaTeX code is different: The former gets
in LyX code ‚ ‘
in LaTeX \quotesinglbase{} \textquoteleft{}

with key binding or the Insert menu I get
in LyX code \begin_inset Quotes gls and ... Quotes grs
in LaTeX \quotesinglbase{} `

I see no difference in the output but are there cases in which the
different codes make a difference?

No, not output-wise. These are different input formats provided with
different font encodings. If you write LaTeX in an editor, ,this` is
the fastest input method, but it matches \quotesinglebase
this\textquoteleft.

Not, though, that changing quote styles (e.g. to German guillemets) is
easier if you use Alt+".


A somewhat related question is the difference between typing "let's"
in LyX and pasting "let’s". The output is identical here as well with
the curly apostrophe. Is there case where the different inputs
matter?

Don't think so.

Jürgen


Thanks for elaborating. But I noted that changing quote styles does not
automatically change all existing quotation marks in the text,
regardless of their input format. Is that right?
I'm glad I don't have to bother with the different input forms in my
text as I happen to have also used the shortcut occasionally.
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Different codes for single quotation marks

2021-03-11 Thread Jürgen Spitzmüller
Am Montag, dem 08.03.2021 um 23:01 +0100 schrieb _johnny7_...@web.de:
> the easiest way for me to insert German single quotation marks was to
> copy and paste them from Wikipedia or even previous paragraphs from
> my
> text into LyX: ‚ ‘ Now I see there is also the key binding Alt+".
> Both
> methods lead to the same characters both in the LyX work area and in
> the
> output; however, the LyX or LaTeX code is different: The former gets
> in LyX code ‚ ‘
> in LaTeX \quotesinglbase{} \textquoteleft{}
> 
> with key binding or the Insert menu I get
> in LyX code \begin_inset Quotes gls and ... Quotes grs
> in LaTeX \quotesinglbase{} `
> 
> I see no difference in the output but are there cases in which the
> different codes make a difference?

No, not output-wise. These are different input formats provided with
different font encodings. If you write LaTeX in an editor, ,this` is
the fastest input method, but it matches \quotesinglebase
this\textquoteleft.

Not, though, that changing quote styles (e.g. to German guillemets) is
easier if you use Alt+".

> A somewhat related question is the difference between typing "let's"
> in LyX and pasting "let’s". The output is identical here as well with
> the curly apostrophe. Is there case where the different inputs
> matter?

Don't think so.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Different codes for single quotation marks

2021-03-08 Thread V K







On Tuesday, March 9, 2021, 12:01:22 AM GMT+2, <_johnny7_...@web.de> wrote: 





Hi,

the easiest way for me to insert German single quotation marks was to
copy and paste them from Wikipedia or even previous paragraphs from my
text into LyX: ‚ ‘ Now I see there is also the key binding Alt+". Both
methods lead to the same characters both in the LyX work area and in the
output; however, the LyX or LaTeX code is different: The former gets
in LyX code ‚ ‘
in LaTeX \quotesinglbase{} \textquoteleft{}

with key binding or the Insert menu I get
in LyX code \begin_inset Quotes gls and ... Quotes grs
in LaTeX \quotesinglbase{} `

I see no difference in the output but are there cases in which the
different codes make a difference?

A somewhat related question is the difference between typing "let's" in
LyX and pasting "let’s". The output is identical here as well with the
curly apostrophe. Is there case where the different inputs matter?

Thanks! Really appreciate working with LyX.



Difference is while exporting with Pandoc to, let's say, docx – opening quote 
can be missing (glqq, glq, quotesinglbase and quotedblbase in my case), so I 
must define them in the preamble and uncomment them only when exporting by 
Pandoc.

Valdemaras
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Different codes for single quotation marks

2021-03-08 Thread _johnny7_ger

Hi,

the easiest way for me to insert German single quotation marks was to
copy and paste them from Wikipedia or even previous paragraphs from my
text into LyX: ‚ ‘ Now I see there is also the key binding Alt+". Both
methods lead to the same characters both in the LyX work area and in the
output; however, the LyX or LaTeX code is different: The former gets
in LyX code ‚ ‘
in LaTeX \quotesinglbase{} \textquoteleft{}

with key binding or the Insert menu I get
in LyX code \begin_inset Quotes gls and ... Quotes grs
in LaTeX \quotesinglbase{} `

I see no difference in the output but are there cases in which the
different codes make a difference?

A somewhat related question is the difference between typing "let's" in
LyX and pasting "let’s". The output is identical here as well with the
curly apostrophe. Is there case where the different inputs matter?

Thanks! Really appreciate working with LyX.
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-07 Thread Jürgen Spitzmüller
Am Dienstag, den 07.04.2020, 16:14 + schrieb Guenter Milde:
> Instead my suggestion is to let the quote inset write literal
> characters
> instead of macros or ligatures whenever possible.

Yes, we can do that (if we know the conditions).

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-07 Thread Guenter Milde
On 2020-04-07, Jürgen Spitzmüller wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Am Dienstag, den 07.04.2020, 06:39 + schrieb Guenter Milde:
>> Why not using Unicode literals generally, 
>> converting them with "unicodesymbols" if literals are not supported?

> We've had this discussion more than once. Please consult the (lyx-
> devel) archives why literal quote chars are inferior to quote insets,
> particularly if we try to extend support eventually (think csquotes,
> quote balancing check, etc.).

> I won't go into this discussion any more.

Sorry for not beeing clear: I see the advantages of the quote inset and do
not want to replace them.

Instead my suggestion is to let the quote inset write literal characters
instead of macros or ligatures whenever possible.

Günter

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-07 Thread Jürgen Spitzmüller
Am Dienstag, den 07.04.2020, 06:39 + schrieb Guenter Milde:
> Why not using Unicode literals generally, 
> converting them with "unicodesymbols" if literals are not supported?

We've had this discussion more than once. Please consult the (lyx-
devel) archives why literal quote chars are inferior to quote insets,
particularly if we try to extend support eventually (think csquotes,
quote balancing check, etc.).

I won't go into this discussion any more.

Jürgen 


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-07 Thread Guenter Milde
On 2020-04-06, Jürgen Spitzmüller wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Am Montag, den 24.02.2020, 11:38 +0100 schrieb Daniel:
>> Hi,

>> Is there a way to get LyX to use unicode for quotation marks?

>> In particular, I am using quotation marks in a section title which 
>> generates the following LaTeX code:

>> \section{``Test''}

>> However, I would like it to generate

>> \section{“Test”}

>> The problem is that otherwise the bookmarks in PDFs also show
>> ``Test'' 
>> instead of “Test”.

>> Minimal example attached.

> Fixed in master at
> https://www.lyx.org/trac/changeset/c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e/lyxgit

> We use now the macros with headings in hyperref.

Why not using Unicode literals generally, 
converting them with "unicodesymbols" if literals are not supported?

Günter

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-06 Thread Jürgen Spitzmüller
Am Montag, den 06.04.2020, 10:25 -0400 schrieb Richard Kimberly Heck:
> > Could be backported to stable.
> 
> Sure.

Thanks, done.

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-06 Thread Richard Kimberly Heck
On 4/6/20 2:55 AM, Jürgen Spitzmüller wrote:
> Am Montag, den 24.02.2020, 11:38 +0100 schrieb Daniel:
>> Hi,
>>
>> Is there a way to get LyX to use unicode for quotation marks?
>>
>> In particular, I am using quotation marks in a section title which 
>> generates the following LaTeX code:
>>
>> \section{``Test''}
>>
>> However, I would like it to generate
>>
>> \section{“Test”}
>>
>> The problem is that otherwise the bookmarks in PDFs also show
>> ``Test'' 
>> instead of “Test”.
>>
>> Minimal example attached.
> Fixed in master at
> https://www.lyx.org/trac/changeset/c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e/lyxgit
>
> We use now the macros with headings in hyperref.
>
> Could be backported to stable.

Sure.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-06 Thread Jürgen Spitzmüller
Am Montag, den 24.02.2020, 11:38 +0100 schrieb Daniel:
> Hi,
> 
> Is there a way to get LyX to use unicode for quotation marks?
> 
> In particular, I am using quotation marks in a section title which 
> generates the following LaTeX code:
> 
> \section{``Test''}
> 
> However, I would like it to generate
> 
> \section{“Test”}
> 
> The problem is that otherwise the bookmarks in PDFs also show
> ``Test'' 
> instead of “Test”.
> 
> Minimal example attached.

Fixed in master at
https://www.lyx.org/trac/changeset/c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e/lyxgit

We use now the macros with headings in hyperref.

Could be backported to stable.

Jürgen

> 
> Daniel


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-03-20 Thread Daniel

On 2020-03-16 11:36, Guenter Milde wrote:

On 2020-03-14, Daniel wrote:

On 2020-03-14 13:25, Guenter Milde wrote:



Is there a way to get LyX to use unicode for quotation marks?



In particular, I am using quotation marks in a section title which
generates the following LaTeX code:



\section{``Test''}



However, I would like it to generate



\section{“Test”}



The problem is that otherwise the bookmarks in PDFs also show ``Test''
instead of “Test”.



I just learned about the LaTeX command \texorpdfstring. Basically, one
gives it two arguments where the first is the tex and the second is the
one to be used in the bookmarks (pdf). Doesn't look nice in LyX but gets
the job done. However, I had to manually switch to unicode encoding to
get it to work with the "fancy" quotation marks (Document > Settings >
Language). See the attached file.



With Unicode (utf8) encoding, there should be no need for
\texorpdfstring, as the typographical quotes are used in the latex
source:



   >> \section{“Test”}



(This is one of the reasons why utf8 is the new default encoding in LyX 2.4.)



No, even with utf8, \section{``Test''} is produced in the latex source.


I see:

* The Unicode literals are used in the LaTeX source when
   
   - input uses Unicode literals (with either system key-combinations or

 custom LyX keybindings) and
 
   - Document>Settings>Language>input encoding is set to one of the Unicode

 encodings or "pass-through".
 
   or with "non-TeX" fonts.
 
* the "quote inset" still uses the LaTeX ligatures instead of Unicode with

   8-bit TeX fonts.
   
   This was sensible with "input encoding" defaulting to latin1 (or some

   other language dependent 8-bit encoding) where the literal charater "“"
   would have become "\textdblquote" in the LaTeX source.
   As the new default "input encoding" is utf8, this reason no longer holds.

Could you file an enhancement request ticket at bugs.lyx.org?

Günter



I can't follow what you are saying. So, I don't think I am the right 
person to file an enhancement report.


Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-03-16 Thread Guenter Milde
On 2020-03-14, Daniel wrote:
> On 2020-03-14 13:25, Guenter Milde wrote:

>>>> Is there a way to get LyX to use unicode for quotation marks?

>>>> In particular, I am using quotation marks in a section title which
>>>> generates the following LaTeX code:

>>>> \section{``Test''}

>>>> However, I would like it to generate

>>>> \section{“Test”}

>>>> The problem is that otherwise the bookmarks in PDFs also show ``Test''
>>>> instead of “Test”.

>>> I just learned about the LaTeX command \texorpdfstring. Basically, one
>>> gives it two arguments where the first is the tex and the second is the
>>> one to be used in the bookmarks (pdf). Doesn't look nice in LyX but gets
>>> the job done. However, I had to manually switch to unicode encoding to
>>> get it to work with the "fancy" quotation marks (Document > Settings >
>>> Language). See the attached file.

>> With Unicode (utf8) encoding, there should be no need for
>> \texorpdfstring, as the typographical quotes are used in the latex
>> source:

>>   >> \section{“Test”}

>> (This is one of the reasons why utf8 is the new default encoding in LyX 2.4.)

> No, even with utf8, \section{``Test''} is produced in the latex source.

I see: 

* The Unicode literals are used in the LaTeX source when
  
  - input uses Unicode literals (with either system key-combinations or
custom LyX keybindings) and

  - Document>Settings>Language>input encoding is set to one of the Unicode
encodings or "pass-through".

  or with "non-TeX" fonts.

* the "quote inset" still uses the LaTeX ligatures instead of Unicode with
  8-bit TeX fonts. 
  
  This was sensible with "input encoding" defaulting to latin1 (or some
  other language dependent 8-bit encoding) where the literal charater "“"
  would have become "\textdblquote" in the LaTeX source.
  As the new default "input encoding" is utf8, this reason no longer holds.

Could you file an enhancement request ticket at bugs.lyx.org?

Günter

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-03-14 Thread Jean-Marc Lasgouttes

Le 14/03/2020 à 13:25, Guenter Milde a écrit :

With Unicode (utf8) encoding, there should be no need for \texorpdfstring, as
the typographical quotes are used in the latex source:

  >> \section{“Test”}

(This is one of the reasons why utf8 is the new default encoding in LyX 2.4.)


Only with polyglossia/xetex/luatex (one or more of these), I think.

JMarc

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-03-14 Thread Daniel

On 2020-03-14 13:25, Guenter Milde wrote:

On 2020-03-14, Daniel wrote:

On 2020-02-24 11:38, Daniel wrote:

Hi,



Is there a way to get LyX to use unicode for quotation marks?



In particular, I am using quotation marks in a section title which
generates the following LaTeX code:



\section{``Test''}



However, I would like it to generate



\section{“Test”}



The problem is that otherwise the bookmarks in PDFs also show ``Test''
instead of “Test”.




I just learned about the LaTeX command \texorpdfstring. Basically, one
gives it two arguments where the first is the tex and the second is the
one to be used in the bookmarks (pdf). Doesn't look nice in LyX but gets
the job done. However, I had to manually switch to unicode encoding to
get it to work with the "fancy" quotation marks (Document > Settings >
Language). See the attached file.


With Unicode (utf8) encoding, there should be no need for \texorpdfstring, as
the typographical quotes are used in the latex source:

  >> \section{“Test”}

(This is one of the reasons why utf8 is the new default encoding in LyX 2.4.)


No, even with utf8, \section{``Test''} is produced in the latex source.

Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-03-14 Thread Guenter Milde
On 2020-03-14, Daniel wrote:
> On 2020-02-24 11:38, Daniel wrote:
>> Hi,

>> Is there a way to get LyX to use unicode for quotation marks?

>> In particular, I am using quotation marks in a section title which 
>> generates the following LaTeX code:

>> \section{``Test''}

>> However, I would like it to generate

>> \section{“Test”}

>> The problem is that otherwise the bookmarks in PDFs also show ``Test'' 
>> instead of “Test”.


> I just learned about the LaTeX command \texorpdfstring. Basically, one 
> gives it two arguments where the first is the tex and the second is the 
> one to be used in the bookmarks (pdf). Doesn't look nice in LyX but gets 
> the job done. However, I had to manually switch to unicode encoding to 
> get it to work with the "fancy" quotation marks (Document > Settings > 
> Language). See the attached file.

With Unicode (utf8) encoding, there should be no need for \texorpdfstring, as
the typographical quotes are used in the latex source:

 >> \section{“Test”}

(This is one of the reasons why utf8 is the new default encoding in LyX 2.4.)

Günter

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-03-14 Thread Daniel

On 2020-02-24 11:38, Daniel wrote:

Hi,

Is there a way to get LyX to use unicode for quotation marks?

In particular, I am using quotation marks in a section title which 
generates the following LaTeX code:


\section{``Test''}

However, I would like it to generate

\section{“Test”}

The problem is that otherwise the bookmarks in PDFs also show ``Test'' 
instead of “Test”.


Minimal example attached.

Daniel



I just learned about the LaTeX command \texorpdfstring. Basically, one 
gives it two arguments where the first is the tex and the second is the 
one to be used in the bookmarks (pdf). Doesn't look nice in LyX but gets 
the job done. However, I had to manually switch to unicode encoding to 
get it to work with the "fancy" quotation marks (Document > Settings > 
Language). See the attached file.


Daniel
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Section
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
texorpdfstring{
\end_layout

\end_inset


\begin_inset Quotes eld
\end_inset

Test
\begin_inset Quotes erd
\end_inset


\begin_inset ERT
status open

\begin_layout Plain Layout

}{“Test”}
\end_layout

\end_inset


\end_layout

\end_body
\end_document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Guenter Milde
On 2020-02-24, Daniel wrote:
> On 2020-02-24 14:08, Jean-Marc Lasgouttes wrote:
>> Le 24/02/2020 à 13:34, Daniel a écrit :

>>> Ah, I see. LyX actually does not use the unicode characters “ and ” 
>>> but \textquotedblleft and \textquotedblright{} when I insert the 
>>> unicode character. 

This is because in older versions of the inputenc package, the literal
characters were not supported.

You may try to copy the file "unicodesymbols" from the LyX library directory
(here /usr/local/src/lyx/lib/) to your personal lyx directory (here ~/.lyx/)
and comment out the lines

#0x201c "\\textquotedblleft"   "" "" # LEFT DOUBLE QUOTATION MARK
#0x201d "\\textquotedblright"  "" "" # RIGHT DOUBLE QUOTATION MARK

and try again.

Hope this helps,

Günter

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Daniel

On 2020-02-24 14:08, Jean-Marc Lasgouttes wrote:

Le 24/02/2020 à 13:34, Daniel a écrit :
Ah, I see. LyX actually does not use the unicode characters “ and ” 
but \textquotedblleft and \textquotedblright{} when I insert the 
unicode character. So, I guess what I want is to have `` and '' be 
replaced by those commands.


Yes, using xetex changes the code preview to usage of unicode. Is it 
on purpse one cannot useb pdflatex that way?


It is a matter of using polyglossia instead of babel, from what I 
understand. There some things (ligatures, spacing) that are handled with 
these improves engines, but not the plain pdflatex with babel.


I see. Well, pdflatex seems to understand the quotation marks as well 
plus it solves the problem with the PDF bookmarks. And I guess there are 
certain problems I might run into when switching from pdflatex to xetex. 
So the switch isn't costless.


1. If I typeset the document I sent before first with pdflatex and 
then with xetex I get an error:


  \babel@aux{english}{}


This is the switch from polyglossia to babel and the fact that we keep 
old aux files to limit the number of TeX runs.


I see. Couldn't LyX remember whether the switch has been made and delete 
those aux files. I guess the error is not a big problem but I was 
already thinking that it did not work correctly.


2. With xetexThe plain quotation marks show as Mapping=34 in the 
bookmarks.


What bookmarks are you talking about?


The PDF bookmarks ("table of content").

Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Jean-Marc Lasgouttes

Le 24/02/2020 à 13:34, Daniel a écrit :
Ah, I see. LyX actually does not use the unicode characters “ and ” but 
\textquotedblleft and \textquotedblright{} when I insert the unicode 
character. So, I guess what I want is to have `` and '' be replaced by 
those commands.


Yes, using xetex changes the code preview to usage of unicode. Is it on 
purpse one cannot useb pdflatex that way?


It is a matter of using polyglossia instead of babel, from what I 
understand. There some things (ligatures, spacing) that are handled with 
these improves engines, but not the plain pdflatex with babel.


1. If I typeset the document I sent before first with pdflatex and then 
with xetex I get an error:


  \babel@aux{english}{}


This is the switch from polyglossia to babel and the fact that we keep 
old aux files to limit the number of TeX runs.



2. With xetexThe plain quotation marks show as Mapping=34 in the bookmarks.


What bookmarks are you talking about?

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Kornel Benko
Am Mon, 24 Feb 2020 13:44:16 +0100
schrieb Daniel :

> On 2020-02-24 13:19, Kornel Benko wrote:
> > Am Mon, 24 Feb 2020 13:11:32 +0100
> > schrieb Daniel :
> >   
> >> On 2020-02-24 12:24, Kornel Benko wrote:  
> >>> Am Mon, 24 Feb 2020 12:16:32 +0100
> >>> schrieb Daniel :
> >>>  
> >>>>> 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


pgp3xxqYSy8R6.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Daniel

On 2020-02-24 13:44, Daniel wrote:

On 2020-02-24 13:19, Kornel Benko wrote:

Am Mon, 24 Feb 2020 13:11:32 +0100
schrieb Daniel :


On 2020-02-24 12:24, Kornel Benko wrote:

Am Mon, 24 Feb 2020 12:16:32 +0100
schrieb Daniel :

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*. However, it 
does allow to use the unicode characters in the output, i.e. I still get 
`` and '' in the bookmarks (in English).


Daniel



"does *not* allow to use the unicode characters in the output" I tried 
to write...


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Daniel

On 2020-02-24 13:19, Kornel Benko wrote:

Am Mon, 24 Feb 2020 13:11:32 +0100
schrieb Daniel :


On 2020-02-24 12:24, Kornel Benko wrote:

Am Mon, 24 Feb 2020 12:16:32 +0100
schrieb Daniel :
   

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*. However, it 
does allow to use the unicode characters in the output, i.e. I still get 
`` and '' in the bookmarks (in English).


Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Daniel

On 2020-02-24 12:09, Jean-Marc Lasgouttes wrote:

Le 24/02/2020 à 11:38, Daniel a écrit :

Hi,

Is there a way to get LyX to use unicode for quotation marks?

In particular, I am using quotation marks in a section title which 
generates the following LaTeX code:


\section{``Test''}

However, I would like it to generate

\section{“Test”}

The problem is that otherwise the bookmarks in PDFs also show ``Test'' 
instead of “Test”.


You should get that if you use xetex/luatex (aka 'Use non-TeX fonts').

JMarc


Ah, I see. LyX actually does not use the unicode characters “ and ” but 
\textquotedblleft and \textquotedblright{} when I insert the unicode 
character. So, I guess what I want is to have `` and '' be replaced by 
those commands.


Yes, using xetex changes the code preview to usage of unicode. Is it on 
purpse one cannot useb pdflatex that way?


By the way, I noticed two strange things:

1. If I typeset the document I sent before first with pdflatex and then 
with xetex I get an error:


 \babel@aux{english}{}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

If I typeset a second time with xetex or straight from the beginning, it 
works as expected.


2. With xetexThe plain quotation marks show as Mapping=34 in the bookmarks.

Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Kornel Benko
Am Mon, 24 Feb 2020 13:11:32 +0100
schrieb Daniel :

> On 2020-02-24 12:24, Kornel Benko wrote:
> > Am Mon, 24 Feb 2020 12:16:32 +0100
> > schrieb Daniel :
> >   
> >>> 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


pgpq4Xx9ADJvg.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Daniel

On 2020-02-24 12:24, Kornel Benko wrote:

Am Mon, 24 Feb 2020 12:16:32 +0100
schrieb Daniel :


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

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Kornel Benko
Am Mon, 24 Feb 2020 12:16:32 +0100
schrieb Daniel :

> > 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


pgpCjjSp9W8Qv.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Daniel

On 2020-02-24 12:04, Kornel Benko wrote:

Am Mon, 24 Feb 2020 11:56:09 +0100
schrieb Daniel :


On 2020-02-24 11:46, Kornel Benko wrote:

Am Mon, 24 Feb 2020 11:38:14 +0100
schrieb Daniel :
   

Hi,

Is there a way to get LyX to use unicode for quotation marks?

In particular, I am using quotation marks in a section title which
generates the following LaTeX code:

\section{``Test''}

However, I would like it to generate

\section{“Test”}

The problem is that otherwise the bookmarks in PDFs also show ``Test''
instead of “Test”.

Minimal example attached.

Daniel


Insert->Special char-> Plain Quotation Mark

Kornel

   


Thanks. But these quotation marks are actually visually different from
proper opening and closing quotation marks both on the PDF and in its
bookmarks.

I've attached all versions I tried so far. The last are the ones I would
like to see LyX produce for me in the output, hopefully, without me
having to use different quotes in the document.

Daniel


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

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Jean-Marc Lasgouttes

Le 24/02/2020 à 11:38, Daniel a écrit :

Hi,

Is there a way to get LyX to use unicode for quotation marks?

In particular, I am using quotation marks in a section title which 
generates the following LaTeX code:


\section{``Test''}

However, I would like it to generate

\section{“Test”}

The problem is that otherwise the bookmarks in PDFs also show ``Test'' 
instead of “Test”.


You should get that if you use xetex/luatex (aka 'Use non-TeX fonts').

JMarc
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Kornel Benko
Am Mon, 24 Feb 2020 11:56:09 +0100
schrieb Daniel :

> On 2020-02-24 11:46, Kornel Benko wrote:
> > Am Mon, 24 Feb 2020 11:38:14 +0100
> > schrieb Daniel :
> >   
> >> Hi,
> >>
> >> Is there a way to get LyX to use unicode for quotation marks?
> >>
> >> In particular, I am using quotation marks in a section title which
> >> generates the following LaTeX code:
> >>
> >> \section{``Test''}
> >>
> >> However, I would like it to generate
> >>
> >> \section{“Test”}
> >>
> >> The problem is that otherwise the bookmarks in PDFs also show ``Test''
> >> instead of “Test”.
> >>
> >> Minimal example attached.
> >>
> >> Daniel  
> > 
> > Insert->Special char-> Plain Quotation Mark
> > 
> > Kornel
> > 
> >   
> 
> Thanks. But these quotation marks are actually visually different from 
> proper opening and closing quotation marks both on the PDF and in its 
> bookmarks.
> 
> I've attached all versions I tried so far. The last are the ones I would 
> like to see LyX produce for me in the output, hopefully, without me 
> having to use different quotes in the document.
> 
> Daniel

M-x unicode-insert 0x201c
M-x unicode-insert 0x201d

Kornel


pgpTEo3Immakp.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Daniel

On 2020-02-24 11:46, Kornel Benko wrote:

Am Mon, 24 Feb 2020 11:38:14 +0100
schrieb Daniel :


Hi,

Is there a way to get LyX to use unicode for quotation marks?

In particular, I am using quotation marks in a section title which
generates the following LaTeX code:

\section{``Test''}

However, I would like it to generate

\section{“Test”}

The problem is that otherwise the bookmarks in PDFs also show ``Test''
instead of “Test”.

Minimal example attached.

Daniel


Insert->Special char-> Plain Quotation Mark

Kornel




Thanks. But these quotation marks are actually visually different from 
proper opening and closing quotation marks both on the PDF and in its 
bookmarks.


I've attached all versions I tried so far. The last are the ones I would 
like to see LyX produce for me in the output, hopefully, without me 
having to use different quotes in the document.


Daniel
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Section
\begin_inset Quotes eld
\end_inset

LyX's magic quotation marks
\begin_inset Quotes erd
\end_inset


\end_layout

\begin_layout Section
\begin_inset Quotes qld
\end_inset

LyX's plain quotation marks
\begin_inset Quotes qrd
\end_inset


\end_layout

\begin_layout Section
“Manually inserted unicode quotation marks”
\end_layout

\end_body
\end_document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-02-24 Thread Kornel Benko
Am Mon, 24 Feb 2020 11:38:14 +0100
schrieb Daniel :

> Hi,
> 
> Is there a way to get LyX to use unicode for quotation marks?
> 
> In particular, I am using quotation marks in a section title which 
> generates the following LaTeX code:
> 
> \section{``Test''}
> 
> However, I would like it to generate
> 
> \section{“Test”}
> 
> The problem is that otherwise the bookmarks in PDFs also show ``Test'' 
> instead of “Test”.
> 
> Minimal example attached.
> 
> Daniel

Insert->Special char-> Plain Quotation Mark

Kornel


pgpwlBCePCcvD.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Get unicode output for quotation marks

2020-02-24 Thread Daniel

Hi,

Is there a way to get LyX to use unicode for quotation marks?

In particular, I am using quotation marks in a section title which 
generates the following LaTeX code:


\section{``Test''}

However, I would like it to generate

\section{“Test”}

The problem is that otherwise the bookmarks in PDFs also show ``Test'' 
instead of “Test”.


Minimal example attached.

Daniel
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Section
\begin_inset Quotes eld
\end_inset

Test
\begin_inset Quotes erd
\end_inset


\end_layout

\end_body
\end_document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Erich Studerus


Hi

I would like to use french quotatin marks in a lyx document with R/Sweave 
code chunks. Unfortunately, the french quotation marks get replaced by 
filled squares during compilation even if I use \frqq. Does anybody know why 
this is?
I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
for me on both Mac and Windows computers except for the problem with 
quotation marks.


Regards,
Erich


Re: problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Guenter Milde
On 2010-03-21, Erich Studerus wrote:

 I would like to use french quotatin marks in a lyx document with R/Sweave 
 code chunks. Unfortunately, the french quotation marks get replaced by 
 filled squares during compilation even if I use \frqq. Does anybody know why 
 this is?
 I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
 for me on both Mac and Windows computers except for the problem with 
 quotation marks.

Maybe this is also due to the calling of the deprecated ae package
by Sweave.sty. Can you try to replace

  \usepackage{Sweave}
  
with  

  \usepackage[noae]{Sweave}
  
somewhere in your setup?

Alternatively, it might help to select a font-package (like mathpazo)
in the LaTex Preamble (as this overrides the ae font selection).

Günter  



problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Erich Studerus


Hi

I would like to use french quotatin marks in a lyx document with R/Sweave 
code chunks. Unfortunately, the french quotation marks get replaced by 
filled squares during compilation even if I use \frqq. Does anybody know why 
this is?
I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
for me on both Mac and Windows computers except for the problem with 
quotation marks.


Regards,
Erich


Re: problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Guenter Milde
On 2010-03-21, Erich Studerus wrote:

 I would like to use french quotatin marks in a lyx document with R/Sweave 
 code chunks. Unfortunately, the french quotation marks get replaced by 
 filled squares during compilation even if I use \frqq. Does anybody know why 
 this is?
 I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
 for me on both Mac and Windows computers except for the problem with 
 quotation marks.

Maybe this is also due to the calling of the deprecated ae package
by Sweave.sty. Can you try to replace

  \usepackage{Sweave}
  
with  

  \usepackage[noae]{Sweave}
  
somewhere in your setup?

Alternatively, it might help to select a font-package (like mathpazo)
in the LaTex Preamble (as this overrides the ae font selection).

Günter  



problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Erich Studerus


Hi

I would like to use french quotatin marks in a lyx document with R/Sweave 
code chunks. Unfortunately, the french quotation marks get replaced by 
filled squares during compilation even if I use \frqq. Does anybody know why 
this is?
I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
for me on both Mac and Windows computers except for the problem with 
quotation marks.


Regards,
Erich


Re: problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Guenter Milde
On 2010-03-21, Erich Studerus wrote:

> I would like to use french quotatin marks in a lyx document with R/Sweave 
> code chunks. Unfortunately, the french quotation marks get replaced by 
> filled squares during compilation even if I use \frqq. Does anybody know why 
> this is?
> I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
> for me on both Mac and Windows computers except for the problem with 
> quotation marks.

Maybe this is also due to the calling of the deprecated "ae" package
by Sweave.sty. Can you try to replace

  \usepackage{Sweave}
  
with  

  \usepackage[noae]{Sweave}
  
somewhere in your setup?

Alternatively, it might help to select a font-package (like mathpazo)
in the LaTex Preamble (as this overrides the "ae" font selection).

Günter  



Re: How to have 3 types of quotation marks

2009-08-10 Thread Guenter Milde
On 2009-08-08, Piero wrote:
 Any idea?

With a German keyboard and the standard English or German quotation-mark
setting, you have:

(Shift-2)  double quotation marks
  '  (Shift-#)  single quotation marks
  «  (Alt-Gr x) opening guillemot
  »  (Alt-Gr y) closing guillemot
  
Günter



Re: How to have 3 types of quotation marks

2009-08-10 Thread Stefano Franchi
On Monday 10 August 2009 05:58:26 am Piero wrote:
 Guenter Milde mi...@... writes:
  With a German keyboard and the standard English or German
  quotation-mark setting, you have:
 
  (Shift-2)  double quotation marks
'  (Shift-#)  single quotation marks
«  (Alt-Gr x) opening guillemot
»  (Alt-Gr y) closing guillemot

 Thanks, but ...nope.
 I have Italian keyboard/settings, and I'm not going to change them just for
 guillemot, of course.
 I can't believe that such a simple need can't find a solution!
 Please somebody help me!


Piero,

have you tried creating a couple of shortcuts to the unicode-insert command? 
It works for me.
The left pointing guillemet is 00AB and the right pointing one is 00BB (those 
are unicode codes).
Go to ToolsPreferencesShortcuts
Click on New
- in the function field type: unicode-insert 00AB (resp., 00BB) (those are 
leading zeros, BTW, not uppercase oh)
- Then click on the raised Shortcut button, and press the key combination 
you'd like to associate to the guillemets. I use Alt-Shift- and Alt-Shift-.

Click Ok and you're done.

However, I am on Linux with personalized keyboard settings. On Windows XP you 
may have a way to enter them directly without using a LyX shortcut. Wikipedia 
says: 
Windows users can create the guillemet by typing « by holding Alt + 0171 
and » by holding Alt + 0187.
Not sure it works on the Italian Keyboard, though.

Ciao,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: How to have 3 types of quotation marks

2009-08-10 Thread Ethan Metsger
On Mon, 10 Aug 2009 09:44:21 -0400, Stefano Franchi  
fran...@philosophy.tamu.edu wrote:



However, I am on Linux with personalized keyboard settings.


On my Linux machine, I set the compose key to the left windows key  
(super_l); super_l +  +  == »; super_l +  +  == «.


So at least for me, there's no extra work to be done to compose extended  
characters.  Not all of them work that way, but it's fairly easy on Linux  
to install different keyboard maps, too.  I occasionally write with  
polytonic Greek, and having the keyboard map for it with XeTeX makes life  
a lot easier.  (I bind different keymaps to r_shift + l_shift.)


The last key to the puzzle for me has been to use the SCIM input methods  
for the rare cases I do any work with CJK fonts.


My solution really only works because I've got XeTeX playing nicely on my  
system (Ubuntu 9.04).  Without knowing the OP's operating system, I'm not  
sure how much help my response gives, but by and large it solves most of  
my problems with extended characters.


-Ethan


Re: How to have 3 types of quotation marks

2009-08-10 Thread Piero
Stefano Franchi fran...@... writes:

 The left pointing guillemet is 00AB and the right pointing one is 00BB (those 
 are unicode codes).
 Go to ToolsPreferencesShortcuts
 Click on New
 - in the function field type: unicode-insert 00AB (resp., 00BB) (those are 
 leading zeros, BTW, not uppercase oh)
 - Then click on the raised Shortcut button, and press the key combination 
 you'd like to associate to the guillemets. I use Alt-Shift-≤ and Alt-Shift-≥.

IT WOOORSSS! 
Grazie Stefano

 Windows users can create the guillemet by typing « by holding Alt + 0171 
 and » by holding Alt + 0187.
 Not sure it works on the Italian Keyboard, though.

Nope. Nevermind, I don't write papers without LyX.

Grazie ancora e ciao

Piero



Re: How to have 3 types of quotation marks

2009-08-10 Thread Stefano Franchi
On Monday 10 August 2009 10:03:01 am Piero wrote:
 Stefano Franchi fran...@... writes:
  The left pointing guillemet is 00AB and the right pointing one is 00BB
  (those are unicode codes).
  Go to ToolsPreferencesShortcuts
  Click on New
  - in the function field type: unicode-insert 00AB (resp., 00BB) (those
  are leading zeros, BTW, not uppercase oh)
  - Then click on the raised Shortcut button, and press the key combination
  you'd like to associate to the guillemets. I use Alt-Shift-≤ and
  Alt-Shift-≥.

 IT WOOORSSS!
 Grazie Stefano

  Windows users can create the guillemet by typing « by holding Alt +
  0171 and » by holding Alt + 0187.
  Not sure it works on the Italian Keyboard, though.

 Nope. Nevermind, I don't write papers without LyX.

 Grazie ancora e ciao

 Piero

Glad it did. 
By the way, be sure it works on the pdf output, not just in LyX. Some fonts 
may not have the approriate glyphs for the guillemets, in which case all you 
get on paper are black boxes. For instance, the AE font (almost European) does 
not seem to work on my system, while my favorite font, MinionPro, gives me no 
troubles.

Ciao,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: How to have 3 types of quotation marks

2009-08-10 Thread Guenter Milde
On 2009-08-08, Piero wrote:
 Any idea?

With a German keyboard and the standard English or German quotation-mark
setting, you have:

(Shift-2)  double quotation marks
  '  (Shift-#)  single quotation marks
  «  (Alt-Gr x) opening guillemot
  »  (Alt-Gr y) closing guillemot
  
Günter



Re: How to have 3 types of quotation marks

2009-08-10 Thread Stefano Franchi
On Monday 10 August 2009 05:58:26 am Piero wrote:
 Guenter Milde mi...@... writes:
  With a German keyboard and the standard English or German
  quotation-mark setting, you have:
 
  (Shift-2)  double quotation marks
'  (Shift-#)  single quotation marks
«  (Alt-Gr x) opening guillemot
»  (Alt-Gr y) closing guillemot

 Thanks, but ...nope.
 I have Italian keyboard/settings, and I'm not going to change them just for
 guillemot, of course.
 I can't believe that such a simple need can't find a solution!
 Please somebody help me!


Piero,

have you tried creating a couple of shortcuts to the unicode-insert command? 
It works for me.
The left pointing guillemet is 00AB and the right pointing one is 00BB (those 
are unicode codes).
Go to ToolsPreferencesShortcuts
Click on New
- in the function field type: unicode-insert 00AB (resp., 00BB) (those are 
leading zeros, BTW, not uppercase oh)
- Then click on the raised Shortcut button, and press the key combination 
you'd like to associate to the guillemets. I use Alt-Shift- and Alt-Shift-.

Click Ok and you're done.

However, I am on Linux with personalized keyboard settings. On Windows XP you 
may have a way to enter them directly without using a LyX shortcut. Wikipedia 
says: 
Windows users can create the guillemet by typing « by holding Alt + 0171 
and » by holding Alt + 0187.
Not sure it works on the Italian Keyboard, though.

Ciao,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: How to have 3 types of quotation marks

2009-08-10 Thread Ethan Metsger
On Mon, 10 Aug 2009 09:44:21 -0400, Stefano Franchi  
fran...@philosophy.tamu.edu wrote:



However, I am on Linux with personalized keyboard settings.


On my Linux machine, I set the compose key to the left windows key  
(super_l); super_l +  +  == »; super_l +  +  == «.


So at least for me, there's no extra work to be done to compose extended  
characters.  Not all of them work that way, but it's fairly easy on Linux  
to install different keyboard maps, too.  I occasionally write with  
polytonic Greek, and having the keyboard map for it with XeTeX makes life  
a lot easier.  (I bind different keymaps to r_shift + l_shift.)


The last key to the puzzle for me has been to use the SCIM input methods  
for the rare cases I do any work with CJK fonts.


My solution really only works because I've got XeTeX playing nicely on my  
system (Ubuntu 9.04).  Without knowing the OP's operating system, I'm not  
sure how much help my response gives, but by and large it solves most of  
my problems with extended characters.


-Ethan


Re: How to have 3 types of quotation marks

2009-08-10 Thread Piero
Stefano Franchi fran...@... writes:

 The left pointing guillemet is 00AB and the right pointing one is 00BB (those 
 are unicode codes).
 Go to ToolsPreferencesShortcuts
 Click on New
 - in the function field type: unicode-insert 00AB (resp., 00BB) (those are 
 leading zeros, BTW, not uppercase oh)
 - Then click on the raised Shortcut button, and press the key combination 
 you'd like to associate to the guillemets. I use Alt-Shift-≤ and Alt-Shift-≥.

IT WOOORSSS! 
Grazie Stefano

 Windows users can create the guillemet by typing « by holding Alt + 0171 
 and » by holding Alt + 0187.
 Not sure it works on the Italian Keyboard, though.

Nope. Nevermind, I don't write papers without LyX.

Grazie ancora e ciao

Piero



Re: How to have 3 types of quotation marks

2009-08-10 Thread Stefano Franchi
On Monday 10 August 2009 10:03:01 am Piero wrote:
 Stefano Franchi fran...@... writes:
  The left pointing guillemet is 00AB and the right pointing one is 00BB
  (those are unicode codes).
  Go to ToolsPreferencesShortcuts
  Click on New
  - in the function field type: unicode-insert 00AB (resp., 00BB) (those
  are leading zeros, BTW, not uppercase oh)
  - Then click on the raised Shortcut button, and press the key combination
  you'd like to associate to the guillemets. I use Alt-Shift-≤ and
  Alt-Shift-≥.

 IT WOOORSSS!
 Grazie Stefano

  Windows users can create the guillemet by typing « by holding Alt +
  0171 and » by holding Alt + 0187.
  Not sure it works on the Italian Keyboard, though.

 Nope. Nevermind, I don't write papers without LyX.

 Grazie ancora e ciao

 Piero

Glad it did. 
By the way, be sure it works on the pdf output, not just in LyX. Some fonts 
may not have the approriate glyphs for the guillemets, in which case all you 
get on paper are black boxes. For instance, the AE font (almost European) does 
not seem to work on my system, while my favorite font, MinionPro, gives me no 
troubles.

Ciao,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: How to have 3 types of quotation marks

2009-08-10 Thread Guenter Milde
On 2009-08-08, Piero wrote:
> Any idea?

With a German keyboard and the standard "English" or "German" quotation-mark
setting, you have:

  "  (Shift-2)  double quotation marks
  '  (Shift-#)  single quotation marks
  «  (Alt-Gr x) opening guillemot
  »  (Alt-Gr y) closing guillemot
  
Günter



Re: How to have 3 types of quotation marks

2009-08-10 Thread Stefano Franchi
On Monday 10 August 2009 05:58:26 am Piero wrote:
> Guenter Milde <mi...@...> writes:
> > With a German keyboard and the standard "English" or "German"
> > quotation-mark setting, you have:
> >
> >   "  (Shift-2)  double quotation marks
> >   '  (Shift-#)  single quotation marks
> >   «  (Alt-Gr x) opening guillemot
> >   »  (Alt-Gr y) closing guillemot
>
> Thanks, but ...nope.
> I have Italian keyboard/settings, and I'm not going to change them just for
> guillemot, of course.
> I can't believe that such a simple need can't find a solution!
> Please somebody help me!


Piero,

have you tried creating a couple of shortcuts to the unicode-insert command? 
It works for me.
The left pointing guillemet is 00AB and the right pointing one is 00BB (those 
are unicode codes).
Go to Tools>Preferences>Shortcuts
Click on New
- in the function field type: unicode-insert 00AB (resp., 00BB) (those are 
leading zeros, BTW, not uppercase oh)
- Then click on the raised Shortcut button, and press the key combination 
you'd like to associate to the guillemets. I use Alt-Shift-< and Alt-Shift->.

Click Ok and you're done.

However, I am on Linux with personalized keyboard settings. On Windows XP you 
may have a way to enter them directly without using a LyX shortcut. Wikipedia 
says: 
"Windows users can create the guillemet by typing "«" by holding Alt + 0171 
and "»" by holding Alt + 0187."
Not sure it works on the Italian Keyboard, though.

Ciao,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: How to have 3 types of quotation marks

2009-08-10 Thread Ethan Metsger
On Mon, 10 Aug 2009 09:44:21 -0400, Stefano Franchi  
 wrote:



However, I am on Linux with personalized keyboard settings.


On my Linux machine, I set the compose key to the left windows key  
(super_l); super_l + > + > == »; super_l + < + < == «.


So at least for me, there's no extra work to be done to compose extended  
characters.  Not all of them work that way, but it's fairly easy on Linux  
to install different keyboard maps, too.  I occasionally write with  
polytonic Greek, and having the keyboard map for it with XeTeX makes life  
a lot easier.  (I bind different keymaps to r_shift + l_shift.)


The last key to the puzzle for me has been to use the SCIM input methods  
for the rare cases I do any work with CJK fonts.


My solution really only works because I've got XeTeX playing nicely on my  
system (Ubuntu 9.04).  Without knowing the OP's operating system, I'm not  
sure how much help my response gives, but by and large it solves most of  
my problems with extended characters.


-Ethan


Re: How to have 3 types of quotation marks

2009-08-10 Thread Piero
Stefano Franchi  writes:

> The left pointing guillemet is 00AB and the right pointing one is 00BB (those 
> are unicode codes).
> Go to Tools>Preferences>Shortcuts
> Click on New
> - in the function field type: unicode-insert 00AB (resp., 00BB) (those are 
> leading zeros, BTW, not uppercase oh)
> - Then click on the raised Shortcut button, and press the key combination 
> you'd like to associate to the guillemets. I use Alt-Shift-≤ and Alt-Shift-≥.

IT WOOORSSS! 
Grazie Stefano

> "Windows users can create the guillemet by typing "«" by holding Alt + 0171 
> and "»" by holding Alt + 0187."
> Not sure it works on the Italian Keyboard, though.

Nope. Nevermind, I don't write papers without LyX.

Grazie ancora e ciao

Piero



Re: How to have 3 types of quotation marks

2009-08-10 Thread Stefano Franchi
On Monday 10 August 2009 10:03:01 am Piero wrote:
> Stefano Franchi  writes:
> > The left pointing guillemet is 00AB and the right pointing one is 00BB
> > (those are unicode codes).
> > Go to Tools>Preferences>Shortcuts
> > Click on New
> > - in the function field type: unicode-insert 00AB (resp., 00BB) (those
> > are leading zeros, BTW, not uppercase oh)
> > - Then click on the raised Shortcut button, and press the key combination
> > you'd like to associate to the guillemets. I use Alt-Shift-≤ and
> > Alt-Shift-≥.
>
> IT WOOORSSS!
> Grazie Stefano
>
> > "Windows users can create the guillemet by typing "«" by holding Alt +
> > 0171 and "»" by holding Alt + 0187."
> > Not sure it works on the Italian Keyboard, though.
>
> Nope. Nevermind, I don't write papers without LyX.
>
> Grazie ancora e ciao
>
> Piero

Glad it did. 
By the way, be sure it works on the pdf output, not just in LyX. Some fonts 
may not have the approriate glyphs for the guillemets, in which case all you 
get on paper are black boxes. For instance, the AE font (almost European) does 
not seem to work on my system, while my favorite font, MinionPro, gives me no 
troubles.

Ciao,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: How to have 3 types of quotation marks

2009-08-08 Thread Piero
Any idea?
Thanks






Re: How to have 3 types of quotation marks

2009-08-08 Thread Piero
Any idea?
Thanks






Re: How to have 3 types of quotation marks

2009-08-08 Thread Piero
Any idea?
Thanks






How to have 3 types of quotation marks

2009-08-06 Thread Piero
Hello,

I wonder if there's a simple manner to solve this.

I need 3 kinds of quotation marks:

single quotation mark ('), double quotation mark (), and caporal quotation 
mark 
(« »).

As I need both single and double quotation marks, I don't want to change 
Document  settings  Language  quotestyle which now is set as  this (and 
allows me to use 'this' pressing the Alt key).
But as I use an italian keyboard, I would like to have a direct key binding 
also 
to the « and » characters. The best would be to bind some combination, e. 
g. 

Alt +  = «

and

Alt +  = » (or Alt + Shift +  = »)



Another (smarter?) way would be a shortkey to change the auto quote style 
setting to «quote style» (and back)

but I have no clue on how to use the kmap file or similar. Any (starting) help?

Thanks.

Piero



Re: How to have 3 types of quotation marks

2009-08-06 Thread Ignacio García
Piero pierofaust...@... writes:

 I need 3 kinds of quotation marks:
 
 single quotation mark ('), double quotation mark (), and caporal quotation 
mark 
 (« »).
 
 As I need both single and double quotation marks, I don't want to change 
 Document  settings  Language  quotestyle which now is set as  this (and 
 allows me to use 'this' pressing the Alt key).
 But as I use an italian keyboard, I would like to have a direct key binding 
also 
 to the « and » characters. The best would be to bind some combination, e. 
g. 
 
 Alt +  = «
 
 and
 
 Alt +  = » (or Alt + Shift +  = »)
 
 Another (smarter?) way would be a shortkey to change the auto quote style 
 setting to «quote style» (and back)
 
 but I have no clue on how to use the kmap file or similar. Any (starting) 
help?
 

On Ubuntu 9.04 and Gnome, I use the following key sequence: 
Multi_key less less : «   guillemotleft
Multi_key greater greater : »   guillemotright

(from /usr/share/X11/locale/en_US.UTF-8/Compose, I think is the one used
for it_IT.UTF-8, the same as used for es_ES.UTF-8)

These key combination works in LyX and many other applications.
You must press Right Win (or your ComposeKey) and release it, then twice  (or 
)

In my system Multi_key is associated to Right Win, this can be set in 
System  Preferences  Keyboard  Dists.  Options button

Regards
Ignacio








Re: How to have 3 types of quotation marks

2009-08-06 Thread Piero
Ignacio García ignacio.gmora...@... writes:

  
 
 On Ubuntu 9.04 and Gnome, I use the following key sequence: 
 Multi_key less less : «   guillemotleft
 Multi_key greater greater : »   guillemotright
 


I use - ehm - Win XP SP3
Thanks anyway



How to have 3 types of quotation marks

2009-08-06 Thread Piero
Hello,

I wonder if there's a simple manner to solve this.

I need 3 kinds of quotation marks:

single quotation mark ('), double quotation mark (), and caporal quotation 
mark 
(« »).

As I need both single and double quotation marks, I don't want to change 
Document  settings  Language  quotestyle which now is set as  this (and 
allows me to use 'this' pressing the Alt key).
But as I use an italian keyboard, I would like to have a direct key binding 
also 
to the « and » characters. The best would be to bind some combination, e. 
g. 

Alt +  = «

and

Alt +  = » (or Alt + Shift +  = »)



Another (smarter?) way would be a shortkey to change the auto quote style 
setting to «quote style» (and back)

but I have no clue on how to use the kmap file or similar. Any (starting) help?

Thanks.

Piero



Re: How to have 3 types of quotation marks

2009-08-06 Thread Ignacio García
Piero pierofaust...@... writes:

 I need 3 kinds of quotation marks:
 
 single quotation mark ('), double quotation mark (), and caporal quotation 
mark 
 (« »).
 
 As I need both single and double quotation marks, I don't want to change 
 Document  settings  Language  quotestyle which now is set as  this (and 
 allows me to use 'this' pressing the Alt key).
 But as I use an italian keyboard, I would like to have a direct key binding 
also 
 to the « and » characters. The best would be to bind some combination, e. 
g. 
 
 Alt +  = «
 
 and
 
 Alt +  = » (or Alt + Shift +  = »)
 
 Another (smarter?) way would be a shortkey to change the auto quote style 
 setting to «quote style» (and back)
 
 but I have no clue on how to use the kmap file or similar. Any (starting) 
help?
 

On Ubuntu 9.04 and Gnome, I use the following key sequence: 
Multi_key less less : «   guillemotleft
Multi_key greater greater : »   guillemotright

(from /usr/share/X11/locale/en_US.UTF-8/Compose, I think is the one used
for it_IT.UTF-8, the same as used for es_ES.UTF-8)

These key combination works in LyX and many other applications.
You must press Right Win (or your ComposeKey) and release it, then twice  (or 
)

In my system Multi_key is associated to Right Win, this can be set in 
System  Preferences  Keyboard  Dists.  Options button

Regards
Ignacio








Re: How to have 3 types of quotation marks

2009-08-06 Thread Piero
Ignacio García ignacio.gmora...@... writes:

  
 
 On Ubuntu 9.04 and Gnome, I use the following key sequence: 
 Multi_key less less : «   guillemotleft
 Multi_key greater greater : »   guillemotright
 


I use - ehm - Win XP SP3
Thanks anyway



How to have 3 types of quotation marks

2009-08-06 Thread Piero
Hello,

I wonder if there's a simple manner to solve this.

I need 3 kinds of quotation marks:

single quotation mark ('), double quotation mark ("), and caporal quotation 
mark 
(« »).

As I need both single and double quotation marks, I don't want to change 
Document > settings > Language > quotestyle which now is set as  "this" (and 
allows me to use 'this' pressing the Alt key).
But as I use an italian keyboard, I would like to have a direct key binding 
also 
to the "«" and "»" characters. The best would be to bind some combination, e. 
g. 

Alt + < = "«"

and

Alt + > = "»" (or Alt + Shift + < = "»")



Another (smarter?) way would be a shortkey to change the auto "quote style" 
setting to «quote style» (and back)

but I have no clue on how to use the kmap file or similar. Any (starting) help?

Thanks.

Piero



Re: How to have 3 types of quotation marks

2009-08-06 Thread Ignacio García
Piero <pierofaust...@...> writes:

> I need 3 kinds of quotation marks:
> 
> single quotation mark ('), double quotation mark ("), and caporal quotation 
mark 
> (« »).
> 
> As I need both single and double quotation marks, I don't want to change 
> Document > settings > Language > quotestyle which now is set as  "this" (and 
> allows me to use 'this' pressing the Alt key).
> But as I use an italian keyboard, I would like to have a direct key binding 
also 
> to the "«" and "»" characters. The best would be to bind some combination, e. 
g. 
> 
> Alt + < = "«"
> 
> and
> 
> Alt + > = "»" (or Alt + Shift + < = "»")
> 
> Another (smarter?) way would be a shortkey to change the auto "quote style" 
> setting to «quote style» (and back)
> 
> but I have no clue on how to use the kmap file or similar. Any (starting) 
help?
> 

On Ubuntu 9.04 and Gnome, I use the following key sequence: 
   : "«"   guillemotleft
   : "»"   guillemotright

(from /usr/share/X11/locale/en_US.UTF-8/Compose, I think is the one used
for it_IT.UTF-8, the same as used for es_ES.UTF-8)

These key combination works in LyX and many other applications.
You must press Right Win (or your ComposeKey) and release it, then twice < (or 
>)

In my system  is associated to Right Win, this can be set in 
System > Preferences > Keyboard > Dists. > Options button

Regards
Ignacio








Re: How to have 3 types of quotation marks

2009-08-06 Thread Piero
Ignacio García  writes:

> > 
> 
> On Ubuntu 9.04 and Gnome, I use the following key sequence: 
>: "«"   guillemotleft
>: "»"   guillemotright
> 


I use - ehm - Win XP SP3
Thanks anyway



smarten up quotation marks

2007-12-20 Thread Eran Kaplinsky
I import a lot of text from online sources and databases, and often end 
up with straight quotation marks.


Can anyone suggest an efficient searchreplace or macro to replace them 
all with proper quotation marks (i.e., 66 and 99)?


I don't mind working on the source (with TeXnic Center).


Thanks!



Re: smarten up quotation marks

2007-12-20 Thread Michael Thompson
 I import a lot of text from online sources and databases, and often end 
 up with straight quotation marks.
 
 Can anyone suggest an efficient searchreplace or macro to replace them 
 all with proper quotation marks (i.e., 66 and 99)?

If your problem is the one familiar to me, then it isn't really a LyX problem, 
but a sort of geometric one. On the principle that most initial quotes are 
preceded by a space, but few final ones are, a partial solution is to find and 
replace, searching for SPACE + straight quote and replacing with SPACE 
plus the left, or initial, quotes you want.  The remaining straight quotes will
be final or right quotes, and you can search and replace them with proper 
right hand quotes without worrying about spaces. 
Obviously some things will fall between the cracks.  
But perhaps your difficulty is more technical than I am thinking. 
Best, Michael








smarten up quotation marks

2007-12-20 Thread Eran Kaplinsky
I import a lot of text from online sources and databases, and often end 
up with straight quotation marks.


Can anyone suggest an efficient searchreplace or macro to replace them 
all with proper quotation marks (i.e., 66 and 99)?


I don't mind working on the source (with TeXnic Center).


Thanks!



Re: smarten up quotation marks

2007-12-20 Thread Michael Thompson
 I import a lot of text from online sources and databases, and often end 
 up with straight quotation marks.
 
 Can anyone suggest an efficient searchreplace or macro to replace them 
 all with proper quotation marks (i.e., 66 and 99)?

If your problem is the one familiar to me, then it isn't really a LyX problem, 
but a sort of geometric one. On the principle that most initial quotes are 
preceded by a space, but few final ones are, a partial solution is to find and 
replace, searching for SPACE + straight quote and replacing with SPACE 
plus the left, or initial, quotes you want.  The remaining straight quotes will
be final or right quotes, and you can search and replace them with proper 
right hand quotes without worrying about spaces. 
Obviously some things will fall between the cracks.  
But perhaps your difficulty is more technical than I am thinking. 
Best, Michael








smarten up quotation marks

2007-12-20 Thread Eran Kaplinsky
I import a lot of text from online sources and databases, and often end 
up with straight quotation marks.


Can anyone suggest an efficient search or macro to replace them 
all with proper quotation marks (i.e., 66 and 99)?


I don't mind working on the source (with TeXnic Center).


Thanks!



Re: smarten up quotation marks

2007-12-20 Thread Michael Thompson
 I import a lot of text from online sources and databases, and often end 
> up with straight quotation marks.
> 
> Can anyone suggest an efficient search or macro to replace them 
> all with proper quotation marks (i.e., 66 and 99)?

If your problem is the one familiar to me, then it isn't really a LyX problem, 
but a sort of geometric one. On the principle that most initial quotes are 
preceded by a space, but few final ones are, a partial solution is to find and 
replace, searching for "SPACE + straight quote" and replacing with SPACE 
plus the left, or initial, quotes you want.  The remaining straight quotes will
be final or right quotes, and you can search and replace them with proper 
right hand quotes without worrying about spaces. 
Obviously some things will fall between the cracks.  
But perhaps your difficulty is more technical than I am thinking. 
Best, Michael








Replacing Quotation Marks

2006-11-01 Thread Bruce Pourciau
A copyeditor has asked if I could find and replace all the double  
quotation marks with single quotation marks, so she doesn't have to  
mark them all. Normal find/replace in LyX doesn't seem to work. Is  
there a way to do this?


Bruce


Re: Replacing Quotation Marks

2006-11-01 Thread Paul Smith

On 11/1/06, Bruce Pourciau [EMAIL PROTECTED] wrote:

A copyeditor has asked if I could find and replace all the double
quotation marks with single quotation marks, so she doesn't have to
mark them all. Normal find/replace in LyX doesn't seem to work. Is
there a way to do this?


Use a text editor instead to find and replace the LyX file.

Paul


Re: Replacing Quotation Marks

2006-11-01 Thread Martin A. Hansen

close lyx

make a backup of the lyx file

open the lyx file in a text editor - notepad, wordpad, vi, emacs, whatever

search and replace

save


martin



On 11/1/06, Bruce Pourciau [EMAIL PROTECTED] wrote:


A copyeditor has asked if I could find and replace all the double
quotation marks with single quotation marks, so she doesn't have to
mark them all. Normal find/replace in LyX doesn't seem to work. Is
there a way to do this?

Bruce



Replacing Quotation Marks

2006-11-01 Thread Bruce Pourciau
A copyeditor has asked if I could find and replace all the double  
quotation marks with single quotation marks, so she doesn't have to  
mark them all. Normal find/replace in LyX doesn't seem to work. Is  
there a way to do this?


Bruce


Re: Replacing Quotation Marks

2006-11-01 Thread Paul Smith

On 11/1/06, Bruce Pourciau [EMAIL PROTECTED] wrote:

A copyeditor has asked if I could find and replace all the double
quotation marks with single quotation marks, so she doesn't have to
mark them all. Normal find/replace in LyX doesn't seem to work. Is
there a way to do this?


Use a text editor instead to find and replace the LyX file.

Paul


Re: Replacing Quotation Marks

2006-11-01 Thread Martin A. Hansen

close lyx

make a backup of the lyx file

open the lyx file in a text editor - notepad, wordpad, vi, emacs, whatever

search and replace

save


martin



On 11/1/06, Bruce Pourciau [EMAIL PROTECTED] wrote:


A copyeditor has asked if I could find and replace all the double
quotation marks with single quotation marks, so she doesn't have to
mark them all. Normal find/replace in LyX doesn't seem to work. Is
there a way to do this?

Bruce



Replacing Quotation Marks

2006-11-01 Thread Bruce Pourciau
A copyeditor has asked if I could find and replace all the double  
quotation marks with single quotation marks, so she doesn't have to  
mark them all. Normal find/replace in LyX doesn't seem to work. Is  
there a way to do this?


Bruce


Re: Replacing Quotation Marks

2006-11-01 Thread Paul Smith

On 11/1/06, Bruce Pourciau <[EMAIL PROTECTED]> wrote:

A copyeditor has asked if I could find and replace all the double
quotation marks with single quotation marks, so she doesn't have to
mark them all. Normal find/replace in LyX doesn't seem to work. Is
there a way to do this?


Use a text editor instead to find and replace the LyX file.

Paul


Re: Replacing Quotation Marks

2006-11-01 Thread Martin A. Hansen

close lyx

make a backup of the lyx file

open the lyx file in a text editor -> notepad, wordpad, vi, emacs, whatever

search and replace

save


martin



On 11/1/06, Bruce Pourciau <[EMAIL PROTECTED]> wrote:


A copyeditor has asked if I could find and replace all the double
quotation marks with single quotation marks, so she doesn't have to
mark them all. Normal find/replace in LyX doesn't seem to work. Is
there a way to do this?

Bruce



Re: Strange behaviour with the quotation marks

2006-07-22 Thread Juergen Spitzmueller
Isaac Pante wrote:
 Sometimes I have those marks  and sometimes thoses ” but I typed  
 them using exactly the same method (SHIFT+2). Have you ever had this  
 problem and does somebody know how to solve it?

Maybe those are the opening and closing quotation marks for your language? If 
not, please send a minimal example file.

Jürgen


Re: Strange behaviour with the quotation marks

2006-07-22 Thread Juergen Spitzmueller
Isaac Pante wrote:
  Maybe those are the opening and closing quotation marks for your
  language? If
  not, please send a minimal example file.
 
  Jürgen

 I think not. In fact I have two kinds of quotation marks which appear
 in the document typing exactly the same (same splaces, etc.). Here is
 an example:

Please send a _LyX_ example file. And please send it to the list.

Jürgen


Problem with quotation marks

2006-07-22 Thread Isaac Pante
Maybe those are the opening and closing quotation marks for yourlanguage? Ifnot, please send a minimal example file.JürgenHere is an example file illustrating my problem about the quotation marks. I want "x" but I get  ”x”.

ExampleQuotation.lyx
Description: Binary data
Thanks for your help! Isaac Pante 

Re: Problem with quotation marks

2006-07-22 Thread Juergen Spitzmueller
Isaac Pante wrote:
 Here is an example file illustrating my problem about the quotation  
 marks. I want x but I get  ”x”.

Well, you get what you chose.
I guess you want plain quotation marks, that are rather inch signs.
You'll get those by hitting Ctrl-S-. Note, however, that this is not 
typographically correct.

Jürgen


Re: Strange behaviour with the quotation marks

2006-07-22 Thread Juergen Spitzmueller
Isaac Pante wrote:
 Sometimes I have those marks  and sometimes thoses ” but I typed  
 them using exactly the same method (SHIFT+2). Have you ever had this  
 problem and does somebody know how to solve it?

Maybe those are the opening and closing quotation marks for your language? If 
not, please send a minimal example file.

Jürgen


Re: Strange behaviour with the quotation marks

2006-07-22 Thread Juergen Spitzmueller
Isaac Pante wrote:
  Maybe those are the opening and closing quotation marks for your
  language? If
  not, please send a minimal example file.
 
  Jürgen

 I think not. In fact I have two kinds of quotation marks which appear
 in the document typing exactly the same (same splaces, etc.). Here is
 an example:

Please send a _LyX_ example file. And please send it to the list.

Jürgen


Problem with quotation marks

2006-07-22 Thread Isaac Pante
Maybe those are the opening and closing quotation marks for yourlanguage? Ifnot, please send a minimal example file.JürgenHere is an example file illustrating my problem about the quotation marks. I want "x" but I get  ”x”.

ExampleQuotation.lyx
Description: Binary data
Thanks for your help! Isaac Pante 

Re: Problem with quotation marks

2006-07-22 Thread Juergen Spitzmueller
Isaac Pante wrote:
 Here is an example file illustrating my problem about the quotation  
 marks. I want x but I get  ”x”.

Well, you get what you chose.
I guess you want plain quotation marks, that are rather inch signs.
You'll get those by hitting Ctrl-S-. Note, however, that this is not 
typographically correct.

Jürgen


Re: Strange behaviour with the quotation marks

2006-07-22 Thread Juergen Spitzmueller
Isaac Pante wrote:
> Sometimes I have those marks " and sometimes thoses ” but I typed  
> them using exactly the same method (SHIFT+2). Have you ever had this  
> problem and does somebody know how to solve it?

Maybe those are the opening and closing quotation marks for your language? If 
not, please send a minimal example file.

Jürgen


Re: Strange behaviour with the quotation marks

2006-07-22 Thread Juergen Spitzmueller
Isaac Pante wrote:
> > Maybe those are the opening and closing quotation marks for your
> > language? If
> > not, please send a minimal example file.
> >
> > Jürgen
>
> I think not. In fact I have two kinds of quotation marks which appear
> in the document typing exactly the same (same splaces, etc.). Here is
> an example:

Please send a _LyX_ example file. And please send it to the list.

Jürgen


Problem with quotation marks

2006-07-22 Thread Isaac Pante
Maybe those are the opening and closing quotation marks for yourlanguage? Ifnot, please send a minimal example file.JürgenHere is an example file illustrating my problem about the quotation marks. I want "x" but I get  ”x”.

ExampleQuotation.lyx
Description: Binary data
Thanks for your help! Isaac Pante 

Re: Problem with quotation marks

2006-07-22 Thread Juergen Spitzmueller
Isaac Pante wrote:
> Here is an example file illustrating my problem about the quotation  
> marks. I want "x" but I get  ”x”.

Well, you get what you chose.
I guess you want plain quotation marks, that are rather inch signs.
You'll get those by hitting Ctrl-S-". Note, however, that this is not 
typographically correct.

Jürgen


Strange behaviour with the quotation marks

2006-07-21 Thread Isaac Pante

Hello everybody!

I have a little problem with the quotations marks in my document. My  
document uses the book class and the marks selected in my settings  
are the following : text.
Sometimes I have those marks  and sometimes thoses ” but I typed  
them using exactly the same method (SHIFT+2). Have you ever had this  
problem and does somebody know how to solve it?


Thanks for your answers!

Isaac Pante






Strange behaviour with the quotation marks

2006-07-21 Thread Isaac Pante

Hello everybody!

I have a little problem with the quotations marks in my document. My  
document uses the book class and the marks selected in my settings  
are the following : text.
Sometimes I have those marks  and sometimes thoses ” but I typed  
them using exactly the same method (SHIFT+2). Have you ever had this  
problem and does somebody know how to solve it?


Thanks for your answers!

Isaac Pante






Strange behaviour with the quotation marks

2006-07-21 Thread Isaac Pante

Hello everybody!

I have a little problem with the quotations marks in my document. My  
document uses the book class and the marks selected in my settings  
are the following : "text".
Sometimes I have those marks " and sometimes thoses ” but I typed  
them using exactly the same method (SHIFT+2). Have you ever had this  
problem and does somebody know how to solve it?


Thanks for your answers!

Isaac Pante






Re: Lyx 1.4.0 won'http://www.codeweavers.com/support/tickets/browse/?list=6;ticket_level=2t allow quotation marks inside ERT boxes

2006-04-05 Thread Georg Baum
Paul Johnson wrote:

 However, LyX will not let me type double quotation marks:   inside
 ERT boxes.  And that's vital for the R code.  I am allowed to copy and
 paste quotation marks from ERT boxes that I wrote with LyX 1.3.7, so
 that is a work around.  But I can't understand why LyX would disable
 the  key altogether.

This is a bug that will be fixed in 1.4.1:
http://bugzilla.lyx.org/show_bug.cgi?id=2429


Georg



Re: Lyx 1.4.0 won'http://www.codeweavers.com/support/tickets/browse/?list=6;ticket_level=2t allow quotation marks inside ERT boxes

2006-04-05 Thread Georg Baum
Paul Johnson wrote:

 However, LyX will not let me type double quotation marks:   inside
 ERT boxes.  And that's vital for the R code.  I am allowed to copy and
 paste quotation marks from ERT boxes that I wrote with LyX 1.3.7, so
 that is a work around.  But I can't understand why LyX would disable
 the  key altogether.

This is a bug that will be fixed in 1.4.1:
http://bugzilla.lyx.org/show_bug.cgi?id=2429


Georg



  1   2   3   >