Re: single quotes in xhtml output

2020-03-05 Thread Cuyahoga Falls
Thank you for your reply. It never occurred to me that LyX would have 
special key-strokes to obtain typographic inner quotes when it 
automatically inserts typographic outer quotes without a special key-stroke.


Now that I know how it works, I can get the desired result.

Virgil


On 3/5/2020 4:20 PM, Guenter Milde wrote:

On 2020-02-29, Cuyahoga Falls wrote:
...


I often want to export to xhtml. However, when I do so, single quotation
marks and apostrophes (`) and (') do not get converted to curly
typographic quotes. Double quotes get converted just fine.

Which keys or key-combinations do you use to insert the quote signs?

By default, the »"«-key, inserts an "outer" „smart-quote inset“ which is
converted to a typographical quote according to the document language's
conventions (configurable in Document>Settings>Language).

The default binding for "inner" „smart quotes“ is Alt-". Alternatively, you
can use the Menu Insert>Special Character>Inner Quotation Mark.

The ` and ' keys, in contrast default to inserting ASCII GRAVE ACCENT
and APOSTROPHE respectively. Most LaTeX fonts show them in the shape of
typographical curly single quotes but most fonts used in web browsers show
them in the "neutral" shape.


Also, when exporting to html, all quotes are properly converted,

Probabely, the external converter implements a "smart quotes" feature.


but I prefer the single file output of xhtml.

I suppose with "xhtml" you mean the native "LyXHTML" export route?

There is no plan to add such a smartquotes feature to the LyXHTML export,
rather users should input typographical quotes either as literal characters
or "quote insets".

You may consider binding the '-key or the `-key to "quote-insert inner"
(with Tools>Preferences>Editing>Shortcuts),
use Alt-" or your systems keybindings for the literal curly quote Unicode
characters.

Günter






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


Re: single quotes in xhtml output

2020-03-05 Thread Guenter Milde
On 2020-02-29, Cuyahoga Falls wrote:
...

> I often want to export to xhtml. However, when I do so, single quotation 
> marks and apostrophes (`) and (') do not get converted to curly 
> typographic quotes. Double quotes get converted just fine. 

Which keys or key-combinations do you use to insert the quote signs?

By default, the »"«-key, inserts an "outer" „smart-quote inset“ which is
converted to a typographical quote according to the document language's
conventions (configurable in Document>Settings>Language).

The default binding for "inner" „smart quotes“ is Alt-". Alternatively, you
can use the Menu Insert>Special Character>Inner Quotation Mark.

The ` and ' keys, in contrast default to inserting ASCII GRAVE ACCENT
and APOSTROPHE respectively. Most LaTeX fonts show them in the shape of
typographical curly single quotes but most fonts used in web browsers show
them in the "neutral" shape.

> Also, when exporting to html, all quotes are properly converted, 

Probabely, the external converter implements a "smart quotes" feature.

> but I prefer the single file output of xhtml.

I suppose with "xhtml" you mean the native "LyXHTML" export route?

There is no plan to add such a smartquotes feature to the LyXHTML export,
rather users should input typographical quotes either as literal characters
or "quote insets".

You may consider binding the '-key or the `-key to "quote-insert inner"
(with Tools>Preferences>Editing>Shortcuts),
use Alt-" or your systems keybindings for the literal curly quote Unicode
characters.

Günter





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


single quotes in xhtml output

2020-02-29 Thread Cuyahoga Falls
I have been using LyX for years. I am now using LyX 2.3.4.3 on a Lenovo 
laptop running Windows 10. I also run a slightly older version on a Sony 
laptop running Linux Mint 18. The subject of my concern exists on both 
computers.


I often want to export to xhtml. However, when I do so, single quotation 
marks and apostrophes (`) and (') do not get converted to curly 
typographic quotes. Double quotes get converted just fine. Also, when 
exporting to html, all quotes are properly converted, but I prefer the 
single file output of xhtml.


I was looking through the bugs at LyX.org and couldn't find anything 
mentioning this problem, but it has been around for so long that I have 
to believe the LyX developers are aware of the behavior.


Do any of y'all know if this is a known bug, and whether or not it is in 
the process of being addressed?


I just thought I would ask before creating an account to log in a bug 
report.


Virgil

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