Re: Can shell-escape take advantage of needauth framework?

2017-07-26 Thread Tommaso Cucinotta
On 26/07/2017 22:55, Pavel Sanda wrote: Tommaso Cucinotta wrote: On 25/07/2017 11:10, Pavel Sanda wrote: 1. No "needauth" preferences (do not allow needauth from being disabled). instead of this, why don't we put some more stress on the action of disabling the "Use n

Re: Living with shell-escape: Using two LyX instances - critique invited

2017-07-27 Thread Tommaso Cucinotta
On 27/07/2017 16:10, Guillaume MM wrote: It makes sense that an option in the command line could disable needauth entirely. It is becoming hard to track all the suggestions so if you are interested in this I suggest filing enhancement reports / the wiki page. I think what we might do in a relat

Re: Living with shell-escape: Using two LyX instances - critique invited

2017-07-27 Thread Tommaso Cucinotta
On 27/07/2017 17:31, Tommaso Cucinotta wrote: I think what we might do in a relatively easy and generic way, is to allow for setting individual preferences settings from the command-line, e.g.: alias lyx-safe='/usr/bin/lyx -Duse_converter_needauth_forbidden=true' alias lyx-un

Re: Living with shell-escape: Using two LyX instances - critique invited

2017-07-27 Thread Tommaso Cucinotta
[ adding chr@, gm@ explicitly ] On 27/07/2017 17:31, Tommaso Cucinotta wrote: I think what we might do in a relatively easy and generic way, is to allow for setting individual preferences settings from the command-line, e.g.: alias lyx-safe='/usr/bin/lyx -Duse_converter_needauth_forb

Re: Living with shell-escape: Using two LyX instances - critique invited

2017-07-28 Thread Tommaso Cucinotta
On 27/07/2017 23:08, Christian Ridderström wrote: ./src/lyx -x 'lyxrc-apply Format 22 \use_converter_needauth_forbidden true' This is lyx-unsafe: ./src/lyx -x 'lyxrc-apply Format 22 \use_converter_needauth_forbidden false \use_converter_needauth false' I haven't added

Re: Living with shell-escape: Using two LyX instances - critique invited

2017-07-28 Thread Tommaso Cucinotta
On 28/07/2017 23:17, Tommaso Cucinotta wrote: Actually, I have to check how the above "-x lyxrc-apply " behaves w.r.t. options not mentioned, e.g., whether reset to the default, or it does what one might be tempted to imagine, i.e., just override the mentioned options, leaving

Re: Options for resolving the minted + shell-escape issue

2017-07-28 Thread Tommaso Cucinotta
On 17/07/2017 15:18, Enrico Forestieri wrote: I don't understand if the 'needauth' is new in LyX 2.3.0 or already existed. This is new to 2.3.0 and is instead deemed a security improvement. Yes, security is improved by allowing running dangerous converters. I have to step in for a clarificati

Re: Options for resolving the minted + shell-escape issue

2017-08-04 Thread Tommaso Cucinotta
On 02/08/2017 17:45, Richard Heck wrote: do even better. [...] People who have the expertise to design a new solution, and then to implement it, whether via AppArmor or whatever, should feel free to make it a priority for 2.4 and create a feature branch for it. +1, I'll take some time to reba

Re: Discussing minted/safety/etc (Was: Options for resolving the minted + shell-escape issue)

2017-08-04 Thread Tommaso Cucinotta
On 02/08/2017 01:00, Christian Ridderström wrote: The long threads likely by now do contain a lot of separate pieces of description, but it's unfortunately not so easy (at least for me) to find this information among all the posts. [...] Or perhaps to copy them to into one place, adding minor

Re: [LyX/master] prefs/needauth: added warning if user tries to disable authorization for needauth converters.

2017-08-04 Thread Tommaso Cucinotta
As per the HTML, if this is the standard for LyX then let's go for it. As per the rephrase, I'm ok with removing the "unless you know...", feel free to commit. Thanks, T. On 31/07/2017 23:10, Christian Ridderström wrote: On 27 July 2017 at 00:06, Tommaso C

404 on manuals on lyx.org

2017-08-08 Thread Tommaso Cucinotta
Hi, I just noticed these broken links http://wiki.lyx.org/LyX/Manuals#download http://ftp.lyx.de/Documentation/en/Customization.lyx http://ftp.lyx.de/Documentation/en/Customization.pdf guess they're all broken. There's also a seemingly outdated (from y 2009) merged manual available at:

Re: Can postscript code be embedded in a LyX document?

