Re: Importing files: Some file types (.tex, .odt) only show up under "All files"

2020-02-24 Thread David Johnson
I also cannot reproduce this, on an Ubuntu machine.  All the *.tex files
show up.

On Mon, Feb 24, 2020 at 5:32 PM Paul A. Rubin  wrote:

> On 2/24/20 3:12 PM, Tobias Hilbricht wrote:
> > Dear readers of this list,
> > I am using LyX 2.3.4.2 on Ubuntu 18.04.4 and have the following issue:
> > When clicking File -> Import File -> LaTeX (plain), a window pops up
> > allowing to choose a LaTeX.tex file. However, when navigating to a
> > folder which contains LaTeX.tex files and the menu just above the
> > button "Open" says "LaTeX", no file at all shows up. When changing the
> > menu button to "All Files" all files are shown. The same is true for
> > OpenDocument.odt files - they do not show up specifically when the menu
> > says "OpenDocument", but only among many others, which lengthens the
> > process of file choosing.
> >
> > By contrast, when trying to import HTML, the menu just above the "Open"
> > button reads "HTML", and all HTML-files in the folder are shown; it
> > works as expected for OpenDocument spreadsheets (ods), too, and for MS-
> > Word Office-Open XML (docx).
> >
> > Is this a local malconfiguration - if so, how can I reconfigure my
> > system properly - or is this a bug?
> >
> > Thanks for helpful hints
> > Tobias Hilbricht
> >
> I am unable to reproduce this with LyX 2.3.4.2 on Linux Mint 18.3 (which
> is Ubuntu-based). Can you post a screen shot, like the attached, of the
> file open dialog when it malfunctions?
>
> Paul
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
David L. Johnson
Department of Mathematics
Lehigh University
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Importing files: Some file types (.tex, .odt) only show up under "All files"

2020-02-24 Thread Paul A. Rubin

On 2/24/20 3:12 PM, Tobias Hilbricht wrote:

Dear readers of this list,
I am using LyX 2.3.4.2 on Ubuntu 18.04.4 and have the following issue:
When clicking File -> Import File -> LaTeX (plain), a window pops up
allowing to choose a LaTeX.tex file. However, when navigating to a
folder which contains LaTeX.tex files and the menu just above the
button "Open" says "LaTeX", no file at all shows up. When changing the
menu button to "All Files" all files are shown. The same is true for
OpenDocument.odt files - they do not show up specifically when the menu
says "OpenDocument", but only among many others, which lengthens the
process of file choosing.

By contrast, when trying to import HTML, the menu just above the "Open"
button reads "HTML", and all HTML-files in the folder are shown; it
works as expected for OpenDocument spreadsheets (ods), too, and for MS-
Word Office-Open XML (docx).

Is this a local malconfiguration - if so, how can I reconfigure my
system properly - or is this a bug?

Thanks for helpful hints
Tobias Hilbricht

I am unable to reproduce this with LyX 2.3.4.2 on Linux Mint 18.3 (which 
is Ubuntu-based). Can you post a screen shot, like the attached, of the 
file open dialog when it malfunctions?


Paul

-- 
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: conversion d' une image png en eps

2020-02-24 Thread Dr Eberhard Lisse
Have you got rsvg-convert installed and done a Tools -> Reconfigure?

This does recognize svgz and converts them on the fly including in the
LyX window.

el

On 2020-02-24 18:35 , John Kane wrote:
> I get the same. My errer message is, "No information for converting svgz
> format files to pdf6. Define a converter in the preferences.
> Error 1 says
> 
> 
> LaTeX Warning: File
> `2_usr_share_lyx_images_dialog-show-new-inset_graphics.pdf'
> 
> not found on input line 264.
> 
> 
> 
> ! Package pdftex.def Error: File
> `2_usr_share_lyx_images_dialog-show-new-inset_
> 
> graphics.pdf' not found: using draft setting.
> 
> 
> and it seems to go on like that. The file seems to compile with some
> missing images.
> 
> 
> 
> On Mon, 24 Feb 2020 at 06:02, Bernard Blondot  > wrote:
> 
> Lorsque je veux consulter le tutoriel concernant les objets insérés  on
> me demande un convertisseur d' un format png à un format eps . Que faut
> il faire car je ne connais pas ce convertisseur . Je n' avais pas ce
> genre de problème avec une version antérieure de lyx , d' autre part on
> me demande de définir une langue germanique alors que dans des versions
> antérieures de lyx  je n' avais pas ce genre  ce genre de propos  . D'
> avance merci pour la réponse éventuelle .
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org 
> http://lists.lyx.org/mailman/listinfo/lyx-users
> 
> 
> 
> -- 
> John Kane
> Kingston ON Canada
> 

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


Re: conversion d' une image png en eps

2020-02-24 Thread Jean-Marc Lasgouttes

