Re: Preview musings (and a question about pnmcrop)

2024-08-16 Thread José Matos
On Fri, 2024-08-16 at 10:10 +0100, José Matos wrote: > Question: > Does anyone have a reason to keep the current two stages process? The new code becomes simply: def crop_files(pnmcrop, basename): for file in glob.glob(f"{basename}*.ppm"): tmp = tempfile.TemporaryFile() conv_c

Re: Preview musings (and a question about pnmcrop)

2024-08-16 Thread José Matos
On Fri, 2024-08-16 at 10:10 +0100, José Matos wrote: > Hi, >   my main focus now is to try to clean the python scripts that we > use. One question that I noticed while searching for this. Is it possible now to use preview when using minted? minted requires to invoke LaTeX with the -she

Preview musings (and a question about pnmcrop)

2024-08-16 Thread José Matos
Hi, my main focus now is to try to clean the python scripts that we use. Musing: I need to look immediately into the preview stuff since I found that in python 3.13 the pipe module is gone (it is a small wrap around os.popen). The only place where we use it to call consecutively pnmcrop with

Re: #13082: Tools | Preferences | Look & Feel | Display graphics | Preview size box doesn't show the number

2024-07-08 Thread David Cardon
Yes. Changing the theme fixes the problem. It seems that the "windows11" theme is the only one with this issue. On Mon, Jul 8, 2024 at 4:49 PM LyX Ticket Tracker wrote: > #13082: Tools | Preferences | Look & Feel | Display graphics | Preview > size box >

Re: Math preview failure in UserGuide