2017-08-10 Thread Tommaso Cucinotta
ched patch ? T. commit b5c5a5a8 Author: Tommaso Cucinotta Date: Thu Aug 10 10:59:47 2017 +0200 Switch to restricted repstopdf instead of regular epstopdf, for security reasons. diff --git a/lib/configure.py b/lib/configure.py index 8e7fedbb..46d797e6 100644 --- a/lib/configure.py +

Re: Can postscript code be embedded in a LyX document?

2017-08-10 Thread Tommaso Cucinotta
On 10/08/2017 11:02, Tommaso Cucinotta wrote: On 09/08/2017 09:05, Guenter Milde wrote: For EPS to PDF this means we could preferably use "repstopdf" instead of "epstopdf". "repstopdf" is the version "whitelisted" in texmf.cnf for use with the

shell-escape UI (and needauth)

2017-08-10 Thread Tommaso Cucinotta
Hi, I just had some time to finally try out the new shell-escape feature and UI, so I thought to drop a few comments: - the UI visible red icon is fantastic :-)! guess we can re-use it when the user authorized needauth converters for the currently open doc; - the shell-escape would resemble ne

Re: LyX manuals online?

2017-08-10 Thread Tommaso Cucinotta
On 10/08/2017 22:27, Christian Ridderström wrote: Do we have the LyX manuals online, either as PDF or web pages? I just asked this as well, which I guess provides a partial reply to your Q. T. --- Begin Message --- Hi, I just noticed these broken links http://wiki.lyx.org/LyX/Manu

Re: What/how are converters triggered?

2017-08-11 Thread Tommaso Cucinotta
On 11/08/2017 11:44, Christian Ridderström wrote: Do we have a description somewhere, perhaps in the source, as to what and how the different converters are triggered? How are files found for which converters are to be triggered? How is the type of the file determined? Format.cpp: Formats::ge

Re: 404 on manuals on lyx.org

2017-08-11 Thread Tommaso Cucinotta
On 11/08/2017 15:55, Christian Ridderström wrote: simply to ensure that LyX doesn't fail when reading and exporting the manuals as PDFs. from my viewpoint, it would be good to have the manuals just available and searchable on-line, i.e., when I'm looking for something on a search engine, bei

Re: 404 on manuals on lyx.org

2017-08-12 Thread Tommaso Cucinotta
On 11/08/2017 16:51, Pavel Sanda wrote: I can prepare web corner for it on www.lyx.org if you decide to do it. There's an autotest exporting manuals in a few formats that used to be troublesome (xhtml and lyx16x) in the past, in development/autotests/export-in.sh I gave a try to manual com

Re: Can postscript code be embedded in a LyX document?

2017-08-12 Thread Tommaso Cucinotta
On 12/08/2017 10:21, Guenter Milde wrote: This may change if we develop an "all inclusive" LyX document format. I used to remember a discussion about that, to the point to be mistakenly believing we did support an inclusive/embedded .lyx format, but I'm likely not remembering well, or confusi

Re: 404 on manuals on lyx.org

2017-08-12 Thread Tommaso Cucinotta
On 12/08/2017 15:52, Tommaso Cucinotta wrote: I gave a try to manual compilation of manuals :-), and here's the experience: -) minors along the way: I was missing texlive-lang-german, french, latin, and texlive-humanities; -) Intro, UserGuide, Tutorial, Development, Math, Customiz

Re: 404 on manuals on lyx.org

2017-08-13 Thread Tommaso Cucinotta
xlive-lang-all, not all of them succeed in compilation. Result as can be seen at (file lyxdoc.tar.gz, once it's done uploading): https://drive.google.com/open?id=0B6A-8XYYe1nYUlg3U2YyQm0xQVU T. On 13/08/2017 12:48, Pavel Sanda wrote: Tommaso Cucinotta wrote: On 11/08/2017 16:51, P

Re: 404 on manuals on lyx.org

2017-08-13 Thread Tommaso Cucinotta
On 13/08/2017 12:48, Pavel Sanda wrote: You need latin,french&german to build the main (english) manuals? yes, latin for the "ipse lorum blah blah", french I suspect accidentally tags a few English paragraphs in one of the manuals, whilst german is part of the description of some of the inter

Re: 404 on manuals on lyx.org

2017-08-13 Thread Tommaso Cucinotta
On 13/08/2017 17:33, Pavel Sanda wrote: Maybe we are seeing different phenomena. Here EmbeddedObjects compiles [...] Apart from that it looks sort of OK. TeXLive 2012 here :) yes, the difference seems that you're exporting xhtml, whilst I was exporting .html. Just checked that the .xhtml ou

