Re: Insert->Citation, Citation Style Option Questions

2016-11-04 Thread Joel Kulesza
On Fri, Nov 4, 2016 at 1:17 PM, Richard Heck wrote: > On 11/04/2016 01:53 PM, Joel Kulesza wrote: > > LyX Developers, > > > > I am attempting to insert a BibTeX citation by number and include its > > year for context using Natbib. However, upon rendering through > > pdflatex the result is incorr

Re: #10481: Hardening LyX against potential misuse

2016-11-04 Thread Tommaso Cucinotta
forgot to attach the patch. T. On 05/11/2016 02:34, LyX Ticket Tracker wrote: #10481: Hardening LyX against potential misuse -+-- Reporter: t.cucinotta | Owner: lasgouttes Type: enhancement | Status: new Priority: h

Re: #10481: Hardening LyX against potential misuse

2016-11-04 Thread Richard Heck
On 11/04/2016 08:20 PM, Tommaso Cucinotta wrote: > On 05/11/2016 01:16, LyX Ticket Tracker wrote: >> Attached a first attempt at JMarc's proposed user prompt. > > here's the patch, for on-list discussion if preferred. > @@ -402,6 +405,18 @@ bool Converters::convert(Buffer const * buffer, >

Re: #10481: Hardening LyX against potential misuse

2016-11-04 Thread Tommaso Cucinotta
On 05/11/2016 01:16, LyX Ticket Tracker wrote: Attached a first attempt at JMarc's proposed user prompt. here's the patch, for on-list discussion if preferred. T. commit 2c24f0e0 Author: Tommaso Cucinotta Date: Sat Nov 5 01:00:44 2016 +0100 Add needauth option to converters that

Re: Gnuplot format & converter script

2016-11-04 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: >> Are we sure a bomb-virus .lyx file is not already possible as of the >> nowadays LyX features :-) ? > > The solution is probably to mark some converters or templates as > "dangerous" and show warnings to the user the first time they are used > (maybe on a per docume

Re: Insert->Citation, Citation Style Option Questions

2016-11-04 Thread Richard Heck
On 11/04/2016 01:53 PM, Joel Kulesza wrote: > LyX Developers, > > I am attempting to insert a BibTeX citation by number and include its > year for context using Natbib. However, upon rendering through > pdflatex the result is incorrect. Please see the attached for a MWE. > > Is this an issue with

Insert->Citation, Citation Style Option Questions

2016-11-04 Thread Joel Kulesza
LyX Developers, I am attempting to insert a BibTeX citation by number and include its year for context using Natbib. However, upon rendering through pdflatex the result is incorrect. Please see the attached for a MWE. Is this an issue with the citation dialog permitting an invalid option? Or, i

Re: pasted non-acceptable symbol

2016-11-04 Thread Jean-Marc Lasgouttes
Le 04/11/2016 à 11:58, Stephan Witt a écrit : JMarc, are you able to make sense of the following facts? Could you try with the patch at http://www.lyx.org/trac/ticket/10443 ? I’ve use git update instead and now I’m at d207e85cfda2893de4e6c7f419c58aa342395f47. But - no, the crash is not gone

Re: loset my cocnut in lyx

2016-11-04 Thread Scott Kostyshak
On Fri, Nov 04, 2016 at 02:41:18PM +0300, edu Gpl wrote: > Dear Uwe and lyx team > > when i used svg imange i lost some details, in this example i loset the > cocnut from the palam. > please see attachment files Dear Edu, This might be related to: http://www.lyx.org/trac/ticket/9778 For other di

Re: loset my cocnut in lyx

2016-11-04 Thread Richard Heck
On 11/04/2016 07:41 AM, edu Gpl wrote: > Dear Uwe and lyx team > > when i used svg imange i lost some details, in this example i loset > the cocnut from the palam. > please see attachment files This is presumably a bug in whatever converter is being used to convert svg to whatever format the PDF i

Re: new warning in 2.2.x branch

2016-11-04 Thread Jean-Marc Lasgouttes
Le 02/11/2016 à 21:38, Uwe Stöhr a écrit : Compiling today's branch I get: RowPainter.cpp D:\LyXGit\2.2.x\src\RowPainter.cpp(698): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data [D:\LyXGit\2.2.x\compile-2015\src\LyX.vcxproj] JMarc, this slipped in form a com

Re: pasted non-acceptable symbol

2016-11-04 Thread Jean-Marc Lasgouttes
Le 04/11/2016 à 11:58, Stephan Witt a écrit : I’ve use git update instead and now I’m at d207e85cfda2893de4e6c7f419c58aa342395f47. But - no, the crash is not gone. I’ve attached a slightly improved version of my patch. Obviously, this is a work-around only, I know. I guess it is Qt5 only, si

Re: [patch] remove unsupported encoding l7xenc

2016-11-04 Thread Guenter Milde
On 2016-11-04, Guenter Milde wrote: ... > The attached patch removes the *input* encoding iso8859-13 that is still > used by lib/languages: > Language lithuanian > GuiName "Lithuanian" > BabelNamelithuanian > PolyglossiaName lithuanian > QuoteStyle

Re: pasted non-acceptable symbol

2016-11-04 Thread Stephan Witt
Am 04.11.2016 um 10:48 schrieb Jean-Marc Lasgouttes : > > Le 03/11/2016 à 22:06, Stephan Witt a écrit : >> Hi Maksim, >> >> thank you for sending the example. I can reproduce the crash in the debugger >> with LyX 2.3.x master. >> >> JMarc, are you able to make sense of the following facts? > >

Re: Gnuplot format & converter script

2016-11-04 Thread Tommaso Cucinotta
On 04/11/2016 10:31, Jean-Marc Lasgouttes wrote: enable the feature. Also, I guess that integration of external materials suffers of similar security risks. Another big hole is Sweave/knitr. so, guess we deserve a TT: https://www.lyx.org/trac/ticket/10481 T.

Re: pasted non-acceptable symbol

2016-11-04 Thread Jean-Marc Lasgouttes
Le 03/11/2016 à 22:06, Stephan Witt a écrit : Hi Maksim, thank you for sending the example. I can reproduce the crash in the debugger with LyX 2.3.x master. JMarc, are you able to make sense of the following facts? Could you try with the patch at http://www.lyx.org/trac/ticket/10443 ? JMarc

Re: Gnuplot format & converter script

2016-11-04 Thread Jean-Marc Lasgouttes
Le 04/11/2016 à 10:22, Tommaso Cucinotta a écrit : Guess one could try to filter out execution of external commands before sending them to gnuplot, within the gnuplot2pdf.py, but that might limit functionality (should catch the !cmd syntax, but also the plot "< cmd" syntax, with the latter one be

Re: Gnuplot format & converter script

2016-11-04 Thread Tommaso Cucinotta
On 03/11/2016 23:02, Pavel Sanda wrote: How your patch deals with scripts like "! rm -rf *" ? At the moment, I'm not sure what the current directory would be, for such a command, if it's the temporary directory where LyX is doing the temp conversions, or the current working directory for the

Re: [patch] remove unsupported encoding l7xenc

2016-11-04 Thread Guenter Milde
Dear Uwe, dear LyX developers, On 2016-11-02, Uwe Stöhr wrote: > The last days I reviewed the Wiki pages for special languages. This way > I found out that there were many improvements in babel. There is no need > to load special packages anymore for many languages. > In the past we of course h