2024-07-02 Thread Jürgen Spitzmüller
legacy route might make sense here actually. Also, we have eps files here (although corrupted ones). What we probably should do (and I wonder why we don't do this anyway) is to stop the process if latex in preview generation errors out. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.l

Math preview failure in UserGuide

2024-07-02 Thread Jean-Marc Lasgouttes
12, file lyxpreviewjVAhXp.012 Warning: epstopdf failed on page 13, file lyxpreviewjVAhXp.013 What heppened? Well, if I understand correctly, the preview cannot be generated because of the too clever trick in section 6.9 Branches, where branches are used to declare macros. Of course, the preview

Re: Preview use dvipng when the document use pdflatex

2024-06-10 Thread Udicoudco
On Sun, Jun 9, 2024 at 1:35 PM Udicoudco wrote: > > > On Sun, Jun 9, 2024 at 11:09 AM Udicoudco wrote: > >> Is there any particular reason why preview use dvi mode when the document >> is configured >> to use pdfmode with pdftex? For example, the attached compiles

Re: [LyX/master] missing background in xetex and fix RTL stuff in preview

2024-06-09 Thread Richard Kimberly Heck
On 6/9/24 07:05, Udicoudco wrote: On Sun, Jun 9, 2024 at 1:55 PM Udi-Fogiel wrote: commit 64aad586f49b9047082356e5f217fc6147ac9500 Author: Udi-Fogiel Date: Sun Jun 9 13:36:35 2024 +0300 missing background in xetex and fix RTL stuff in preview * previwes with xetex did not

Re: [LyX/master] missing background in xetex and fix RTL stuff in preview

2024-06-09 Thread Udicoudco
On Sun, Jun 9, 2024 at 1:55 PM Udi-Fogiel wrote: > > commit 64aad586f49b9047082356e5f217fc6147ac9500 > Author: Udi-Fogiel > Date: Sun Jun 9 13:36:35 2024 +0300 > > missing background in xetex and fix RTL stuff in preview > > * previwes with xetex did no

Re: Preview use dvipng when the document use pdflatex

2024-06-09 Thread Udicoudco
On Sun, Jun 9, 2024 at 11:09 AM Udicoudco wrote: > Is there any particular reason why preview use dvi mode when the document > is configured > to use pdfmode with pdftex? For example, the attached compiles fine but > the preview fails > Actually it looks like this situation was

Preview use dvipng when the document use pdflatex

2024-06-09 Thread Udicoudco
Is there any particular reason why preview use dvi mode when the document is configured to use pdfmode with pdftex? For example, the attached compiles fine but the preview fails Udi newfile1.lyx Description: application/lyx -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-19 Thread Pavel Sanda
On Sat, May 18, 2024 at 12:45:11PM +0200, Jürgen Spitzmüller wrote: > > Suggestion: It may be useful to indicate in the LyX wiki > > https://wiki.lyx.org/LyX/InstantPreview that suffix.sty and > > cprotect.sty are additionally needed for Instant Preview to work. > > Don&

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-19 Thread Jürgen Spitzmüller
Am Samstag, dem 18.05.2024 um 20:00 +0100 schrieb José Matos: > But, for example, to correctly > compile the User Guide what is the list of latex dependencies? The User Guide loads these, but of course, other docs will require other packages: *File List* scrbook.cls2023/07/07 v3.41 KOMA-Scr

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-18 Thread José Matos
On Sat, 2024-05-18 at 12:45 +0200, Jürgen Spitzmüller wrote: > Don't know about suffix, but cprotect should probably by a > requirement for LyX now generally. I am sorry for asking this again. I am not sure if we had discussed this before. As a packager, for Fedora, I would like to be able to exa

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-18 Thread Jürgen Spitzmüller
hing > in lyxpreview2bitmap.py has changed between versions, but I’m not > sure. Support for cprotect is new in 2.4.0. This is not (only) relevant to preview, it is used in cases where arguments of macros might break. > Suggestion: It may be useful to indicate in the LyX wiki > https://wiki.lyx.o

Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-18 Thread fcanatay
Replace uses of >>> missing font family "Serif" with one that exists to avoid this cost. >>> Warning: Failed: dvips lyxpreviewZhflDz.dvi ... looking for PDF >>> Error: Failed to extract metrics info from lyxpreviewZhflDz.log >> >> Something is wrong h

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-17 Thread fcanatay
mily "Serif" with one that exists to avoid this cost. >> Warning: Failed: dvips lyxpreviewZhflDz.dvi ... looking for PDF >> Error: Failed to extract metrics info from lyxpreviewZhflDz.log > > Something is wrong here. The "Failed" warning is why the preview is

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-17 Thread Richard Kimberly Heck
quot; with one that exists to avoid this cost. Warning: Failed: dvips lyxpreviewZhflDz.dvi ... looking for PDF Error: Failed to extract metrics info from lyxpreviewZhflDz.log Something is wrong here. The "Failed" warning is why the preview is failing. Try running:     lyx -dbg grap

Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-17 Thread fcanatay
> Le 10/05/2024 à 18:16, fcanatay at gmail.com a écrit : > > Yes, I still have the issue. I am attaching a screencast, recorded on M2 > > Mac with fresh install of version 2.4.0~RC4 after deleting all user-defined > > preferences from previous version. > > Thanks for the very clear screencast. I

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-16 Thread Stephan Witt
> Am 15.05.2024 um 23:35 schrieb Jean-Marc Lasgouttes : > > Le 10/05/2024 à 18:16, fcana...@gmail.com a écrit : >> Yes, I still have the issue. I am attaching a screencast, recorded on M2 Mac >> with fresh install of version 2.4.0~RC4 after deleting all user-defined >> preferences from previous

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-15 Thread Jean-Marc Lasgouttes
Le 10/05/2024 à 18:16, fcana...@gmail.com a écrit : Yes, I still have the issue. I am attaching a screencast, recorded on M2 Mac with fresh install of version 2.4.0~RC4 after deleting all user-defined preferences from previous version. Thanks for the very clear screencast. I am still not able

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-02 Thread Jean-Marc Lasgouttes
(on Mac, Apple silicon) instant preview of math formulas stops working when a figure or table float or comment is inserted, and works again when these are removed. Here are the steps to reproduce the behavior: 1. Launch LyX 2.4.0 and start a new document using toolbar or menu. 2. Type some math

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-02 Thread Jean-Marc Lasgouttes
(on Mac, Apple silicon) instant preview of math formulas stops working when a figure or table float or comment is inserted, and works again when these are removed. Here are the steps to reproduce the behavior: 1. Launch LyX 2.4.0 and start a new document using toolbar or menu. 2. Type some math

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-04-21 Thread Jürgen Spitzmüller
Am Sonntag, dem 21.04.2024 um 23:22 +0300 schrieb fcana...@gmail.com: > 1. Launch LyX 2.4.0 and start a new document using toolbar or menu. > 2. Type some math and observe instant preview is working. > 3. Insert either a Comment or Figure Float or Table Float (need not > be filled in

Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-04-21 Thread fcanatay
Greetings. I’m currently trying out LyX 2.4 RC4 and it is absolutely fantastic! Excellent work by the development team! There is one issue I haven’t found in bug reports, so I hope it is appropriate mentioning it here. With LyX 2.4.0~RC4 (on Mac, Apple silicon) instant preview of math

Re: LyX v2.4.0 RC4 -> Math preview weirdness?

2024-04-18 Thread Andrew Parsloe
On 19/04/2024 2:42 am, Bernt Lie wrote: I have a big document (lecture notes) where I **think** I have managed to convert it to v2.4.0 format. I have set property Instant preview to **on**. I observe the following when I have saved and re-open the document: Remarks: * Inline math is

Re: windows preview bug fix

2024-03-12 Thread Jürgen Spitzmüller
Am Dienstag, dem 12.03.2024 um 13:23 +0200 schrieb Idan Pazi: > I hereby grant a permission for all of my contributions to LyX to be > licensed under the GPL version 2 or later. Thanks, I committed your patch. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mail

Re: windows preview bug fix

2024-03-12 Thread Idan Pazi
I hereby grant a permission for all of my contributions to LyX to be licensed under the GPL version 2 or later. Thank you, Idan Pazi -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: windows preview bug fix

2024-03-12 Thread José Matos
On Tue, 2024-03-12 at 10:37 +0100, Jürgen Spitzmüller wrote: > If nobody beats me to it, I will do it. Thank you Jürgen, I am busy with other issues. Best regards, -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: windows preview bug fix

2024-03-12 Thread Jürgen Spitzmüller
Am Sonntag, dem 10.03.2024 um 14:52 -0400 schrieb Richard Kimberly Heck: > On 3/8/24 04:19, Jürgen Spitzmüller wrote: > > Am Samstag, dem 02.03.2024 um 19:49 + schrieb José Matos: > > > After our exchange last week I feel inclined to apply this. > > > > > > I am still note sure that this is th

Re: windows preview bug fix

2024-03-10 Thread Richard Kimberly Heck
On 3/8/24 04:19, Jürgen Spitzmüller wrote: Am Samstag, dem 02.03.2024 um 19:49 + schrieb José Matos: After our exchange last week I feel inclined to apply this. I am still note sure that this is the right step but clearly it improves the code regarding the previous one. Does any one oppose

Re: windows preview bug fix

2024-03-08 Thread Jürgen Spitzmüller
Am Samstag, dem 02.03.2024 um 19:49 + schrieb José Matos: > After our exchange last week I feel inclined to apply this. > > I am still note sure that this is the right step but clearly it > improves the code regarding the previous one. > > Does any one opposes to this action? My suggestion w

Re: windows preview bug fix

2024-03-02 Thread José Matos
On Fri, 2024-02-16 at 15:23 +0200, Idan Pazi wrote: > Encountered the following bug (windows 10, python 3.12) - preview of > math fails: > >  graphics\PreviewLoader.cpp (2ef): > > PreviewLoader::finishedInProgress(1): processing failed for py -3 - > > tt $$s/scripts/ly

Re: windows preview bug fix

2024-02-24 Thread José Matos
On Sat, 2024-02-24 at 21:51 +0100, Enrico Forestieri wrote: > Wanting to be very safe, we could use te chardet library for > performing the correct conversion, but if the above is the standard > with python 3 on windows I don't think it is necessary. In [1]: help(str) ... str(object='') -> str str

Re: windows preview bug fix

2024-02-24 Thread Enrico Forestieri
On Sat, Feb 24, 2024 at 01:17:56PM +0200, Idan Pazi wrote: I have sys.flags.utf8_mode = 0. I assume everything is utf8, but I don't think the problem is about finding the right encoding. On the contrary, it is necessary to know the initial encoding of a bytes object for converting it to unic

Re: windows preview bug fix

2024-02-24 Thread Idan Pazi
I have sys.flags.utf8_mode = 0. I assume everything is utf8, but I don't think the problem is about finding the right encoding. win32file.ReadFile returns bytes, which cannot be added (+) to a string (see data = "" at line 162). Assume that on some cases it returns a string, then this patch won'

Re: windows preview bug fix

2024-02-23 Thread José Matos
On Sat, 2024-02-17 at 10:41 +0100, Enrico Forestieri wrote: > On Fri, Feb 16, 2024 at 03:28:25PM +, José Matos wrote: > > > > On Fri, 2024-02-16 at 15:23 +0200, Idan Pazi wrote: > > > > > > Apparently, the returned value from win32file.ReadFile should be > > > converted to a string.  > > > >

Re: windows preview bug fix

2024-02-17 Thread Enrico Forestieri
On Fri, Feb 16, 2024 at 03:28:25PM +, José Matos wrote: On Fri, 2024-02-16 at 15:23 +0200, Idan Pazi wrote: Apparently, the returned value from win32file.ReadFile should be converted to a string.  Fix patch attached. Thank you, Idan What is the encoding of the bytes? Is it UTF8? If so

Re: windows preview bug fix

2024-02-16 Thread José Matos
On Fri, 2024-02-16 at 15:23 +0200, Idan Pazi wrote: > > Apparently, the returned value from win32file.ReadFile should be > converted to a string.  > Fix patch attached. > Thank you, Idan What is the encoding of the bytes? Is it UTF8? If so the patch look right. @Enrico, what do you think? --

windows preview bug fix

2024-02-16 Thread Idan Pazi
Encountered the following bug (windows 10, python 3.12) - preview of math fails: graphics\PreviewLoader.cpp (2ef): PreviewLoader::finishedInProgress(1): processing failed for py -3 -tt $$s/scripts/lyxpreview2bitmap.py --png "C:/Users/idank/AppData/Local/Temp/lyx_tmpdir.mzhGYGTpQcAc/lyx_tm

Re: Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-23 Thread Dr Eberhard Lisse
There is the latexdiff tool, but I do not know if it works on WIidoze. el On 2024-01-22 23:13 , Jean-Marc Lasgouttes wrote: [...] > Different font, maybe ? Do you have the possibility to find what is the > difference between 2.4 LaTeX output and 2.3 LaTeX output ? [...] -- lyx-devel mailing li

Re: Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-23 Thread Dr Eberhard Lisse
Didier, which export are you using? I like pdf5 (lualatex which is powerful and slow'ish) and then there is pdf4 (pdflatex). el On 2024-01-22 22:41 , didiergab...@free.fr wrote: > Hi, > > Compared to version 2.3.7 and from the default settings the > difference is obvious. The PDF (graphic) opti

Re: Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-22 Thread Richard Kimberly Heck
On 1/22/24 17:05, didiergab...@free.fr wrote: @José Matos I notice that the images included in the text thread do not go through… Here it is as an attachment I think I got the image the first time. It may be that they do not show up in the archive. Riki -- lyx-devel mailing list lyx-deve

Re: Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-22 Thread didiergabory
@José Matos I notice that the images included in the text thread do not go through… Here it is as an attachment -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-22 Thread didiergabory
@ José Matos - Mail original - I also realize that I can no longer load images whose names contain accents. In any case, that’s what’s happening with the file I just sent you. If I rename the file: SchemaCinematique.pdf to SchemaCinématique.pdf then I can read “Error converting to a

Re: Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-22 Thread didiergabory
I also realize that I can no longer load images whose names contain accents. In any case, that’s what’s happening with the file I just sent you. If I rename the file: SchemaCinematique.pdf to SchemaCinématique.pdf then I can read “Error converting to a readable format.” Thanks for your patience…

Re: Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-22 Thread José Matos
On Mon, 2024-01-22 at 22:24 +0100, didiergab...@free.fr wrote: > Thank you for your reply. > > I also noticed on this occasion that the export to a Lyx archive does > not work… > I have the following error message (see screenshot) What do you get when you do "Help->About LyX", in French it should

Re: Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-22 Thread Jean-Marc Lasgouttes
Le 22/01/2024 à 21:41, didiergab...@free.fr a écrit : Hi, Compared to version 2.3.7 and from the default settings the difference is obvious. The PDF (graphic) option is set to pdfview... But by changing the parameters (custom, default system...) It's still just as ugly... On the other hand, t

Re: Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-22 Thread Richard Kimberly Heck
On 1/22/24 15:48, didiergab...@free.fr wrote: Hi, Compared to version 2.3.7 and from the default settings the difference is obvious. The PDF (graphic) option is set to pdfview... But by changing the parameters (custom, default system...) It's still just as ugly... On the other hand, the pdflat

Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-22 Thread didiergabory
Hi, Compared to version 2.3.7 and from the default settings the difference is obvious. The PDF (graphic) option is set to pdfview... But by changing the parameters (custom, default system...) It's still just as ugly... On the other hand, the pdflatex export is very good. This is an installa

Poor PDF preview quality - LyX 2.4.0, Release Candidate 1

2024-01-22 Thread didiergabory
Hi, Compared to version 2.3.7 and from the default settings the difference is obvious. The PDF (graphic) option is set to pdfview... But by changing the parameters (custom, default system...) It's still just as ugly... On the other hand, the pdflatex export is very good. This is an installati

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-09-04 Thread Scott Kostyshak
On Mon, Sep 04, 2023 at 08:57:38PM +0100, José Matos wrote: > On Mon, 2023-09-04 at 21:50 +0200, Pavel Sanda wrote: > > Tested, works, committed. Pavel > > Thank you. Thanks, José! Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.ly

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-09-04 Thread José Matos
On Mon, 2023-09-04 at 21:50 +0200, Pavel Sanda wrote: > Tested, works, committed. Pavel Thank you. -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-09-04 Thread Pavel Sanda
On Mon, Sep 04, 2023 at 07:47:04PM +0100, José Matos wrote: > What about this change? With the attached patch I get: Tested, works, committed. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-09-04 Thread José Matos
On Wed, 2023-01-18 at 11:13 -0500, Scott Kostyshak wrote: > On Wed, Jan 18, 2023 at 08:45:22AM +, José Matos wrote: > > > Python detected: python3 -tt > > > > Thinking aloud... here we could also output the Python version, for > > consistency sake... > > +1 > > Scott What about this change

Preview error on removing last row of table

2023-08-29 Thread Andrew Parsloe
Version 2.4.0-beta3-devel (Sunday, 11 December 2022) Qt Version (run-time): 6.5.1 on platform windows Put a small table inside a preview inset, move the cursor outside the inset and wait for the preview to form. Now delete the last row of the table by clicking the icon or Alt+M W D and move

Re: Windows-specific Python Packages and Preview

2023-03-14 Thread Yu Jin
big deal either. >> >> >> So what would you say? Is pywin32 needed or do I skip it? >> >> Did you see my message about what this is supposed to do? Suppress >> certain windows (terminals, I guess) from appearing when we're doing >> certain things? I

Windows-specific Python Packages and Preview

2023-03-12 Thread Richard Kimberly Heck
ndows are. If the answer is "not very", then maybe it isn't worth the trouble. Yeah I could test that as well, I just don't know what those "certain things" are, what should I do for testing? It would presumably involve the scripts where these modules are called.

Beta 2 Preview

2023-01-24 Thread Richard Kimberly Heck
Source and binaries for LyX 2.4 Beta 2 are now available here: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/ These are provided for testing purposes only. That said, many of the developers (including me) have been using 2.4 for daily work, without serious problems. But you should expect some bugs,

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-22 Thread Richard Kimberly Heck
On 1/22/23 13:37, José Matos wrote: On Sun, 2023-01-22 at 11:46 +, José Matos wrote: This is not a difficult problem but it takes time to get all the packages right. It would be nice to have an automatic way to do this but for now I settled for the manual solution. @Riki since you also use

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview

2023-01-22 Thread Neal Becker
On Sun, Jan 22, 2023 at 2:47 PM Eric Barkan wrote: > As requested, I've compiled the user guide with 2.4.0-beta2 on Fedora 37. > The compile succeeds and the resulting PDF looks perfect, at least on a > quick scan-through. However, I noticed that instant preview is not wor

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview

2023-01-22 Thread Eric Barkan
As requested, I've compiled the user guide with 2.4.0-beta2 on Fedora 37. The compile succeeds and the resulting PDF looks perfect, at least on a quick scan-through.  However, I noticed that instant preview is not working for the UserGuide.lyx file, similarly to my originally posted bug

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-22 Thread José Matos
On Sun, 2023-01-22 at 11:46 +, José Matos wrote: > This is not a difficult problem but it takes time to get all the > packages right. It would be nice to have an automatic way to do this > but for now I settled for the manual solution. @Riki since you also use Fedora, but this also applies to

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-22 Thread José Matos
f latex packages Recommends: texlive-collection-latexrecommended # required for file conversions Requires: ImageMagick Requires: xdg-utils Requires: ghostscript ## produce PDF files directly from DVI files Requires: tex-dvipdfmx ## convert eps to pdf Requires: tex-epstopdf ## checking the quality o

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-21 Thread Eric Barkan
Error: No DVI or PDF output. latex failed." is printed after each attempt to preview by clicking in and out of an equation. I am sorry for the slow responses still dealing with the last bits of the first semester here. First there is a remark that needs to be done. Since lyx-devel uses

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-21 Thread Neal Becker
o, I've tried running beta-2 from a terminal and I find that > > "Error: > > No DVI or PDF output. latex failed." is printed after each attempt to > > preview by clicking in and out of an equation. > > I am sorry for the slow responses still dealing with th

Re: 2.4beta1 no math preview

2023-01-21 Thread Neal Becker
On Sat, Jan 21, 2023 at 11:17 AM José Matos wrote: > On Thu, 2023-01-19 at 17:55 -0500, Neal Becker wrote: > > Now on version 2.4.0-beta2, still no math preview. > > > > Version 2.4.0-beta2 > > (Sunday, December 11, 2022) > > > > Qt Version (run-time)

Re: 2.4beta1 no math preview

2023-01-21 Thread José Matos
On Thu, 2023-01-19 at 17:55 -0500, Neal Becker wrote: > Now on version 2.4.0-beta2, still no math preview. > > Version 2.4.0-beta2 > (Sunday, December 11, 2022) > > Qt Version (run-time): 5.15.8 on platform xcb > Qt Version (compile-time): 5.15.8 > OS Version (ru

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-21 Thread José Matos
15.8 > OS Version (run-time): Fedora Linux 37 (Thirty Seven) > Python detected: python3 -tt > > Python --version gives "Python 3.11.1" > > Also, I've tried running beta-2 from a terminal and I find that > "Error: > No DVI or PDF output. latex failed."

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-19 Thread Eric Barkan
alled lyx-devel-beta2 from the jamatos repo using dnf.  The install went cleanly including basic dependencies. Loading my test files into LyX I found preview inoperative, but fixed this by installing the tex-preview package and reconfiguring (possible dependency for tex-preview?). Preview now

Re: 2.4beta1 no math preview

2023-01-19 Thread Neal Becker
'm testing 2.4beta1 fedora 37 from name=Copr repo for lyx-devel >>> > owned by jamatos. >>> > >>> > In 2.4beta1 choosing tools/preferences/look+feel/display/instant- >>> > preview (on) doesn't seem to do anything. >>> > >&g

Re: 2.4beta1 no math preview

2023-01-19 Thread Neal Becker
tos. >> > >> > In 2.4beta1 choosing tools/preferences/look+feel/display/instant- >> > preview (on) doesn't seem to do anything. >> > >> > I should add that in 2.3.6 I never got math preview to work either, >> > but it has a different problem

Re: 2.4beta1 no math preview

2023-01-19 Thread Neal Becker
On Thu, Jan 19, 2023 at 8:35 AM José Matos wrote: > On Thu, 2023-01-19 at 08:17 -0500, Neal Becker wrote: > > I'm testing 2.4beta1 fedora 37 from name=Copr repo for lyx-devel > > owned by jamatos. > > > > In 2.4beta1 choosing tools/preferences/look+feel/display/i

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-19 Thread Eric Barkan
6_64 using dnf. The program starts and functions normally as far as I can tell, except for the instant preview problem described below. This same system has lyx-2.3.7-1.fc37 also installed and seeming to work perfectly.  Specifically, this bug  does NOT occur on the 2.3.7 installation. That is

Re: 2.4beta1 no math preview

2023-01-19 Thread José Matos
On Thu, 2023-01-19 at 08:17 -0500, Neal Becker wrote: > I'm testing 2.4beta1 fedora 37 from name=Copr repo for lyx-devel > owned by jamatos. > > In 2.4beta1 choosing tools/preferences/look+feel/display/instant- > preview (on) doesn't seem to do anything. > > I s

2.4beta1 no math preview

2023-01-19 Thread Neal Becker
I'm testing 2.4beta1 fedora 37 from name=Copr repo for lyx-devel owned by jamatos. In 2.4beta1 choosing tools/preferences/look+feel/display/instant-preview (on) doesn't seem to do anything. I should add that in 2.3.6 I never got math preview to work either, but it has a different prob

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-18 Thread Scott Kostyshak
On Wed, Jan 18, 2023 at 08:45:22AM +, José Matos wrote: > Python detected: python3 -tt > > Thinking aloud... here we could also output the Python version, for > consistency sake... +1 Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-18 Thread José Matos
On Wed, 2023-01-18 at 08:45 +, José Matos wrote: > What do you get from Help -> About LyX, in the Version tab you have > an > option to "Copy Version Info". In my case I have: > > Version 2.4.0-beta2 > (Sunday, 11 December 2022) FWIW, and unrelated to this case it would be also probably nice

Re: 2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-18 Thread José Matos
el repository for Fedora 37 X86_64 using dnf.  > The program starts and functions normally as far as I can tell, > except for the instant preview problem described below. > This same system has lyx-2.3.7-1.fc37 also installed and seeming to > work perfectly.  Specifically, this bug

2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

2023-01-17 Thread Eric Barkan
ly as far as I can tell, except for the instant preview problem described below. This same system has lyx-2.3.7-1.fc37 also installed and seeming to work perfectly. Specifically, this bug  does NOT occur on the 2.3.7 installation. Bug Description: Inclusion of a float inset in a .lyx file pre

Re: Propose pdflatex as default for preview

2022-10-12 Thread Dr Eberhard Lisse
>>> The reason is probably that the created lyxpreviewXX.dvi-file seems to >>> contain >>> invalid entries, so the (from dvips) created eps files are not readable >>> with gs. >>> >>> The simple change in src/graphics/PreviewLoader.cpp cures

Re: Propose pdflatex as default for preview

2022-10-11 Thread Kornel Benko
dable with > >gs. > > > >The simple change in src/graphics/PreviewLoader.cpp cures the preview. > >(Not changed the comments yet though) > > I am against for the reasons explained in bug 9371. Sometimes external > software introduces regressions and those should

Re: Propose pdflatex as default for preview

2022-10-11 Thread Enrico Forestieri
son is probably that the created lyxpreviewXX.dvi-file seems to contain invalid entries, so the (from dvips) created eps files are not readable with gs. The simple change in src/graphics/PreviewLoader.cpp cures the preview. (Not changed the comments yet though) I am against for the reasons e

Propose pdflatex as default for preview

2022-10-11 Thread Kornel Benko
to contain invalid entries, so the (from dvips) created eps files are not readable with gs. The simple change in src/graphics/PreviewLoader.cpp cures the preview. (Not changed the comments yet though) Kornel diff --git a/src/graphics/PreviewLoader.cpp b/src/graphics/PreviewLoader.

Re: Enable editing in preview pane for "LyX" format?

2021-12-15 Thread Scott Kostyshak
On Wed, Dec 15, 2021 at 04:53:37PM -0500, Richard Kimberly Heck wrote: > On 12/15/21 12:05, Pavel Sanda wrote: > > On Wed, Dec 15, 2021 at 10:13:33AM -0500, Scott Kostyshak wrote: > > > We have the option to show the LyX format in the preview window. We also > > > have

Re: Enable editing in preview pane for "LyX" format?

2021-12-15 Thread Richard Kimberly Heck
On 12/15/21 12:05, Pavel Sanda wrote: On Wed, Dec 15, 2021 at 10:13:33AM -0500, Scott Kostyshak wrote: We have the option to show the LyX format in the preview window. We also have the functionality to reload a LyX document (e.g., if it is changed externally). Would it be reasonable to allow

Re: Enable editing in preview pane for "LyX" format?

2021-12-15 Thread Richard Kimberly Heck
On 12/15/21 10:24, Thibaut Cuvelier wrote: In terms of reloading, I think it would be better to have the possibility to reload layouts when they are changed, This can be done already: LFUN_LAYOUT_RELOAD. Riki -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/l

Re: Enable editing in preview pane for "LyX" format?

2021-12-15 Thread Pavel Sanda
On Wed, Dec 15, 2021 at 10:13:33AM -0500, Scott Kostyshak wrote: > We have the option to show the LyX format in the preview window. We also > have the functionality to reload a LyX document (e.g., if it is changed > externally). Would it be reasonable to allow editing of the LyX format

Re: Enable editing in preview pane for "LyX" format?

2021-12-15 Thread Thibaut Cuvelier
On Wed, 15 Dec 2021 at 16:14, Scott Kostyshak wrote: > We have the option to show the LyX format in the preview window. We also > have the functionality to reload a LyX document (e.g., if it is changed > externally). Would it be reasonable to allow editing of the LyX format > in

Enable editing in preview pane for "LyX" format?

2021-12-15 Thread Scott Kostyshak
We have the option to show the LyX format in the preview window. We also have the functionality to reload a LyX document (e.g., if it is changed externally). Would it be reasonable to allow editing of the LyX format in the preview window? It seems feasible to implement, but I think the main

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Thibaut Cuvelier
only solution I could find is to use the existing mechanism to > > > generate > > > > preview images. This way, the LaTeX code is transformed into an > > > > intelligible form (i.e. an image), while still keeping the original > LaTeX > > > > code if som

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Pavel Sanda
On Wed, Oct 13, 2021 at 03:12:02PM +0200, Thibaut Cuvelier wrote: > On Wed, 13 Oct 2021 at 15:07, Pavel Sanda wrote: > > > On Wed, Oct 13, 2021 at 02:33:47PM +0200, Thibaut Cuvelier wrote: > > > The only solution I could find is to use the existing mechanism to > > ge

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Thibaut Cuvelier
On Wed, 13 Oct 2021 at 15:07, Pavel Sanda wrote: > On Wed, Oct 13, 2021 at 02:33:47PM +0200, Thibaut Cuvelier wrote: > > The only solution I could find is to use the existing mechanism to > generate > > preview images. This way, the LaTeX code is transformed into an > >

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Pavel Sanda
On Wed, Oct 13, 2021 at 02:33:47PM +0200, Thibaut Cuvelier wrote: > The only solution I could find is to use the existing mechanism to generate > preview images. This way, the LaTeX code is transformed into an > intelligible form (i.e. an image), while still keeping the original LaTeX

Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Thibaut Cuvelier
uest, after all). The only solution I could find is to use the existing mechanism to generate preview images. This way, the LaTeX code is transformed into an intelligible form (i.e. an image), while still keeping the original LaTeX code if someone wants to modify the image without access to the origin

Re: Hyperref-preview conflict

2020-11-04 Thread Yu Jin
imple documents showing the effect. In 2.3.5.2 the >>> formation of previews is not stalled, but it is slowed. My (no doubt >>> naive ) notion is that hyperref and preview should have nothing to do >>> with each other. >>> >>> Looking at what's going o

Re: Hyperref-preview conflict

2020-11-03 Thread Andrew Parsloe
) notion is that hyperref and preview should have nothing to do with each other. Looking at what's going on in the Temp directory, with hyperref ON a pdf is formed of all previews in the document. After a while in 2.3.5.2 the individual pn

Re: Hyperref-preview conflict

2020-11-03 Thread Yu Jin
Checking Use Hyperref Support stalls display of previews on my system. >> I've attached two simple documents showing the effect. In 2.3.5.2 the >> formation of previews is not stalled, but it is slowed. My (no doubt >> naive ) notion is that hyperref and preview should hav

Re: Hyperref-preview conflict

2020-11-03 Thread Andrew Parsloe
showing the effect. In 2.3.5.2 the formation of previews is not stalled, but it is slowed. My (no doubt naive ) notion is that hyperref and preview should have nothing to do with each other. Looking at what's going on in the Temp directory, with hyperref ON a pdf is formed

Re: Hyperref-preview conflict

2020-11-03 Thread Yu Jin
rmation of previews is not stalled, but it is slowed. My (no doubt > naive ) notion is that hyperref and preview should have nothing to do > with each other. > > Looking at what's going on in the Temp directory, with hyperref ON a pdf > is formed of all previews in the document. After

  1   2   3   4   5   6   7   8   9   10   >