Re: 404 on manuals on lyx.org

2017-08-13 Thread Tommaso Cucinotta
On 13/08/2017 16:58, Tommaso Cucinotta wrote: On my system, despite having installed texlive-lang-all, not all of them succeed in compilation. I was missing xetex for the ja (and presumably he) languages. T.

Re: 404 on manuals on lyx.org

2017-08-15 Thread Tommaso Cucinotta
On 15/08/2017 02:53, Uwe Stöhr wrote: I set it now again and updated the manuals to LyX 2.2.3: http://wiki.lyx.org/LyX/Manuals Great! One minor comment: probably the order of manuals might be exactly reversed, to have easier stuff first, and more advanced stuff last. Also, PDFs are a great he

Re: 404 on manuals on lyx.org

2017-08-15 Thread Tommaso Cucinotta
On 15/08/2017 22:11, Uwe Stöhr wrote: So fine with me if you change the order. done. Also, I gave a try to pmwiki tables, to get to a more compact form: http://wiki.lyx.org/LyX/Manuals2 (might be visually improved with some .lyx/.pdf icons, plus country-code flags, but don't know how to a

wiki - Category link pages

2017-08-15 Thread Tommaso Cucinotta
Hi, I took some time to clean-up the empty template that was annoyingly showing up when clicking on the bottom category link of each wiki page, namely: "" ... which I replaced with a simple !!! Pages in Category: {*$Name} So, now those links should look like as having some more meaningful an

Re: [LyX/master] oops, git is playing games with me.

2017-08-17 Thread Tommaso Cucinotta
Thx Pavel for pushing this. I'd like to add to the script the capability to generate the index in PmWiki format, so that its output can be copy'n'pasted straight to http://wiki.lyx.org/LyX/Manuals2 What'd'u think? T. On 17/08/2017 01:25, Pavel Sanda wrote: commit e8b324a984e6cbbeb

Re: LyX version 2.3.0 (beta 1)

2017-08-17 Thread Tommaso Cucinotta
On 17/08/2017 20:25, Scott Kostyshak wrote: An overview of the new features can be found here: http://wiki.lyx.org/LyX/NewInLyX23 AFAICR, the new shell-escape [+minted] support made it to the 2.3, but it's not mentioned (yet). T.

Re: [LyX/master] oops, git is playing games with me.

2017-08-17 Thread Tommaso Cucinotta
On 17/08/2017 21:49, Pavel Sanda wrote: To recap the current problems from my POV: 1. en/ should have it's own directory as a normal language because xhtml output target produces lot of images which clutter root dir (please use xhtml, not html). sure, easy. 2. exported icons still con

Re: [LyX/master] oops, git is playing games with me.

2017-08-17 Thread Tommaso Cucinotta
On 18/08/2017 02:09, Tommaso Cucinotta wrote: no more time for today... but perhaps the cache wipe-out work-around is already good enough. pushed, seems acceptable (except for 0_tmp_tmp_*, 1_tmp_tmp_*, etc...) T.

Re: 404 on manuals on lyx.org

2017-08-21 Thread Tommaso Cucinotta
On 20/08/2017 20:20, Christian Ridderström wrote: - Perhaps write out English, Español etc in the headings I made an attempt to rotate the text, to keep the table compact, via CSS attributes, but the rotated one didn't show well, because it was rotating the cell borders as well :(. Perhaps a

Re: 404 on manuals on lyx.org

2017-08-21 Thread Tommaso Cucinotta
On 21/08/2017 17:02, Pavel Sanda wrote: https://wiki.lyx.org/uploads/ or from within wiki: uploads:/path/file.png solved, I was using "uploads:path/to/..." instead of "uploads:/path/to/..." A minor issue I'm seeing is that, clicking on a tutorial .lyx file in any language, Firefox proposes

Re: 404 on manuals on lyx.org

2017-08-21 Thread Tommaso Cucinotta
On 21/08/2017 23:09, Christian Ridderström wrote: - The link texts could be LyX vs PDF instead of EN/FR etc. tried also to play with the clikkable PDF/LyX icons that bring you to the file, but if we get tens of those I expect the page to become difficult to browse. I added example of how you

Re: 404 on manuals on lyx.org

2017-08-22 Thread Tommaso Cucinotta
On 22/08/2017 09:08, Jean-Pierre Chrétien wrote: -) 4 langs with complete 5 manuals on the page (Intro, Tutorial, UserGuide, Math, Customization, EmbeddedObjects). Additional is missing there, shouldn't it be added? It's kind of UserGuide2... we have only 5 Additional.lyx manuals. For referen

