Re: Fwd: Why does lyx add: '\noindent' when generating my .tex file
Am Samstag, den 16.11.2019, 09:56 -0700 schrieb Ralph Boland: > Thanks Jurgen, your help has added to my insight into the problem. > Unfortunately it hasn't solved the problem. > > The lines (paragraphs) in question, > in fact I think every line in the document of my Lyx file, > have the "Indent Paragraph" box checked. I do not understand. In the minimal example file you sent, indent paragraph was *not* checked, and checking it solved the problem. So there must be an additional problem in your thesis. > So I repeat: is this a Lyx bug? Is there anything I can do so that > the "\noindent" > code is not added by Lyx to the .tex file? I can only answer this if I see the original file (not converted to the recent LyX version). It might by a problem in lyx2lyx conversion. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re:
Le 16/11/2019 à 19:09, Richard Kimberly Heck a écrit : On 11/16/19 6:36 AM, Jean-Marc Lasgouttes wrote: Le 16/11/2019 à 12:07, Dolan Krishna Bayen a écrit : Dear sir, how to recover my damaged . lyx filekindly suggest me some ideayour faithfully Dolan Dear Dolan, We definitely need more information. What is wrong with your file? Do you have a backup (same name with a ~ at the end)? I'll just mention that LyX files are text files. So worst case scenario is that you can open it with a text editor and extract the content that way. I received the file privately, and it only contains NULs. So this plan will not work. JMarc -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Why does lyx add: '\noindent' when generating my .tex file
On 11/15/19 7:09 PM, Ralph Boland wrote: I am using Debian 10 and Lyx 2.3.2. In my thesis (2002) I used the algolyx package and it worked fine in 2002. But I have been updating my thesis to fix a few things (a bad idea i know) and in the updated version most of my algorithms printed properly but a few failed for reasons I do not understand. I seems like a Lyx or Latex error due to using upgraded Lyx/Latex software since I haven't changed the lyx code or latex code (not necessarily true of course but not the issue here anyway). Rather than track this issue down I decided to use the enumitem package and rewrite the algorithms that Lyx/Latex could no longer handle. Unfortunately, this also failed because of what appeared to be a bug in the enumitem package. So I emailed the enumitem package maintainer with a sample piece of latex code generated by Lyx demonstrating the bug. (Lesson learned: Do not use Lyx to generate latex code demonstrating a bug in Latex.) Anyway the maintainer determined that there was a '\noindent' in the latex code that shouldn't be there and removing it solved the problem. So the problem is not a enumitem package bug! Alas, I do not know why Lyx added the '\noindent' code. I did not tell it to do so and so now I (foolishly?) assume I have found a Lyx bug! Can anyone tell me if this is a Lyx bug and if not then how do I get Lyx to not add the 'offending \noindent' code? I have attached the problematic Lyx file and the pdflatex tex file generated from it containing the 'noindent' code. While I'm here i'd like to point out that when I run Lyx on this file (and most other Lyx files) I get the message: 'step: Counter does not exist: enum' many times. If anyone can shed light on why I get this message that would me most helpful. Thanks for any help received. Ralph Boland rpbol...@gmail.com Curious. First, when I compile your LyX file here (LyX 2.3.3, Linux Mint 18.3) without making any changes to it, I do not see an error with level 3 indentation. The "junk" entry in the AlgNum2 list aligns with the "deeper junk" entry in the AlgNum list. The deeper entries in AlgNum2 also align with antecedents one level shallower in AlgNum. FWIW, I'm compiling with pdflatex. The compiled PDF file is attached. Second, I do see a problem with indentation of the line "does this line also ...", and it is caused by a \noindent inserted immediately prior to the "if" from "if c = d". I don't think that \noindent is being inserted by LyX, at least not automatically. I retyped your document (without the notes and other baggage) and did not get the errant \noindent in my version (also attached). That leads me to wonder if some combination of typing stuff in and editing it somehow introduced the \noindent. Paul enumItemBug.pdf Description: Adobe PDF document newfile1.lyx Description: application/lyx -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re:
On 11/16/19 6:36 AM, Jean-Marc Lasgouttes wrote: > Le 16/11/2019 à 12:07, Dolan Krishna Bayen a écrit : >> Dear sir, how to recover my damaged . lyx filekindly suggest me >> some ideayour faithfully >> Dolan >> > > Dear Dolan, > > We definitely need more information. What is wrong with your file? Do > you have a backup (same name with a ~ at the end)? I'll just mention that LyX files are text files. So worst case scenario is that you can open it with a text editor and extract the content that way. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Fwd: Why does lyx add: '\noindent' when generating my .tex file
-- Forwarded message - From: Jürgen Spitzmüller Date: Sat, 16 Nov 2019 at 00:15 Subject: Re: Why does lyx add: '\noindent' when generating my .tex file To: > Am Freitag, den 15.11.2019, 17:09 -0700 schrieb Ralph Boland: > > Alas, I do not know why Lyx added the '\noindent' code. I did not > > tell it to do so and so > > now I (foolishly?) assume I have found a Lyx bug! > I don't know how it cae there, but the solution is: go to the two > respective lines ((a) if c = d then \,\,return B), open the paragraph > settings dialog, and check "Indent Paragraph". > HTH > Jürgen Thanks Jurgen, your help has added to my insight into the problem. Unfortunately it hasn't solved the problem. The lines (paragraphs) in question, in fact I think every line in the document of my Lyx file, have the "Indent Paragraph" box checked. So I repeat: is this a Lyx bug? Is there anything I can do so that the "\noindent" code is not added by Lyx to the .tex file? Thanks for any help received. Ralph Boland -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: .lyx is nota readable document
Le 16/11/2019 à 13:06, Swapan Mandal a écrit : HI! I was editing a lyx file in 2.3.0 version of lyx. Suddenly, my laptop went off. Now I can not open the file. It says .iyx is not a readable document. I tried the backup file by removing ~, however, it does not work. Would you please advice me to recover the file. Swapan Can you send your file, at least privately ? JMarc -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
.lyx is nota readable document
HI! I was editing a lyx file in 2.3.0 version of lyx. Suddenly, my laptop went off. Now I can not open the file. It says .iyx is not a readable document. I tried the backup file by removing ~, however, it does not work. Would you please advice me to recover the file.Swapan =Dr. Swapan Mandal, Department of PhysicsVisva-Bharati,Santiniketan-731235,INDIAE-mail: swapanvb@rediffmail.comFax: ++91-3463-262672=Residential Address:===Dr. Swapan Mandal, Quarter No.39, Andrews Palli,Santiniketan-731235, INDIA,Tel:00-91-3463-264746==-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re:
Le 16/11/2019 à 12:07, Dolan Krishna Bayen a écrit : Dear sir, how to recover my damaged . lyx filekindly suggest me some ideayour faithfully Dolan Dear Dolan, We definitely need more information. What is wrong with your file? Do you have a backup (same name with a ~ at the end)? Regards, JMarc -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
[no subject]
Dear sir, how to recover my damaged . lyx filekindly suggest me some ideayour faithfully Dolan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: fixing tiny font on laptop
Le 16/11/2019 à 02:45, John White a écrit : For some unknown reason, my lyx fonts on all files suddenly became too tiny to read. Internet says use mouse wheel to fix, which works fine (I borrowed one). But my laptop doesn't have a mouse or a mouse wheel. Any alternative way of getting normal font size back on a mouse-less laptop? I may not be able to borrow a mouse next time this happens. Try to use Alt + or go to preferences to change zoom level. JMarc -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: fixing tiny font on laptop
On Fri, 15 Nov 2019 17:45:40 -0800 John White wrote: > For some unknown reason, my lyx fonts on all files suddenly > became too tiny to read. Internet says use mouse wheel to fix, > which works fine (I borrowed one). But my laptop doesn't have a > mouse or a mouse wheel. Any alternative way of getting normal > font size back on a mouse-less laptop? I may not be able to > borrow a mouse next time this happens. > > John >From your past posts I know you use Debian, but not what WMDE. When I'm in LyX, the mouse wheel doesn't magnify, it scrolls the text. See if the following happened around the time of the shrinkage: Update of Debian, your WMDE, or your LyX. You can buy a very high quality wireless USB mouse for twenty bucks. You don't need to borrow one. My favorite is this one: I have a bunch, they work on any kind of mouse pad or lack thereof, the pointer is fast and crisp and needs no acceleration, and it's under ten bucks: https://www.walmart.com/ip/Blackweb-Bluetrace-Weighted-Mouse/44459955 Obviously you need to wait for it to come back in stock. Nowadays I use only Blue Trace mice. Linux' mouse pointer handling is bad, but with Bluetrace mice Linux performs brilliantly. SteveT Steve Litt November 2019 featured book: Manager's Guide to Technical Troubleshooting Second edition http://www.troubleshooters.com/mgr -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users