Re: Fwd: No first line in double enumeration
On 11/28/20 12:32 PM, José Abílio Matos wrote: On Thursday, November 26, 2020 4:37:08 PM WET Richard Kimberly Heck wrote: > OK, I see the problem. Two solutions: > > The simplest is to add an empty ERT box to the first item. This will prevent > LyX from collapsing the empty element and adds nothing to the output. Why not to add a protected space? Ctrl+Space. That produces \begin{enumeration} \item ~ \begin{enumeration} whereas he wanted: \begin{enumeration} \item \begin{enumeration} Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: No first line in double enumeration
But this is neither the behavior the LaTex example gives nor the behavior I wanted. I wanted the first line to start with the secondary enumeration. The ERT box does this. Hal > On Nov 28, 2020, at 10:32 AM, José Abílio Matos wrote: > > On Thursday, November 26, 2020 4:37:08 PM WET Richard Kimberly Heck wrote: > > OK, I see the problem. Two solutions: > > > > The simplest is to add an empty ERT box to the first item. This will prevent > > LyX from collapsing the empty element and adds nothing to the output. > > Why not to add a protected space? Ctrl+Space. > > It will avoid for the first paragraph to collapse. > -- > José Abílio > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: cutting and pasting text in LyX document error
On Sat, Nov 28, 2020 at 7:57 AM Richard Kimberly Heck wrote: > On 11/28/20 4:50 AM, Wolfgang Engelmann wrote: > > If I cut and paste text from literature in e.g. Jabref in a LyX > > document I get this error > > An error occurred while running: > > python -tt $$s/scripts/html2latexwrapper.py gnuhtml2latex > > "Buffer_importStringMHQHEd.html" "Buffer_importStringMHQHEd.tex" > > > > Not important, since it includes the pasted text in spite of the warning. > > > > Just curious > > It looks as if what's copied from JabRef is HTML and LyX is trying to > convert it to LaTeX for pasting. > I suspect this is correct. As a JabRef user, copying (Ctrl-C) from the preview results in HTML but it seems that right-click -> Copy will produce something that is effectively plain text. Why there is seemingly dissimilar behavior between like commands is a mystery. Hope this helps, Joel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX under WSL2 using VcXsrv (sharing clipboard problems)
Chris, What about something like: 1) Install and use LyX for Windoze 2) setup the WSL (linux) directory structure to be accessible to the Reconfigure step 3) prefix all calls to external commands with 'wsl' or whatever needs to be done to run linux commands from a Windoze command line, with the exception of the viewer If that worked it would be even cooler wouldn't it? el On 2020-11-27 21:47 , Cris Fuhrman wrote: > Hello, > > I recently started using LyX on my Windows 10 via WSL2 (Ubuntu) with > VcXsrv. The application is snappy and I like configuring the > supporting tools in linux (especially the tex configurations). [...] -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Fwd: No first line in double enumeration
On Thursday, November 26, 2020 4:37:08 PM WET Richard Kimberly Heck wrote: > OK, I see the problem. Two solutions: > > The simplest is to add an empty ERT box to the first item. This will prevent > LyX from collapsing the empty element and adds nothing to the output. Why not to add a protected space? Ctrl+Space. It will avoid for the first paragraph to collapse. -- José Abílio-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX under WSL2 using VcXsrv (sharing clipboard problems)
On Sat, Nov 28, 2020 at 09:55:53AM -0500, Richard Kimberly Heck wrote: > On 11/27/20 2:47 PM, Cris Fuhrman wrote: > > Hello, > > > > I recently started using LyX on my Windows 10 via WSL2 (Ubuntu) with > > VcXsrv. The application is snappy and I like configuring the > > supporting tools in linux (especially the tex configurations). > > > > Sadly, I can't get the clipboard to work consistently outside of X. > > For example: > > > > 1. In Windows, start the VcXsrv > > 2. In WSL2, start LyX, create New file > > 3. In Windows, copy some text (e.g., from Notepad++) > > 4. In LyX paste (this works) > > 5. In LyX, change the text, then Copy > > 6. In Notepad++, paste (no effect). Windows-V (to show the clipboard > > history) shows no trace of the newly copied text from LyX. > > 7. Try steps 2-4 again and it no longer works, implying something > > "breaks" the Xserver in those steps. > > > > I'm able to do copy/paste with other applications such as xfe (file > > explorer) and gedit (text editor), so I know my XServer > > can work properly (at least sometimes). > > > > Is there some option I need to configure in LyX to get it to use the > > proper clipboard that can be shared outside (assuming that is how it's > > working with xfe and gedit), or is this a bug? > > I guess it's a bug, but I'm not sure we ever considered this kind of > setup. (Apparently, what's on the X clipboard is not appearing on the > Windows one. Does that work with other Linux apps?) I'd suggest you > either file it on trac or raise it on the devel list. I don't know if it's relevant, but does LyX work with Wayland's clipboard? And if it does, is it because there is a compatibility layer? Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: cutting and pasting text in LyX document error
On 11/28/20 4:50 AM, Wolfgang Engelmann wrote: > If I cut and paste text from literature in e.g. Jabref in a LyX > document I get this error > An error occurred while running: > python -tt $$s/scripts/html2latexwrapper.py gnuhtml2latex > "Buffer_importStringMHQHEd.html" "Buffer_importStringMHQHEd.tex" > > Not important, since it includes the pasted text in spite of the warning. > > Just curious It looks as if what's copied from JabRef is HTML and LyX is trying to convert it to LaTeX for pasting. If you run from a terminal, you might get more info on what the error is. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX under WSL2 using VcXsrv (sharing clipboard problems)
On 11/27/20 2:47 PM, Cris Fuhrman wrote: > Hello, > > I recently started using LyX on my Windows 10 via WSL2 (Ubuntu) with > VcXsrv. The application is snappy and I like configuring the > supporting tools in linux (especially the tex configurations). > > Sadly, I can't get the clipboard to work consistently outside of X. > For example: > > 1. In Windows, start the VcXsrv > 2. In WSL2, start LyX, create New file > 3. In Windows, copy some text (e.g., from Notepad++) > 4. In LyX paste (this works) > 5. In LyX, change the text, then Copy > 6. In Notepad++, paste (no effect). Windows-V (to show the clipboard > history) shows no trace of the newly copied text from LyX. > 7. Try steps 2-4 again and it no longer works, implying something > "breaks" the Xserver in those steps. > > I'm able to do copy/paste with other applications such as xfe (file > explorer) and gedit (text editor), so I know my XServer > can work properly (at least sometimes). > > Is there some option I need to configure in LyX to get it to use the > proper clipboard that can be shared outside (assuming that is how it's > working with xfe and gedit), or is this a bug? I guess it's a bug, but I'm not sure we ever considered this kind of setup. (Apparently, what's on the X clipboard is not appearing on the Windows one. Does that work with other Linux apps?) I'd suggest you either file it on trac or raise it on the devel list. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
cutting and pasting text in LyX document error
If I cut and paste text from literature in e.g. Jabref in a LyX document I get this error An error occurred while running: python -tt $$s/scripts/html2latexwrapper.py gnuhtml2latex "Buffer_importStringMHQHEd.html" "Buffer_importStringMHQHEd.tex" Not important, since it includes the pasted text in spite of the warning. Just curious Wolfgang -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users