Re: Improving the shell-escape warning when a global converter has -shell-escape

2017-08-31 Thread Tommaso Cucinotta
On 31/08/2017 02:45, Scott Kostyshak wrote: feature, first remove the -shell-escape option from the global converter by going to Preferences > file handling > converters, removing "-shell-escape" from the corresponding converter, and clicking on "Modify" and then "Save". Any

Re: ImageMagick security settings in openSUSE

2020-10-30 Thread Tommaso Cucinotta
Hi, I'm not sure if the problem is similar, I've just tried LyX 2.3.4 on Ubuntu 20.04.1, and noticed that after inserting a PDF file/graphics, LyX has problems in converting the image into PNG, as needed to show the preview on-screen. One way I could work around it, was to comment out the PDF

Re: Should child docs inherit trust for needauth converter?

2018-02-11 Thread Tommaso Cucinotta
On 02/01/2018 17:13, Jean-Marc Lasgouttes wrote: Le 28/12/2017 à 09:40, Scott Kostyshak a écrit : I suppose in cases of security, unless I can make a sound-proof argument to get rid of the additional prompts, we should just keep them. Any thoughts? I would say that, if we trust the parent, we

Re: thoughts about LyX's future and proposals

2018-07-19 Thread Tommaso Cucinotta
Hi Uwe, your message wakes me up from my LyX-idle period... On 10/07/2018 00:19, Uwe Stöhr wrote: - I gave lectures about LyX at my university, tried to introduce LyX to friends and family members. Nevertheless the success was "modest" even under my students. shared feelings here, especially

Re: Problems searching with format enabled

2018-10-26 Thread Tommaso Cucinotta
On 24/10/18 18:51, Kornel Benko wrote: (Having a GUI for selection of which attribute to ignore or not would be better, but designing and programming such a dialog is not my strength) Opinions please. great job, Kornel, to tackle a rework of this code, thanks! Your proposal sounds sound, just

Re: [LyX/master] FindAdv: Optimization

2018-11-25 Thread Tommaso Cucinotta
On 25/11/18 00:46, Kornel Benko wrote: Anyway, if one would want to 'ungreed', there will always exist the possibility to use (in our case) "regular.*?expres" once upon a time, I remember LyX could be compiled with either std::regex, or boost::regex, with some differences in what is s

FuncRequest/dispatch goals

2007-07-10 Thread Tommaso Cucinotta
Hi, as a newbie of the LyX code, I'm just curious about the purpose of the FuncRequest/dispatch mechanism. Specifically, it is not clear to me why from the GUI some functions produce a formatted text string that is dispatched through a FuncRequest object, for being parsed later somewhere else in t

Re: FuncRequest/dispatch goals

2007-07-10 Thread Tommaso Cucinotta
Jean-Marc Lasgouttes ha scritto: Except if this serialization can be merged with the writing of the xml parameters once we switch to that. In this case, the thing would make more sense (and allow to define bindings to tune individual parameters). Is it possible to have brief description of wh

Help in understanding GUI structure

2007-07-10 Thread Tommaso Cucinotta
Hi, I'm not managing to figure out where, in the LyX code, it is decided where to put the GuiWorkArea instance into the main window (LyXView) layout. It doesn't seem to exist a .ui file for that, does it ? Thanx, bye, T. -- Tommaso Cucinotta, Computer Engineering PhD, Researcher

Re: FuncRequest/dispatch goals

2007-07-11 Thread Tommaso Cucinotta
X that you have now ? T. -- Tommaso Cucinotta, Computer Engineering PhD, Researcher ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy Tel +39 050 882 024, Fax +39 050 882 003 http://feanor.sssup.it/~tommaso

Re: FuncRequest/dispatch goals

2007-07-11 Thread Tommaso Cucinotta
little bit concerned about the meaning of its existence: shouldn't customization of a single paragraph be forbidden, in favour of customization of a style ?). Anyway, xml2xml translation will just be a matter of writing a (guess complex) transformation stylesheet. T. -- Tommaso Cuci

Re: FuncRequest/dispatch goals

2007-07-12 Thread Tommaso Cucinotta
Jean-Marc Lasgouttes ha scritto: Basically, the main stated plan for the 1.6 branch is switching our file format to some correctly formed xml. There is already some proof-of-concept code to do that in a branch. This will force us to have a more unified way to access the parameters, and I was argu

Search LyX Text Functionality.