Le 24/02/2020 à 11:15, Bernard Blondot a écrit :
Lorsque je veux consulter le tutoriel concernant les objets insérés  on 
me demande un convertisseur d' un format png à un format eps . Que faut 
il faire car je ne connais pas ce convertisseur . Je n' avais pas ce 
genre de problème avec une version antérieure de lyx , d' autre part on 
me demande de définir une langue germanique alors que dans des versions 
antérieures de lyx  je n' avais pas ce genre  ce genre de propos  . D' 
avance merci pour la réponse éventuelle .





[Bonjour, je répond en anglais. Si cela ne vous convient pas, envoyez 
votre message sur lyx...@lists.lyx.org]


Hello,

What is your operating system? Did you update your TeX version recently?
The missing png->eps conveter is related to a security bug in the 
program that does the solution, if I am not mistaken.


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


Importing files: Some file types (.tex, .odt) only show up under "All files"

2020-02-24 Thread Tobias Hilbricht
Dear readers of this list,
I am using LyX 2.3.4.2 on Ubuntu 18.04.4 and have the following issue:
When clicking File -> Import File -> LaTeX (plain), a window pops up
allowing to choose a LaTeX.tex file. However, when navigating to a
folder which contains LaTeX.tex files and the menu just above the
button "Open" says "LaTeX", no file at all shows up. When changing the
menu button to "All Files" all files are shown. The same is true for
OpenDocument.odt files - they do not show up specifically when the menu
says "OpenDocument", but only among many others, which lengthens the
process of file choosing. 

By contrast, when trying to import HTML, the menu just above the "Open"
button reads "HTML", and all HTML-files in the folder are shown; it
works as expected for OpenDocument spreadsheets (ods), too, and for MS-
Word Office-Open XML (docx).

Is this a local malconfiguration - if so, how can I reconfigure my
system properly - or is this a bug?

Thanks for helpful hints
Tobias Hilbricht

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


Re: Beamer, standard overlay specification, references Problem

2020-02-24 Thread Paul A. Rubin

On 2/24/20 2:51 AM, Wolfgang Engelmann wrote:



Am 22.02.20 um 20:22 schrieb Paul A. Rubin:

On 2/22/20 11:09 AM, Wolfgang Engelmann wrote:
If I use in beamer a frame with standard overlay specification and 
references, instead of the second reference the first one is shown 
again. Taking out the standard overlay specification is a remedy. If 
I need to use the standard overlay specification, is there a way to 
circumvent this?

Look at the TEST.lyx and export to pdf > the error occurs
put the standard overlay specification in a note or take it off > no 
error

I use LyX Version 2.3.4
(Sonntag, 12. Januar 2020)
Systemverzeichnis: /usr/share/lyx/
Benutzerverzeichnis: ~/.lyx/
Qt-Version (Laufzeit): 5.12.5
Qt-Version (bei Erstellung): 5.12.5

Wolfgang

I tried to compile this and set a new indoor record for "cannot 
determine the size of a missing graphic" errors. Can you cut this 
down to a minimal example that shows the problem?


Paul


I am awful sorry that I have sent indecently not the almost minimal 
file I had prepared, but somehow the original file slipped in.

Wolfgang

No worries. This appears to be a known bug in Beamer. See, for instance, 
the accepted answer here 
. 
You can work around it by setting the overlay specification on the first 
item rather than on the frame. See the attached LyX file, which I 
modified. (I also had to change the bibliography style, since I do not 
have the .bst file you are using, but that should be unrelated to the 
itemization fix.)


Paul



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


Re: conversion d' une image png en eps

2020-02-24 Thread John Kane
I get the same. My errer message is, "No information for converting svgz
format files to pdf6. Define a converter in the preferences.
Error 1 says


LaTeX Warning: File
`2_usr_share_lyx_images_dialog-show-new-inset_graphics.pdf'

not found on input line 264.



! Package pdftex.def Error: File
`2_usr_share_lyx_images_dialog-show-new-inset_

graphics.pdf' not found: using draft setting.


and it seems to go on like that. The file seems to compile with some
missing images.


On Mon, 24 Feb 2020 at 06:02, Bernard Blondot 
wrote:

> Lorsque je veux consulter le tutoriel concernant les objets insérés  on
> me demande un convertisseur d' un format png à un format eps . Que faut
> il faire car je ne connais pas ce convertisseur . Je n' avais pas ce
> genre de problème avec une version antérieure de lyx , d' autre part on
> me demande de définir une langue germanique alors que dans des versions
> antérieures de lyx  je n' avais pas ce genre  ce genre de propos  . D'
> avance merci pour la réponse éventuelle .
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
John Kane
Kingston ON Canada
-- 
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


conversion d' une image png en eps

2020-02-24 Thread Bernard Blondot
Lorsque je veux consulter le tutoriel concernant les objets insérés  on 
me demande un convertisseur d' un format png à un format eps . Que faut 
il faire car je ne connais pas ce convertisseur . Je n' avais pas ce 
genre de problème avec une version antérieure de lyx , d' autre part on 
me demande de définir une langue germanique alors que dans des versions 
antérieures de lyx  je n' avais pas ce genre  ce genre de propos  . D' 
avance merci pour la réponse éventuelle .


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