2007-07-16 Thread Tommaso Cucinotta
Hi all, please, consider the feature request I posted to bugzilla: having an advanced search/replace functionality allowing to find/replace segments of LyX Text, including math. Initial idea description and prototype implementation patch: http://bugzilla.lyx.org/show_bug.cgi?id=3982 Patch for

Re: Search LyX Text Functionality.

2007-07-16 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: - First your patch is not complete in bugzilla, the added QSearch.{h,cpp} and QSearchAdv.{h,cpp} are missing. Please send a complete patch. Hello, I used "svn diff src lib > lyx.patch", and I didn't notice it was not adding new files to the patch. Any switch to svn

Re: Search LyX Text Functionality.

2007-07-16 Thread Tommaso Cucinotta
Richard Heck ha scritto: Yes, it doesn't actually commit anything: only svn ci will do that. svn add just registers the files with your local copy, so svn diff, etc, will see them. In fact, done. Please, find the patched patch at bug 3998. http://bugzilla.lyx.org/show_bug.cgi?id=3998 Added m

Re: Search LyX Text Functionality.

2007-07-17 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: I'll try to look at the Controller code tommorrow. Obviously, the controller was missing. Added a new patch. T.

LaTeX <-> Text

2007-07-19 Thread Tommaso Cucinotta
Hi, I'd need a way to get the LaTeX export of a text segment, generally from a DocIterator to another. Looking at the code, the single paragraph seems the finest granularity at which LaTeX export may be done easily, through the lyx::TeXOnePar() function. Also, I'd like to know if there is any fu

Re: Things we do wrong

2007-08-28 Thread Tommaso Cucinotta
onally, I will discuss the initialization phases of non-POD objects with static storage type, as well as static class members." bye, T. -- Tommaso Cucinotta, Computer Engineering PhD, Researcher ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy Tel +39 050 882 024, Fax +39 050 882 003 http://feanor.sssup.it/~tommaso

\lyxadded/deleted macros reimported as ERT ?

2007-08-31 Thread Tommaso Cucinotta
Hi, if I enable track changes, export to LaTeX and reimport to LyX, I get the \lyxadded{} and \lyxdeleted{} blocks reimported as ERT. Wouldn't it be nice if they were reimported as tracked changes ? T.

Re: Severe usability bugs in lyx 1.5

2007-09-03 Thread Tommaso Cucinotta
While scrolling with the mouse wheel any document containing either (expanded) floating pictures with big pictures or big math equation insets (i.e. occupying more than half of the vertical screen space), it is possible to notice crazy-scroll behaviours that are very annoying and make it very diff

LyX CVS/SVN diff support.

2007-09-03 Thread Tommaso Cucinotta
Hi, I'd like to know if there is any planned support to CVS/SVN diff of .lyx files. Something that shows a double-work area window with my local version on the left and the remote committed version on the right, highlighting in both work-areas the changes between the two (this might be done [ gra

Re: LyX CVS/SVN diff support.

2007-09-03 Thread Tommaso Cucinotta
Darren Freeman ha scritto: If you haven't used it, give "kompare" a go. For regular text files, it's fantastic! Actually, my preferred CVS manager is the one within Eclipse (even for articles) :-) Although this isn't the nicest solution, it gets you partway there. If you can read raw LyX you

How to compile trunk

2007-09-03 Thread Tommaso Cucinotta
Hi, I need help to compile the current trunk from SVN. Building from SVN revision 20030. ./autogen.sh && ./configure --disable-debug --disable-stdlib-debug --prefix=/usr/local/lyx-devel && make [...] Making all in po make[1]: Entering directory `/home/tommaso/lyx-devel-svn/po' make[1]: *** No r

Docked advanced search

2007-09-05 Thread Tommaso Cucinotta
Hi all, as asked by Abdel, I've just merged my patch with trunk (revision 20067) and uploaded it as attachment 2129 to bug 3998. If anyone wants to try it, the patch includes a brief tutorial in lib/doc/FindAdv.lyx. For now, it is kind of a hack/prototype that almost works (if you backward sear

LyX bugzilla and spam

2007-09-06 Thread Tommaso Cucinotta
Every post on bugzilla results in the poster e-mail clearly written on the bug page. This is not very good as it will likely increase the amount of received spam messages. Isn't it possible to obfuscate the poster/reporter address, on the bug pages (at least while browsing anonymously) ? Thanks,

Embedding LaTeX dependant packages ?

2007-09-07 Thread Tommaso Cucinotta
hat exactly is planned to be embeddable, besides external pictures ? T. -- Tommaso Cucinotta, Computer Engineering PhD, Researcher ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy Tel +39 050 882 024, Fax +39 050 882 003 http://feanor.sssup.it/~tommaso

Re: Embedding LaTeX dependant packages ?

2007-09-07 Thread Tommaso Cucinotta
file extension ? From the wiki page it would seem not. Wondering if this is going to create confusion ! T. -- Tommaso Cucinotta, Computer Engineering PhD, Researcher ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy Tel +39 050 882 024, Fax +39 050 882 003 http://feanor.sssup.it/~tommaso

Compiling with --enable-shared leads to errors.

2007-09-07 Thread Tommaso Cucinotta
ve] Error 1 make[4]: Leaving directory `/home/tommaso/lyx-devel-svn/src/frontends' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/tommaso/lyx-devel-svn/src/frontends' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tommaso/lyx-devel-svn/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/tommaso/lyx-devel-svn/src' make: *** [all-recursive] Error 1 -- Tommaso Cucinotta, Computer Engineering PhD, Researcher ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy Tel +39 050 882 024, Fax +39 050 882 003 http://feanor.sssup.it/~tommaso

Re: Compiling with --enable-shared leads to errors.

2007-09-07 Thread Tommaso Cucinotta
Infact at line 9 of src/frontends/controllers/Makefile.am: SOURCEFILES = \ Dialog.cpp \ Dialog.cpp \ [...] Don't know why, disabling shared, linking goes through, instead. T. Tommaso Cucinotta ha scritto: Hi all, when compiling with --enable-shared (that would seem a good s

Re: Compiling with --enable-shared leads to errors.

2007-09-10 Thread Tommaso Cucinotta
Same problem with the source file GuiKeySymbol.cpp in the SOURCEFILES variable of src/frontends/qt4/Makefile.am. T. Andre Poenitz ha scritto: On Fri, Sep 07, 2007 at 10:37:33PM +0200, Tommaso Cucinotta wrote: Hi all, when compiling with --enable-shared (that would seem a good switch to

Notifying users during long tasks.

2007-09-10 Thread Tommaso Cucinotta
Hi all, I'd like to know what is the most suitable way to notify users of the progress made during possibly long tasks, in LyX. The standard way would be to create a new thread, so to exit the Qt callback that started the long task, adding a progress bar or similar and updating it periodically,

Re: Notifying users during long tasks.

2007-09-11 Thread Tommaso Cucinotta
quires one of the activities to complete, then the user interaction is blocked until completition of that activity. But probably, I don't want to "use a cannon to shoot to a fly". T. -- Tommaso Cucinotta, Computer Engineering PhD, Researcher ReTiS Lab, Scuola Superiore Sant'

Re: Notifying users during long tasks.

2007-09-11 Thread Tommaso Cucinotta
wn on screen. I had once a patch that did exactly that but I can't seem to find it :-( Ok, infact the mechanism needs to be similar. Where are the points in the code where the graphics displaying activities are started and terminated/joined ? T. -- Tommaso Cucinotta, Computer Engin

Importing {\tiny ... }

2007-09-11 Thread Tommaso Cucinotta
After importing a LaTeX doc with a {\tiny some text} command within a table caption, the caption text is shown on LyX tiny, but there is no way (AFAICS) to change it to standard size. What is the LyX way of setting/unsetting \tiny, \small, \big, etc ? Using LyX 1.5.1 for Linux. T.

Re: Importing {\tiny ... }

2007-09-11 Thread Tommaso Cucinotta
Helge Hafting ha scritto: Select the tiny text Edit->Text STyle->Customized... You get a dialog - change to whatever size you need. Oops, you're right ! I opened that dialog so many times, without seeing what was just there !! On a related note, I have a similar issue with a \textsl{} within ev

No Export->LaTeX(plain) on Mac !

2007-09-12 Thread Tommaso Cucinotta
I've been told by a collegue using Mac that the release 1.5.1 on Mac does not have anymore the File->Export->LaTeX (plain) menu voice, but only the File->Export->Custom->LaTeX (plain), where he is asked to enter a mysterious program name. Is that a bug ? Anyone can confirm (I don't have a Mac) ?

Master Preview

2007-09-13 Thread Tommaso Cucinotta
Hi all, the attached patch adds the LFUN_MASTER_PREVIEW command ("master-preview"), triggered through the C-M-t binding (with the "ps" argument). When run from a child document, this command shows a preview built from the master buffer. If a master is not found, it previews the current buffer. I

Re: Master Preview

2007-09-13 Thread Tommaso Cucinotta
Bo Peng ha scritto: It is useful, but it is not so difficult to switch to the master buffer and generate preview from there. We already have many items under the View menu, and a shortcut-only hidden feature is not that appealing. Just a note: when you're about to finish an article, often you

View Menu proposal (was: Re: Master Preview)

2007-09-13 Thread Tommaso Cucinotta
Bo Peng ha scritto: [...] We already have many items under the View menu, and a shortcut-only hidden feature is not that appealing. Also, let me propose some rework of the View menu (independently from the master-buffer-view being accepted or not): View +- Zoom | +- Increase 20% (C-+) | +-

Re: Master Preview

2007-09-13 Thread Tommaso Cucinotta
Jean-Marc Lasgouttes ha scritto: Tommaso Cucinotta <[EMAIL PROTECTED]> writes: On a related note, what about implementing the C-Tab shortcut almost standard on multi-document editors (cycle through open buffers). We have Ctrl-PageUp/Down for that. C-Tab is often used by other

Re: Master Preview

2007-09-14 Thread Tommaso Cucinotta
Martin Vermeer ha scritto: Does the window manager intercept it? \bind "C-Tab""buffer-next" I don't think so. LyX says "Disabled command" then I type it. T.

Re: View Menu proposal

2007-09-14 Thread Tommaso Cucinotta
Jean-Marc Lasgouttes ha scritto: Assumption: It is possible to detect whether the most recent preview is still open. (See first assumption, I believe this is implied by that.) Unfortunately, this is not really the case in general. This is why we have two different actions. Is there a li

Re: Master Preview

2007-09-15 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: Bo Peng wrote: No. The whole idea of separating chapters from a book is that I can compile and view the chapters *quicker*. I do not want to compile the whole book when I am working on a chapter. Here, I actually agree with Bo. When you separate chapters/sections,

Re: Master Preview

2007-09-15 Thread Tommaso Cucinotta
Richard Heck ha scritto: I've had the same idea. The mechanism would presumably be a "master document" setting in Document>Settings, which would identify the master document. This would be similar to AucTeX, that writes (automatically) into the child a (commented) reference to the master, what

Re: tex as lyx native file format

2007-09-15 Thread Tommaso Cucinotta
Roberto Franceschini ha scritto: Can make LyX work with TEX files as native document format? You may easily write, as I did, a script that converts a .tex file to the LyX format into a temporary folder, opens it with LyX, and, once you close the program, exports it back to .tex overwriting yo

Re: tex as lyx native file format

2007-09-15 Thread Tommaso Cucinotta
Paul A. Rubin ha scritto: it would help if the LaTeX to LyX conversion were more robust. So, is there a wiki page on TODO items for the tex<->lyx conversions ? T.

What is offset_ref_ ?

2007-09-15 Thread Tommaso Cucinotta
Hi, I couldn't really understand what information is stored inside the BufferView.offset_ref_ variable. At a first glance, it would seem that anchor_ref_ stores the "paragraph offset" that is displayed from the WorkArea top line, and offset_ref_ stores the "pixel offset". Namely, the top WorkArea

Re: What is offset_ref_ ?

2007-09-16 Thread Tommaso Cucinotta
And, what about ParagraphMetrics.position_, ascent and discent ? Ok, they're y coords, they represent the paragraph vertical dimension and position, but I couldn't really figure out what are they relative to, and why I always see in the code *) position()-ascent() *) position()+descent() Thanx a

Re: What is offset_ref_ ?

2007-09-16 Thread Tommaso Cucinotta
Pavel Sanda ha scritto: btw i'm trying to catch such threads and put them into http://wiki.lyx.org/Devel/Diagrams . Great. Also, the (reference point of the) return value of buffer_view::coordOffset() and buffer_view::getPos(), and the role of BufferView.wh_ would complete the picture. Gue

Re: View Menu proposal

2007-09-17 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: It is just a matter of implementing it... Why don't you just start from embedding the patch I sent you for the LFUN + not-so-definitive key bindings ? It's just a few lines of harmless code. The GUI part might be addressed later (and I could take care of doing it,

Re: View Menu proposal

2007-09-17 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: Tommaso Cucinotta wrote: Why don't you just start from embedding the patch I sent you for the LFUN + not-so-definitive key bindings ? It's just a few lines of harmless code. Which one? Here you go. T. Index: src/LyX

Re: View Menu proposal

2007-09-19 Thread Tommaso Cucinotta
Richard Heck ha scritto: OK. Tommaso, do you want to commit this, then? I can do it Thursday if you don't have time. And Jurgen, what about branch? I have only read-access to your svn repository, so far. So, either you commit it by yourself, or sb. should give me write permissions so that I can

Re: View Menu proposal

2007-09-20 Thread Tommaso Cucinotta
Richard Heck ha scritto: By the way, Tommaso, if you haven't already done so, can you send a note to the list saying you agree to license your contributions to LyX under GPL? Of course I do, it was in the Developers' documentation rules ("either you agree with licensing your contribution under

Re: View Menu proposal

2007-09-20 Thread Tommaso Cucinotta
ty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Bye, Tommaso Cucinotta -- Tommaso Cucinotta, Computer Engineering PhD, Researcher ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy Tel +39 050 882 024, Fax +39 050 88

Re: Slowness - in the main window

2007-09-26 Thread Tommaso Cucinotta
Helge Hafting ha scritto: what OS are you running ? pavel Probably, it is more interesting to know what CPU and/or graphic adapter. I can't see so much slowness on my Ubuntu Fesity. Running on a laptop with a NVIDIA GeForce Go 6200 card and this CPU: processor : 0 vendor_id : Genuin

Re: [Patch] Bug 2739 - Alphabetical sort of environments in the toolbar

2007-09-27 Thread Tommaso Cucinotta
Pavel Sanda ha scritto: hi, one thing which is annoying for me when working with lyx is lenghty locating of a given environement in environment box for certain classes which have many items, even more that i usually use only few of these items. now i have working skeleton for bug 2739, which in

Re: r20513 - in /lyx-devel/trunk/src/frontends/qt4: Dialogs.c...

2007-09-27 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Do you use routinely different line spacings on different paragraphs? Me no but I do know some people that do. Wether docked or dialogged, may I suggest having another checkbox out there sa

Re: r20513 - in /lyx-devel/trunk/src/frontends/qt4: Dialogs.c...

2007-09-28 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: Wether docked or dialogged, may I suggest having another checkbox out there saying something like "Automatically update style", personally to be preferenced as checked by default ? If I understood you correctly this is already done by the new "Immediate Apply" check

Re: About work area embedded in a dialog

2007-10-06 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: I would say "for having more workarea widgets around". Probably, whether embedded into dialogs, toolbars or tab panes is not that important. Yes, we also want split views but I see the two kinds as separate. I have plans to implement split view but not as an embedde

Re: About work area embedded in a dialog

2007-10-06 Thread Tommaso Cucinotta
Edwin Leuven ha scritto: Abdelrazak Younes wrote: For advance search&replace. The idea would be that you can search for a chunk of text containing insets (including math or charstyle) and could replace it with another text containing insets. Clearer? so the idea is to replace qt's line edit

Show changes in output broken on 1.5.1.

2007-10-06 Thread Tommaso Cucinotta
I don't know if you already knew: if I disable "show changes in output", that I guess would be supposed to not show changes in ps/pdf previews, I get the changes anycase. Unless I misinterpreted the functionality of that button/menu voice. LyX 1.5.1 @ Linux Ubuntu Feisty. T.

Re: Show changes in output broken on 1.5.1.

2007-10-06 Thread Tommaso Cucinotta
Jürgen Spitzmüller ha scritto: Probably you misinterpreted this. "Show changes" shows the change tracking marks (red/blue struckout etc.), whereas if you disable this, you get the result without change tracking marks, as if you'd already accepted all changes. Ok, it was indeed what I was ex

Support for environments options ?

2007-10-06 Thread Tommaso Cucinotta
Is there any planned support for environment optional arguments ? For example, after a \newtheorem, it is allowed in LaTeX: \begin{thm}[Main Theorem] ... \end{thm} \begin{thm}[Secondary Theorem] ... \end{thm} As I'm not an expert, I don't know what other environments currently mapped to Ly

Re: Support for environments options ?

2007-10-06 Thread Tommaso Cucinotta
Paul A. Rubin ha scritto: The way I enter an optional argument (when one is allowed) is to open the minibuffer (M-x or View -> Toolbars -> Command buffer) and type the command 'optional-insert'. Great ! Exactly what I was needing. Probably my fault for not having read throughly the user manual.

Re: Support for environments options ?

2007-10-07 Thread Tommaso Cucinotta
Paul A. Rubin ha scritto: Short of a context-sensitive menu entry that tells you what specific optional arguments are available for the current environment, I'm not sure there's a better way to guide that naive user. Ok, "optional argument" seems too LaTeX-concept, in that the user would be sup

<    1   2   3   4   5   6   7   8   9   10   >