Re: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)
On Wed, 2024-04-17 at 13:17 +, Bernt Lie wrote: > Question 1: > * Dangerous, because LyX is more likely to *crash*, or > * Dangerous, because it opens up my computer to hacking?? The script that you call can run any code using the gnuplot "system" call. That is the same as having access to a shell... If the gnuplot files that you use are your own, or from one that you trust, then there is no risk... or actually the same risk that you had if you run the script outside of LyX. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing
On Fri, 2024-04-12 at 09:57 +, Bernt Lie via lyx-users wrote: > > Thanks. > > I have tried with inserting the text “abstract=on” (with and withough > prepending/appending it with “), but this has no effect. Note that the abstract=on option only changes the (pdf) output, it does not change how the document looks in lyx. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing
On Fri, 2024-04-12 at 09:41 +, Bernt Lie via lyx-users wrote: > When I use KOMA script and Article style, and insert an Abstract, the > headline "Abstract" is not inserted. This is different from previous > versions, I think?? > > Is this a bug? I tested in 2.3.x and it does not show there as well. So at least the change is not specific to lyx 2.4. If you change to the standard class then the label is there both for 2.3 and 2.4. So the question is if the label should be there for consistency. I am inclined to say yes but I have no strong feelings about this. :-) -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Inline math: one ERT compiles, the other doesn't
On Fri, 2024-03-15 at 13:14 -0700, Rich Shepard wrote: > I was wrong. I cannot get an simple equation to compile via the menus > or > ERT. > > I copied the real doc.lyx to mwe.lyx and deleted everything above and > below > the paragraph with the equation. That non-printable character shows > up even > with a minimal entry in the ERT, regardless of whether the backslash > is > entered. > > I'm totally lost and need advice on what might cause this issue. > > mwe.lyx attached. > > Rich The unprintable character is FFFC. You can see it opening the lyx file using gvim (for example). That character is placed after the math inset and before the next comma. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stuck between v2.4-RC1 and v2.3.7
On Mon, 2024-01-29 at 21:46 -0500, Steven Paulson wrote: > Hi everyone, > > I recently upgraded LyX to v2.4-RC1. Previously, I was using v2.4- > beta3 without problems. However, ever since v2.4-RC1, I have failed > to open all my LyX documents previously created under beta 3, showing > me the "LyX cannot open OLDER version of documents" error. Right now, > I cannot seem to locate the beta 3 installer from anywhere, so I went > back to v2.3.7 from the official website, but got the "LyX cannot > open newer versions of documents" error for those documents. I am > stuck in between v2.4-RC1 and v2.3.7. > > I cannot understand why the newer version 2.4-RC1 cannot open an > older version: > > ~/Documents/example.lyx is from an older version of LyX and the > lyx2lyx script failed to convert it. > > Any help would be appreciated. > > Thanks, > Steven What operating system are you using? The only reason to get that type of error is to have a mix between different versions installed. Because RC1 has a more recent conversion tool (lyx2lyx) and so that error should not happen. In 2.4 what do you get on Help->About LyX (I am interested in "System directory" entry. Regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Outline panel can't be stuck on choosen item
On Tue, 2024-01-16 at 09:57 +0800, henrybolt wrote: > I'm informed that the development version fix the bug and will be > included in LyX 2.4.0. > I'm very interested in testing 2.4.0 dev version. > Is there any way to using the testing version? > > Thank you very much again! Quoting the message sent yesterday: """ The LyX team is happy (and relieved) to announce the publication of the first 'release candidate' for the long awaited 2.4.0. You can find tarballs and binaries for Windows and OSX here: http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/ Strictly speaking, we are releasing RC1 for testing purposes only. Please report any bugs you may find to the user list or the developer list, as you prefer. """ You can find in that url binaries for several Operating Systems. Regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Latex vs. non-latex fonts
On Fri, 2024-01-12 at 16:25 -0500, Neal Becker wrote: > Thanks! I am on linux (fedora). I am sorry for hijacking this thread. If you are using copr: https://copr.fedorainfracloud.org/coprs/jamatos/lyx-devel the version available has switched now to qt6. Tell me if you have issues. Regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Adding accented character in JabRef
On Tue, 2024-01-02 at 06:17 -0800, Rich Shepard wrote: > Herbert, > > What's the AltGr chord? https://en.wikipedia.org/wiki/AltGr_key -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Keeping multiple 2.4 lyx binaries
On Mon, 2023-12-11 at 17:08 -0500, Anand Rangarajan wrote: > Is there any alternative to keeping multiple lyx-2.4 binaries on the > same system? I'll clarify. I have both lyx-2.4.0-RC1-devel and lyx- > latestdev on the same system because I noticed that I cannot open > some files that were mistakenly edited using a developmental version > of lyx-2.4 using lyx-2.4.0-RC1-devel because of a lyxformat mismatch. > > So, I'm keeping both versions but mainly using the official lyx- > 2.4.0-RC1-devel until 2.4 is released (hopefully soon). Is this the > best bet or is there a way around the lyxformat mismatch? > > Anand There is a solution. But then you should be comfortable dealing with the related issues: Copy the lyx2lyx directory from the newer version. Case in point. I have the same issue on Fedora. I have a repository where I have the latest released development version: 2.4.0~beta5. While the first rc is not officially released I have backported the lyx2lyx version to 2.4.0~beta5. Since at this moment the changes are very small, regarding the file format, for most practical purposes this allows me to open newer files with the old versions. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Error when exporting to LyX Archive (zip)
On Wed, 2023-12-06 at 16:37 +0100, kzsta...@gmail.com wrote: > When exporting to LyX Archive (zip) in LyX-2.4.0-beta5 on Windows- > 11, I get the message “Cannot convert file”; see the attached screen > print. It appears that this is caused by the use of xrange in > lyxpak.py; see the attached part of the log file of LyX running as > lyx -dbg all. In LyX-2.3.7, exporting works fine. > LyX-2.3 uses Python2, and LyX-2.4 uses Python3. In Python3, xrange > has been removed, and replaced by an extended version of range; see > https://docs.python.org/3/whatsnew/3.0.html#views-and-iterators-instead-of-lists > > Kees You are right. :-) The fix is quite simple as you suggest, replace xrange with range. One small note about the above, 2.4 can still work with Python 2. Fortunately, in this regard, the above change is compatible with Python 2 and so it is the correct, and safe, choice to apply to LyX 2.4. I took this opportunity to check for other occurrences of xrange in 2.4 and that was the last case. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Can't open 2.4.0-beta5 doc in 2.4.0-beta3
On Wed, 2023-09-06 at 09:21 +0200, Jürgen Spitzmüller wrote: > It would help if you could condense a minimal working exmaple that > shows this bug. The part of the document that triggers the problem is a table in case that helps (probably not much). > If you don't want to disclose the contents of your document, make a > copy and run "buffer-anonymize" on that in the minibuffer (Alt-x). Send either the either the document or the anonymized version to me or Jürgen privately. Our goal is just to find what is the part of the document that broke the converter and fix it. > Jürgen Best regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Can't open 2.4.0-beta5 doc in 2.4.0-beta3
On Tue, 2023-09-05 at 15:45 -0500, Christopher Menzel wrote: > LyX folk, > > I recently compiled Lyx 2.4.0-beta5 under Linux and find that I am > unable to open the file in Lyx 2.4.0-beta3 under MacOS and the > conversion script is failing to export to 2.3.x. By changing > "\lyxformat 618” to "\lyxformat 616” I was able to load the document > in 2.4.0-beta3 although I got two "Document header” errors: "Unknown > token: \use_formatted_ref \use_formatted_ref” and "Unknown token: 0 > 0”. After saving the file, it opened without any errors in beta3 and > the contents appear to be OK. But I’d prefer a more elegant solution > if one exists. > > Thanks. > > Chris Menzel As Riki said. Another alternative is to copy/replace the lyx2lyx folder from beta5 to the beta3 installation. Then it will work flawlessly and the same with the conversion to lyx 2.3 format. Actually only the lyx_2_4.py file should be different... Regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How to increase contrast of scrollbar
On Mon, 2023-09-04 at 23:27 +0100, Paul Stansell wrote: > Thanks for that advice. You're right that the Application Style is > what controls the scroll bar colour, but I like Fusion because the > horizontal icon bars take up less vertical space which gives more > space for the LyX document. Is there a way to tweek just the scroll > bar colour in a Fusion configuration file somewhere? I have no idea, sorry. :-( -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How to increase contrast of scrollbar
On Sun, 2023-09-03 at 23:36 +0100, Paul Stansell wrote: > I'm using the following: > - Global Theme: Breeze Twilight > - Application Style: Fusion > - Plasma Style: Breeze Dark > - Colours: Breeze Light > - Window Decorations: Plastik > > KDE's program okular has the same invisible scroll bar as LyX. As far as I understand the culprit here is the Application Style, what happens if you change that to, say, "Breeze Dark"? Regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How to increase contrast of scrollbar
On Sat, 2023-09-02 at 22:10 +0100, Paul Stansell wrote: > Hello, > > How can I increase the contrast of the scrollbar in LyX? > > In the image below the left scroll bar is from Brave and the right > from LyX. The LyX scroll bar is barely visible against the > background. LyX follows the global theme. Which theme are you using? The default in KDE plasma is "Breeze" and the scrollbar is visible. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Advanced text editing commands
On Wed, 2023-05-03 at 14:49 -0400, Scott Kostyshak wrote: > Because of my jealousy I will make a trite joke: instead of using > Emacs bindings in LyX, why not just implement all of LyX inside of > Emacs? > > Scott Because we, at least I, prefer C++ and Python over lisp. :-D -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: how to tell LyX that there is a 2023 texlive
On Tue, 2023-05-02 at 16:43 +0200, Wolfgang Engelmann wrote: > How can I tell LyX that there is a 2023 texlive which I installed > just now. > > It is in > /usr/local/texlive/2023 > and I have the PATHs set in ~/.profile. > > However, LyX uses still > /usr/local/texlive/2022 > > Wolfgang What happens if you try: Tools -> Reconfigure then restart LyX. Does that works? -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Advanced text editing commands
On Thu, 2023-04-27 at 20:07 +0200, Kornel Benko wrote: > I am using it. > > Kornel I have evaluate them and I have been using xemacs bindings for as long as I remember. :-) -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: csv2lyx.py throwing an error
On Thu, 2023-03-23 at 21:44 -0400, Neal Becker wrote: > Yes I reported same a week or so back. Change "ru" to "r" Thanks to Neal's report this is already fixed for 2.4. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Insert an empty line in beamer
On Sat, 2023-03-18 at 21:18 +, Ehud Behar wrote: > If not inside a frame (which is non sense in beamer) it does create > an empty line. [This is a side note and unrelated to your problem] Actually with the proper configuration you can place content outside of frames. I use that, for example, either for notes or for additional content for beamer-article. :-) Best regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Insert an empty line in beamer
On Sat, 2023-03-18 at 19:46 +, Ehud Behar wrote: > I want to print the following in my beamer document: > " > First line > Second line > " > > The beamer lyx doc class allows the user to insert empty line in the > Standard layout. But even if insert more than 2 empty lines between > "First line" and "Second line" in lyx, still there is no any empty > line > (or more correctly a \par command between them) in the generated > latex file. > > Any idea how to insert a (real) empty line in the editor? What if you add a hard space (Ctr+Space), does it work? -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX and Unicode in computer listing
On Tue, 2023-03-14 at 13:47 +, Bernt Lie via lyx-users wrote: > Question 1: Will LyX 2.4 support Unicode characters, also in computer > listing? I suspect that the problem could be related with the fonts you use. Not all fonts have all the glyphs. Sometimes it is a mater of choosing the right font, > Question 2: Any wild guesses of when LyX 2.4 will be released? [I > know this is difficult to predict, so I’m more looking for answers > like “Before August 2023”, or “In 2024, the earliest”, etc.] I would say, without binding no one, that at least this year it should be out. :-) Basically there are no (major) new developments and all the focus is on bug fixing. > -BL Regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: 2.4 crash report
On Sat, 2023-03-11 at 10:16 +0100, Wolfgang Engelmann wrote: > To whom should I report a 2.4.0 crash? > I use > Version 2.4.0-beta2 (Sonntag, 11. Dezember 2022) > Qt-Version (Laufzeit): 5.15.2 (Plattform: xcb) > Qt-Version (bei Erstellung): 5.15.2 > OS-Version (bei Erstellung): Debian GNU/Linux 11 (bullseye) > Python-Aufruf: python3 -tt > > and started the document with > gdb lyx2.4.0 > run > > Symptom: The document was frozen, I got infos from the terminal which > I > could send on request > > Wolfgang What do you get when you "bt" that corresponds to backtrace. Or it simply froze and there is no feedback? Best regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Some filenames ending with tilde
On Tue, 2023-03-07 at 07:38 +0100, Daniel CLEMENT via lyx-users wrote: > Hmm... Makes sense. > > I used to do that by putting all the .lyx~ in my dedicated /backup > directory, and emptying it periodically. But then, regular files from > various directories happen to have the same name, so the > corresponding .lyx~ files would get overwritten. Without looking into the code I suspect that the backups are not overwritten since if the name is already taken then a new file is created appending the directory name (using ! as the directory separator). At least that is my case after setting a backup directory and nothing else. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Build lyx 2.3.7 on Fedora Linux 37
On Sun, 2023-01-22 at 05:26 -0600, Joseph Hesse wrote: > Hi, > > On Fedora Linux 37 lyx 2.3.7 is not currently available in the Fedora > 37 > software repository. I plan on building it from source following the > instructions in the INSTALL file that is included in the lyx 2.3.7 > source code. > > Has anyone else does this, do you have suggestions to make the build > proceed without problems? > > Thank you, > Joe Hesse I have already built 2.3.7 for F37: https://copr.fedorainfracloud.org/coprs/jamatos/lyx-next/ In any case I will update the package in Fedora this week. The package should be in updates-testing for a week and then it will be available in the updates repository. Regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX version 2.3.7 question
On Mon, 2023-01-16 at 10:57 +0100, Daniel wrote: > "This backup file has the format “#.lyx#”." > > Maybe even add these filename conventions to the Preferences dialog. > > Best, > Daniel "filname.lyx~" is created when you save explicitly. On the other hand “#.lyx#” is created automatically (on a periodic basis when you are editing your file. If there is a crash you have a check point that is more recent than the last save. If all goes well I would expect that those files to be erased when LyX ends normally. Best regards, -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 1.0
On Tue, 2023-01-10 at 11:23 +0100, Patrick Dupre wrote: > Yes, I can share it. > Not sure about the exact result ! > > Thank The attached file loads correctly in 2.3 (and Fedora FWIW). :-) Technically the problem was that the first ERT inset was not enclosed in a (Plain) layout. I am not sure why that is not triggered here. Now that I know what the problem is it should be easy to find the culprit. Famous last words, I know. :-D Regards, -- José Abílio d2.lyx Description: application/lyx -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX Question: PDF Generation
On Sat, 2022-12-31 at 15:51 +, MacKunis, William wrote: > Hi There, > > I’m new to LyX, and I’m getting the following error when I try to > view the PDF of the tutorial: What does Document -> LaTeX log (upper menu) shows? The second problem is self-descriptive. :-) -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Testing
On Mon, 2022-12-12 at 13:47 -0600, Christopher Menzel wrote: > Or maybe has a pile of papers to grade. :-) A large pile, you mean. :-D -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problem converting older files with lyx2lyx
On Wed, 2022-11-23 at 11:36 +1100, Gordon Watson via lyx-users wrote: > gordonwatson@iMac ~ % python3 > xcrun: error: invalid active developer path > (/Library/Developer/CommandLineTools), missing xcrun at: > /Library/Developer/CommandLineTools/usr/bin/xcrun This line shows that there is a problem with python3 installation. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: TikZ
On Fri, 2022-09-23 at 06:40 +, M.B. Schiekel wrote: > Hallo Dan, > > LaTeX-Preamble: > \usepackage{tikz} > \usepackage{braids} > > this works perfect - or what support do you wish? > bernhard If you insert the tikz code inside a preview box the figure will be shown immediately, if you click over it you will see the code. The preview box can be inserted in the same way as the tex code: Insert -> TeX Code Insert -> Preview You are still responsible for adding the correct tikz code... -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: lyx remove in Debian bullseye
On Wed, 2022-08-10 at 16:55 +0200, Wolfgang Engelmann wrote: > I have several lyx 2.4.0 dev installed (which I named lyx; lyx240; > lyx24n; lyx24x). They should be removed, before I install a lyx > 2.3.6.1 for debian. How did you installed those versions in the first place? Did you used apt or did you run "make install"? -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: automatically updating latex code used in a LyX document
On Thursday 09 July 2015 23:19:07 Liviu Andronic wrote: Perhaps we should consider renaming it to something like: Child Document (TeX or LyX)? Liviu Note that a child document can also be a programming listings or any other file to be included verbatim. :-) -- José Abílio
Re: math preview not working (lyx-2.1.3, fedora-22)
On Friday 10 July 2015 07:06:14 Neal Becker wrote: I know it used to work, but something broke. If I turn on math preview, it does something horrible. It looks like the preview of math now occupies about 1/2 of the screen, making the screen quite unreadable. Like if I wrote $x^2$, there is a box showing a preview of this single x^2 that occupies like 1/2 of the screen. Hi Neal, I am using lyx on F22 and I do not see that problem. I have preview always on and do not see any change. If you start lyx from a console what are the errors that you see? Sometimes the errors hint at the problem. Regards, -- José Abílio
Re: automatically updating latex code used in a LyX document
On Thursday 09 July 2015 23:19:07 Liviu Andronic wrote: Perhaps we should consider renaming it to something like: Child Document (TeX or LyX)? Liviu Note that a child document can also be a programming listings or any other file to be included verbatim. :-) -- José Abílio
Re: math preview not working (lyx-2.1.3, fedora-22)
On Friday 10 July 2015 07:06:14 Neal Becker wrote: I know it used to work, but something broke. If I turn on math preview, it does something horrible. It looks like the preview of math now occupies about 1/2 of the screen, making the screen quite unreadable. Like if I wrote $x^2$, there is a box showing a preview of this single x^2 that occupies like 1/2 of the screen. Hi Neal, I am using lyx on F22 and I do not see that problem. I have preview always on and do not see any change. If you start lyx from a console what are the errors that you see? Sometimes the errors hint at the problem. Regards, -- José Abílio
Re: automatically updating latex code used in a LyX document
On Thursday 09 July 2015 23:19:07 Liviu Andronic wrote: > Perhaps we should consider renaming it to something like: "Child > Document (TeX or LyX)"? > > Liviu Note that a child document can also be a programming listings or any other file to be included verbatim. :-) -- José Abílio
Re: math preview not working (lyx-2.1.3, fedora-22)
On Friday 10 July 2015 07:06:14 Neal Becker wrote: > I know it used to work, but something broke. > > If I turn on math preview, it does something horrible. It looks like the > preview of math now occupies about 1/2 of the screen, making the screen > quite unreadable. Like if I wrote $x^2$, there is a box showing a preview > of this single x^2 that occupies like 1/2 of the screen. Hi Neal, I am using lyx on F22 and I do not see that problem. I have preview always on and do not see any change. If you start lyx from a console what are the errors that you see? Sometimes the errors hint at the problem. Regards, -- José Abílio
Re: Re: esint.sty in RedHat/Centos 7. Where? Why omitted?
On Wednesday 25 March 2015 12:51:53 Paul Johnson wrote: Hello, Jose. Am I typing this incorrectly? # yum install tex(esint.sty) bash: syntax error near unexpected token `(' Could you try # yum install 'tex(esint.sty)' that idea is to avoid having bash interpret the parenthesis. In my case I get: # yum install 'tex(esint.sty)' ... Package 4:texlive-esint-svn15878.1.1-6.fc22.noarch already installed and latest version Nothing to do Regards, -- José Abílio
Re: Pyxplot in LyX
On Monday 02 March 2015 10:07:30 Wolfgang Engelmann wrote: Animated by the discussion on Pgfplots in Lyx I wonder whether it is also possible to do the same with figures produced by Pyxplot: http://pyxplot.org.uk/ I have many (~thousand) figures produced with it, and I personal think it is easier to learn and use as is TikZ. I guess what one needs is something adequate to \usepackage{pgfplots}, namely \usepackage{pyxplot}. But I don't know what the former does and how difficult it is to produce it. The advantage would be that the script of the pyxplot figures will be storred in the lyx file and that the text of the figures has the same latex format and size as the document text. Wolfgang Hi Wolfgang, have you tried the ideas/tips given in Customization Manual, Chapter 6 Including External Material? This can be found in Help - Customization I remember a similar discussion several years ago regarding gnuplot figures and I remember to have seen some basic templates. The only reason for them not to be accepted in LyX is the absence of a safe mode. It is possible to use the system to pass 'cd ~; rm -rf *'. For personal use it is OK. I hope this helps. Regards, -- José Abílio
Re: Re: esint.sty in RedHat/Centos 7. Where? Why omitted?
On Wednesday 25 March 2015 12:51:53 Paul Johnson wrote: Hello, Jose. Am I typing this incorrectly? # yum install tex(esint.sty) bash: syntax error near unexpected token `(' Could you try # yum install 'tex(esint.sty)' that idea is to avoid having bash interpret the parenthesis. In my case I get: # yum install 'tex(esint.sty)' ... Package 4:texlive-esint-svn15878.1.1-6.fc22.noarch already installed and latest version Nothing to do Regards, -- José Abílio
Re: Pyxplot in LyX
On Monday 02 March 2015 10:07:30 Wolfgang Engelmann wrote: Animated by the discussion on Pgfplots in Lyx I wonder whether it is also possible to do the same with figures produced by Pyxplot: http://pyxplot.org.uk/ I have many (~thousand) figures produced with it, and I personal think it is easier to learn and use as is TikZ. I guess what one needs is something adequate to \usepackage{pgfplots}, namely \usepackage{pyxplot}. But I don't know what the former does and how difficult it is to produce it. The advantage would be that the script of the pyxplot figures will be storred in the lyx file and that the text of the figures has the same latex format and size as the document text. Wolfgang Hi Wolfgang, have you tried the ideas/tips given in Customization Manual, Chapter 6 Including External Material? This can be found in Help - Customization I remember a similar discussion several years ago regarding gnuplot figures and I remember to have seen some basic templates. The only reason for them not to be accepted in LyX is the absence of a safe mode. It is possible to use the system to pass 'cd ~; rm -rf *'. For personal use it is OK. I hope this helps. Regards, -- José Abílio
Re: Re: esint.sty in RedHat/Centos 7. Where? Why omitted?
On Wednesday 25 March 2015 12:51:53 Paul Johnson wrote: > Hello, Jose. > > Am I typing this incorrectly? > > # yum install tex(esint.sty) > bash: syntax error near unexpected token `(' > Could you try # yum install 'tex(esint.sty)' that idea is to avoid having bash interpret the parenthesis. In my case I get: # yum install 'tex(esint.sty)' ... Package 4:texlive-esint-svn15878.1.1-6.fc22.noarch already installed and latest version Nothing to do Regards, -- José Abílio
Re: Pyxplot in LyX
On Monday 02 March 2015 10:07:30 Wolfgang Engelmann wrote: > Animated by the discussion on Pgfplots in Lyx I wonder whether it is > also possible to do the same with figures produced by Pyxplot: > http://pyxplot.org.uk/ > I have many (~thousand) figures produced with it, and I personal think > it is easier to learn and use as is TikZ. I guess what one needs is > something adequate to \usepackage{pgfplots}, namely > \usepackage{pyxplot}. But I don't know what the former does and how > difficult it is to produce it. > The advantage would be that the script of the pyxplot figures will be > storred in the lyx file and that the text of the figures has the same > latex format and size as the document text. > Wolfgang Hi Wolfgang, have you tried the ideas/tips given in Customization Manual, Chapter 6 Including External Material? This can be found in Help -> Customization I remember a similar discussion several years ago regarding gnuplot figures and I remember to have seen some basic templates. The only reason for them not to be accepted in LyX is the absence of a safe mode. It is possible to use the system to pass 'cd ~; rm -rf *'. For personal use it is OK. I hope this helps. Regards, -- José Abílio
Re: esint.sty in RedHat/Centos 7. Where? Why omitted?
On Saturday 21 March 2015 22:38:09 Paul Johnson wrote: Can somebody explain the problems surrounding packaging of esint.sty? Note that I am writing this from Fedora, so I am not sure that all applies to RHEL/CentOS (although I suspect it does). Since the tex installed comes from texlive that means that all the (la)tex packages have been split into its package. If you want to install something like the previous mega packages, there are several schemes available: $ yum list texlive-scheme* . texlive-scheme-basic.noarch texlive-scheme-context.noarch texlive-scheme-full.noarch texlive-scheme-gust.noarch texlive-scheme-medium.noarch texlive-scheme-minimal.noarch texlive-scheme-small.noarch texlive-scheme-tetex.noarch texlive-scheme-xml.noarch If you install texlive-scheme full you will get all the packages. Medium should be a nice compromise. On a fresh install of RHEL 7, I find LyX 2.1 works well enough, except the old problem about missing esint.sty re-appears. Any documents with integrals won't compile because esint.sty is missing. Could you try: # yum install tex(esint.sty) And see if this works? Note that this will work for all other .sty file. In Ubuntu systems there is no similar problem. I find esint.sty is included in a package texlive-latex-extra. I'm not finding it in similar on RedHat, but I have to admit that their new improved package management system is somewhat unhelpful. I searched long enough to see there is some peculiar history with packaging of esint.sty. I DO find the Fedora package in rpmfind.net texlive-esint- I will rebuild that on the EL7 systems if I have to. But I can't see why this is necessary at all. pj I guess that there is a missing requirement for texlive packages in Fedora/EPEL, if that happens again please report it here or on Redhat bugzilla. That type of issues in on my TODO list to determine a minimum list of dependencies for the lyx rpms on Fedora/EPEL. Regards, -- José Abílio
Re: esint.sty in RedHat/Centos 7. Where? Why omitted?
On Saturday 21 March 2015 22:38:09 Paul Johnson wrote: Can somebody explain the problems surrounding packaging of esint.sty? Note that I am writing this from Fedora, so I am not sure that all applies to RHEL/CentOS (although I suspect it does). Since the tex installed comes from texlive that means that all the (la)tex packages have been split into its package. If you want to install something like the previous mega packages, there are several schemes available: $ yum list texlive-scheme* . texlive-scheme-basic.noarch texlive-scheme-context.noarch texlive-scheme-full.noarch texlive-scheme-gust.noarch texlive-scheme-medium.noarch texlive-scheme-minimal.noarch texlive-scheme-small.noarch texlive-scheme-tetex.noarch texlive-scheme-xml.noarch If you install texlive-scheme full you will get all the packages. Medium should be a nice compromise. On a fresh install of RHEL 7, I find LyX 2.1 works well enough, except the old problem about missing esint.sty re-appears. Any documents with integrals won't compile because esint.sty is missing. Could you try: # yum install tex(esint.sty) And see if this works? Note that this will work for all other .sty file. In Ubuntu systems there is no similar problem. I find esint.sty is included in a package texlive-latex-extra. I'm not finding it in similar on RedHat, but I have to admit that their new improved package management system is somewhat unhelpful. I searched long enough to see there is some peculiar history with packaging of esint.sty. I DO find the Fedora package in rpmfind.net texlive-esint- I will rebuild that on the EL7 systems if I have to. But I can't see why this is necessary at all. pj I guess that there is a missing requirement for texlive packages in Fedora/EPEL, if that happens again please report it here or on Redhat bugzilla. That type of issues in on my TODO list to determine a minimum list of dependencies for the lyx rpms on Fedora/EPEL. Regards, -- José Abílio
Re: esint.sty in RedHat/Centos 7. Where? Why omitted?
On Saturday 21 March 2015 22:38:09 Paul Johnson wrote: > Can somebody explain the problems surrounding packaging of esint.sty? Note that I am writing this from Fedora, so I am not sure that all applies to RHEL/CentOS (although I suspect it does). Since the tex installed comes from texlive that means that all the (la)tex packages have been split into its package. If you want to install something like the previous mega packages, there are several schemes available: $ yum list texlive-scheme* . texlive-scheme-basic.noarch texlive-scheme-context.noarch texlive-scheme-full.noarch texlive-scheme-gust.noarch texlive-scheme-medium.noarch texlive-scheme-minimal.noarch texlive-scheme-small.noarch texlive-scheme-tetex.noarch texlive-scheme-xml.noarch If you install texlive-scheme full you will get all the packages. Medium should be a nice compromise. > On a fresh install of RHEL 7, I find LyX 2.1 works well enough, except > the old problem about missing esint.sty re-appears. Any documents with > integrals won't compile because esint.sty is missing. Could you try: # yum install tex(esint.sty) And see if this works? Note that this will work for all other .sty file. > In Ubuntu systems there is no similar problem. I find esint.sty is > included in a package texlive-latex-extra. I'm not finding it in > similar on RedHat, but I have to admit that their "new improved" > package management system is somewhat unhelpful. > > I searched long enough to see there is some peculiar history with > packaging of esint.sty. I DO find the Fedora package in rpmfind.net > "texlive-esint-...". I will rebuild that on the EL7 systems if I have > to. But I can't see why this is necessary at all. > > pj I guess that there is a missing requirement for texlive packages in Fedora/EPEL, if that happens again please report it here or on Redhat bugzilla. That type of issues in on my TODO list to determine a minimum list of dependencies for the lyx rpms on Fedora/EPEL. Regards, -- José Abílio
Re: Beamer
On Friday 27 February 2015 16:51:45 Patrick Dupre wrote: Hello, How can I control the size of the font in the TOC, ie for Section, subsection? I use the Madrid package. Thank for your help. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France === Hi Patrick, when I have similar problems I always check the beamer manual. There are lots of tips there regarding customization. IIRC I do not think that the theme (Madrid in this case) has anything to do with the TOC font size. But I have been proven wrong before. :-) Regards, -- José Abílio
Re: Beamer
On Friday 27 February 2015 16:51:45 Patrick Dupre wrote: Hello, How can I control the size of the font in the TOC, ie for Section, subsection? I use the Madrid package. Thank for your help. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France === Hi Patrick, when I have similar problems I always check the beamer manual. There are lots of tips there regarding customization. IIRC I do not think that the theme (Madrid in this case) has anything to do with the TOC font size. But I have been proven wrong before. :-) Regards, -- José Abílio
Re: Beamer
On Friday 27 February 2015 16:51:45 Patrick Dupre wrote: > Hello, > > How can I control the size of the font in the TOC, ie for Section, subsection? > I use the Madrid package. > > Thank for your help. > > === > Patrick DUPRÉ | | email: pdu...@gmx.com > Laboratoire de Physico-Chimie de l'Atmosphère | | > Université du Littoral-Côte d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > === Hi Patrick, when I have similar problems I always check the beamer manual. There are lots of tips there regarding customization. IIRC I do not think that the theme (Madrid in this case) has anything to do with the TOC font size. But I have been proven wrong before. :-) Regards, -- José Abílio
Re: how can I insert an html id tag
On Wednesday 25 February 2015 07:39:36 Jerry Bond wrote: Hi List -- Using Lyx 2.1.3 on a Linux platform. We have just gone live with a Users Manual for a Linux distribution in both html and pdf format. For the most part, the conversion to html goes well, and only minor adjustments need to be made to the css or the html itself. If it helps, the html Manual is here: http://www.mepiscommunity.org/user_manual_mx15/mxum.html One annoying problem I have not been able to solve is how to avoid inserting a large number of id tags manually into the converted html every time we do a revision of any kind. As you know, these tags are used to direct outside links to a specific portion of the document. For instance, I insert id=users to direct the Help link from an application about managing users to the appropriate location. I have searched the documentation without luck so far, and a general web search has also not been productive. Is there a way to do this inside Lyx? Thanks for any help. Jerry Bond Project Manager MX Linux Does not it works if you insert a label called users? Insert-Label I see that the lyxhtml output is div class=standarda id='magicparlabel-20392' /a id=users / /div Is that what you are looking for? Regards, -- José Abílio
Re: how can I insert an html id tag
On Wednesday 25 February 2015 07:39:36 Jerry Bond wrote: Hi List -- Using Lyx 2.1.3 on a Linux platform. We have just gone live with a Users Manual for a Linux distribution in both html and pdf format. For the most part, the conversion to html goes well, and only minor adjustments need to be made to the css or the html itself. If it helps, the html Manual is here: http://www.mepiscommunity.org/user_manual_mx15/mxum.html One annoying problem I have not been able to solve is how to avoid inserting a large number of id tags manually into the converted html every time we do a revision of any kind. As you know, these tags are used to direct outside links to a specific portion of the document. For instance, I insert id=users to direct the Help link from an application about managing users to the appropriate location. I have searched the documentation without luck so far, and a general web search has also not been productive. Is there a way to do this inside Lyx? Thanks for any help. Jerry Bond Project Manager MX Linux Does not it works if you insert a label called users? Insert-Label I see that the lyxhtml output is div class=standarda id='magicparlabel-20392' /a id=users / /div Is that what you are looking for? Regards, -- José Abílio
Re: how can I insert an html id tag
On Wednesday 25 February 2015 07:39:36 Jerry Bond wrote: > Hi List -- > > Using Lyx 2.1.3 on a Linux platform. > > We have just gone live with a Users Manual for a Linux distribution in > both html and pdf format. For the most part, the conversion to html goes > well, and only minor adjustments need to be made to the css or the html > itself. If it helps, the html Manual is here: > > http://www.mepiscommunity.org/user_manual_mx15/mxum.html > > One annoying problem I have not been able to solve is how to avoid > inserting a large number of id tags manually into the converted html > every time we do a revision of any kind. As you know, these tags are > used to direct outside links to a specific portion of the document. For > instance, I insert
Re: about python3 and lyx
On Wednesday 08 October 2014 09:22:08 Alex Vergara Gil wrote: My questions are exclusive (or not) 1. Is there a plan to move everything to python3 so we can finally forget the old python2? There is consensus to go that way but we are not there yet. We need to identify which parts of the code are python2 specific and at least have the code supporting both versions of python. Any help is welcome. :-) Or 2. Is there a way to have both python3 and bundled python version in lyx living together in windows? Any hints? Best Regards Regards, -- José Abílio
Re: about python3 and lyx
On Wednesday 08 October 2014 09:22:08 Alex Vergara Gil wrote: My questions are exclusive (or not) 1. Is there a plan to move everything to python3 so we can finally forget the old python2? There is consensus to go that way but we are not there yet. We need to identify which parts of the code are python2 specific and at least have the code supporting both versions of python. Any help is welcome. :-) Or 2. Is there a way to have both python3 and bundled python version in lyx living together in windows? Any hints? Best Regards Regards, -- José Abílio
Re: about python3 and lyx
On Wednesday 08 October 2014 09:22:08 Alex Vergara Gil wrote: > My questions are exclusive (or not) > > 1. Is there a plan to move everything to python3 so we can finally > forget the old python2? There is consensus to go that way but we are not there yet. We need to identify which parts of the code are python2 specific and at least have the code supporting both versions of python. Any help is welcome. :-) > Or > > 2. Is there a way to have both python3 and bundled python version in > lyx living together in windows? Any hints? > > Best Regards Regards, -- José Abílio
Re: Beamer/color
On Tuesday 12 August 2014 16:36:22 Patrick Dupre wrote: Hello, Why the vertical space is changed when I set formulas in color? See attached files for comparison. Thank Not much of a help but I found this while searching: macros - How to color math symbols? - TeX - LaTeX Stack ... http://tex.stackexchange.com/questions/21598/how-to-color-math-symbols color - How does changing colour affect spacing? - TeX ... http://tex.stackexchange.com/questions/47050/how-does-changing-colour-affect-spacing So this seems related with latex and not so much with beamer. -- José Abílio
Re: Beamer/color
On Tuesday 12 August 2014 16:36:22 Patrick Dupre wrote: Hello, Why the vertical space is changed when I set formulas in color? See attached files for comparison. Thank Not much of a help but I found this while searching: macros - How to color math symbols? - TeX - LaTeX Stack ... http://tex.stackexchange.com/questions/21598/how-to-color-math-symbols color - How does changing colour affect spacing? - TeX ... http://tex.stackexchange.com/questions/47050/how-does-changing-colour-affect-spacing So this seems related with latex and not so much with beamer. -- José Abílio
Re: Beamer/color
On Tuesday 12 August 2014 16:36:22 Patrick Dupre wrote: > Hello, > > Why the vertical space is changed when I set formulas in color? > See attached files for comparison. > > Thank Not much of a help but I found this while searching: macros - How to color math symbols? - TeX - LaTeX Stack ... http://tex.stackexchange.com/questions/21598/how-to-color-math-symbols color - How does changing colour affect spacing? - TeX ... http://tex.stackexchange.com/questions/47050/how-does-changing-colour-affect-spacing So this seems related with latex and not so much with beamer. -- José Abílio
Re: Lyx Windows
On Tuesday 22 July 2014 13:04:03 Matias Valladares wrote: Estimados, Ola, espero que se encuentren bien. Recientemente compre un notebook con Windows 8, hace muchísimo tiempo que no poseo Windows en el ordenador principal, y por tema de trabajo tengo que tener trabajar con él. Por lo mismo me entra la duda si Lyx funciona de buena manera en este ambiente, puesto que según la página solo funciona en Windows XP/vista/7 Saludos Matias Valladares Hi, the language of this mailing list is English. In the lyx website there you can find that there is a Spanish (language) users' list: http://www.lyx.org/MailingLists lyx-es-h...@lists.lyx.org Regarding your question, if you search on the internet, there are several reports that lyx works on windows 8. Saludos, :-) -- José Abílio
Re: Lyx Windows
On Tuesday 22 July 2014 13:04:03 Matias Valladares wrote: Estimados, Ola, espero que se encuentren bien. Recientemente compre un notebook con Windows 8, hace muchísimo tiempo que no poseo Windows en el ordenador principal, y por tema de trabajo tengo que tener trabajar con él. Por lo mismo me entra la duda si Lyx funciona de buena manera en este ambiente, puesto que según la página solo funciona en Windows XP/vista/7 Saludos Matias Valladares Hi, the language of this mailing list is English. In the lyx website there you can find that there is a Spanish (language) users' list: http://www.lyx.org/MailingLists lyx-es-h...@lists.lyx.org Regarding your question, if you search on the internet, there are several reports that lyx works on windows 8. Saludos, :-) -- José Abílio
Re: Lyx Windows
On Tuesday 22 July 2014 13:04:03 Matias Valladares wrote: > Estimados, > > Ola, espero que se encuentren bien. > Recientemente compre un notebook con Windows 8, hace muchísimo tiempo que no > poseo Windows en el ordenador principal, y por tema de trabajo tengo que > tener trabajar con él. Por lo mismo me entra la duda si Lyx funciona de > buena manera en este ambiente, puesto que según la página solo funciona en > Windows XP/vista/7 > > Saludos > Matias Valladares Hi, the language of this mailing list is English. In the lyx website there you can find that there is a Spanish (language) users' list: http://www.lyx.org/MailingLists lyx-es-h...@lists.lyx.org Regarding your question, if you search on the internet, there are several reports that lyx works on windows 8. Saludos, :-) -- José Abílio
Re: Lyx 2.1.0 not compiling knitr.lyx
On Wednesday 21 May 2014 11:35:09 Ricardo Dislich wrote: I tried the knitr help file (knitr.lyx), and it didn't work out either. I get the following progress/debug messages: What is the error that you get when you try the example shipped with lyx, knitr.lyx? I am asking because the error can not be the same that you reported. The knitr.lyx file has the same version as lyx 2.1 reads and writes and thus lyx2lyx is never called. -- José Abílio
Re: Re: Lyx 2.1.0 not compiling knitr.lyx
On Thursday 22 May 2014 11:06:57 Ricardo Dislich wrote: I tried exactly the knitr.lyx file shipped with LyX, available from the menu Help - Specific Manuals - Knitr At first, LyX informed I did not have the needed converters. After I defined them in Preferences, I was able to click the View button, and then got the error message you can see in the screenshot below: [image: Imagem inline 1] Ricardo It seems that you have the wrong converters. :-( What do you get when you go to Tools-Preferences-File Handling-Converters From Rnw (knitr) to LaTeX (pdflatex) The converter I have is: Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r and I suspect that you have: python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i $$o that seems to be the problem... -- José Abílio
Re: Lyx 2.1.0 not compiling knitr.lyx
On Wednesday 21 May 2014 11:35:09 Ricardo Dislich wrote: I tried the knitr help file (knitr.lyx), and it didn't work out either. I get the following progress/debug messages: What is the error that you get when you try the example shipped with lyx, knitr.lyx? I am asking because the error can not be the same that you reported. The knitr.lyx file has the same version as lyx 2.1 reads and writes and thus lyx2lyx is never called. -- José Abílio
Re: Re: Lyx 2.1.0 not compiling knitr.lyx
On Thursday 22 May 2014 11:06:57 Ricardo Dislich wrote: I tried exactly the knitr.lyx file shipped with LyX, available from the menu Help - Specific Manuals - Knitr At first, LyX informed I did not have the needed converters. After I defined them in Preferences, I was able to click the View button, and then got the error message you can see in the screenshot below: [image: Imagem inline 1] Ricardo It seems that you have the wrong converters. :-( What do you get when you go to Tools-Preferences-File Handling-Converters From Rnw (knitr) to LaTeX (pdflatex) The converter I have is: Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r and I suspect that you have: python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i $$o that seems to be the problem... -- José Abílio
Re: Lyx 2.1.0 not compiling knitr.lyx
On Wednesday 21 May 2014 11:35:09 Ricardo Dislich wrote: > I tried the knitr help file (knitr.lyx), and it didn't work out either. I > get the following progress/debug messages: > What is the error that you get when you try the example shipped with lyx, knitr.lyx? I am asking because the error can not be the same that you reported. The knitr.lyx file has the same version as lyx 2.1 reads and writes and thus lyx2lyx is never called. -- José Abílio
Re: Re: Lyx 2.1.0 not compiling knitr.lyx
On Thursday 22 May 2014 11:06:57 Ricardo Dislich wrote: > I tried exactly the knitr.lyx file shipped with LyX, available from the > menu Help -> Specific Manuals -> Knitr > > At first, LyX informed I did not have the needed converters. After I > defined them in Preferences, I was able to click the View button, and then > got the error message you can see in the screenshot below: > > [image: Imagem inline 1] > > Ricardo It seems that you have the wrong converters. :-( What do you get when you go to Tools->Preferences->File Handling->Converters >From "Rnw (knitr)" to "LaTeX (pdflatex)" The converter I have is: Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r and I suspect that you have: python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i > $$o that seems to be the problem... -- José Abílio
Re: is it possible to create a lyx file as flat ASCII file?
On Friday 09 May 2014 20:28:38 Thirsty Camel wrote: Is it possible to create a lyx file as pure ascii text, particularly a chapter? Yes, I did that for my PhD thesis. I have been trying to create appendix files that should be imported into the main document. I would like to use a script to create my appendix files with 30-100 figures each instead of doing all this manually. That was my case. Unfortunately I cannot seem to create a lyx file that is accepted by the main document, even if it looks to be 100% the same as a manual file. Is there some invisible text generated by lyx? No invisible text or any other data other than the text available at the file. Many thanks for any help -- José Abílio
Re: is it possible to create a lyx file as flat ASCII file?
On Friday 09 May 2014 20:28:38 Thirsty Camel wrote: Is it possible to create a lyx file as pure ascii text, particularly a chapter? Yes, I did that for my PhD thesis. I have been trying to create appendix files that should be imported into the main document. I would like to use a script to create my appendix files with 30-100 figures each instead of doing all this manually. That was my case. Unfortunately I cannot seem to create a lyx file that is accepted by the main document, even if it looks to be 100% the same as a manual file. Is there some invisible text generated by lyx? No invisible text or any other data other than the text available at the file. Many thanks for any help -- José Abílio
Re: is it possible to create a lyx file as flat ASCII file?
On Friday 09 May 2014 20:28:38 Thirsty Camel wrote: > Is it possible to create a lyx file as pure ascii text, particularly a > chapter? Yes, I did that for my PhD thesis. > I have been trying to create appendix files that should be imported into > the main document. I would like to use a script to create my appendix files > with 30-100 figures each instead of doing all this manually. That was my case. > Unfortunately > I cannot seem to create a lyx file that is accepted by the main document, > even if it looks to be 100% the same as a manual file. Is there some > invisible text generated by lyx? No invisible text or any other data other than the text available at the file. > Many thanks for any help -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Wednesday 07 May 2014 20:54:15 Hugh Medal wrote: Here you go: This is what happens with system python (2.7.5): hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_Software_Design_converted.lyx Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 24, in module import LyX File /usr/share/lyx/lyx2lyx/LyX.py, line 26, in module import gzip File /usr/local/lib/python2.7/gzip.py, line 9, in module import zlib ImportError: No module named zlib The last line is the weird part. What is the output of $ which -a python It seems from the path of the call to gzip.py that you are using a version of python different from the system one. That is why I suspect that you have two python versions installed. The system install python into /usr not /usr/local and it seems that that is precisely what you are using and thus the error. FWIW the zlib module is present, in 64 bit install (x86-64), at /usr/lib64/python2.7/lib-dynload/zlibmodule.so -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Wednesday 07 May 2014 20:54:15 Hugh Medal wrote: Here you go: This is what happens with system python (2.7.5): hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_Software_Design_converted.lyx Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 24, in module import LyX File /usr/share/lyx/lyx2lyx/LyX.py, line 26, in module import gzip File /usr/local/lib/python2.7/gzip.py, line 9, in module import zlib ImportError: No module named zlib The last line is the weird part. What is the output of $ which -a python It seems from the path of the call to gzip.py that you are using a version of python different from the system one. That is why I suspect that you have two python versions installed. The system install python into /usr not /usr/local and it seems that that is precisely what you are using and thus the error. FWIW the zlib module is present, in 64 bit install (x86-64), at /usr/lib64/python2.7/lib-dynload/zlibmodule.so -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Wednesday 07 May 2014 20:54:15 Hugh Medal wrote: > Here you go: > > This is what happens with system python (2.7.5): > > hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx > ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx > > > Optimal_Software_Design_converted.lyx > Traceback (most recent call last): > File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 24, in > import LyX > File "/usr/share/lyx/lyx2lyx/LyX.py", line 26, in > import gzip > File "/usr/local/lib/python2.7/gzip.py", line 9, in > import zlib > ImportError: No module named zlib The last line is the weird part. What is the output of $ which -a python It seems from the path of the call to gzip.py that you are using a version of python different from the system one. That is why I suspect that you have two python versions installed. The system install python into /usr not /usr/local and it seems that that is precisely what you are using and thus the error. FWIW the zlib module is present, in 64 bit install (x86-64), at /usr/lib64/python2.7/lib-dynload/zlibmodule.so -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Tuesday 06 May 2014 01:44:25 Hugh Medal wrote: If I need to I can just move to Fedora 20 (I am currently using 19). Just let me know if I should do that. Thanks, Hugh There is no difference here between Fedora 19 and 20. -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Tuesday 06 May 2014 01:44:25 Hugh Medal wrote: If I need to I can just move to Fedora 20 (I am currently using 19). Just let me know if I should do that. Thanks, Hugh There is no difference here between Fedora 19 and 20. -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Tuesday 06 May 2014 01:44:25 Hugh Medal wrote: > If I need to I can just move to Fedora 20 (I am currently using 19). Just let > me know if I should do that. > > Thanks, > Hugh There is no difference here between Fedora 19 and 20. -- José Abílio
Re: converting from LyX 2.0 to 2.1
On Thursday 01 May 2014 20:02:36 Hugh Medal wrote: I am getting this error when I try to open a LYX file created in version 2.0 in version 2.1. ... is from an older version of LyX and the lyx2lyx script failed to convert it. Can you help? Thanks, Hugh I suspect that this could be related with the failure to load some beamer documents that was fixed by Jürgen recently. I have built a new release with all the recent fixes: http://koji.fedoraproject.org/koji/buildinfo?buildID=514543 it should be quite soon on updates-testing. There is an equivalent release for F-19. FWIW your document loads fine here with Fedora 20 and the above version. If you need further instructions how to install this version just tell. :-) Regards, -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Friday 02 May 2014 17:23:05 Jürgen Spitzmüller wrote: Wait a minute. This binary http://pkgs.org/fedora-19/fedora-updates-x86_64/lyx-2.1.0-0.fc19.x86_64.rpm.html looks incomplete to me. The file list has - /usr/bin/lyx - /usr/bin/lyxclient - /usr/bin/tex2lyx - /usr/share/doc/lyx-2.1.0/ - /usr/share/doc/lyx-2.1.0/ANNOUNCE - /usr/share/doc/lyx-2.1.0/COPYING - /usr/share/doc/lyx-2.1.0/CREDITS - /usr/share/doc/lyx-2.1.0/NEWS - /usr/share/doc/lyx-2.1.0/README There is a lot of stuff missing. Amonst others, lyx2lyx. This also seems to be the case for the 32bit version and LyX 2.0.6. This would explain your problems. José, could you please check? Jürgen That is OK. Besides lyx, there are two sub-packages: lyx-common and lyx-fonts. The later is self-descriptive and the former has all the non-arch parts of lyx. lyx2lyx, layouts and company are there. This scheme allows to have a shared sub-package for all the support architectures. Regards, -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Friday 02 May 2014 18:20:42 Jean-Marc Lasgouttes wrote: Why are fonts separate? JMarc IIRC there is an interest from other packages to use lyx-fonts without necessarily having lyx installed: # repoquery --whatrequires lyx-fonts calligra-core-0:2.7.4-1.fc20.x86_64 calligra-core-0:2.8.1-1.fc20.x86_64 calligra-core-0:2.8.2-1.fc20.x86_64 gtkmathview-0:0.8.0-13.fc20.i686 gtkmathview-0:0.8.0-13.fc20.x86_64 libreoffice-langpack-br-1:4.1.3.2-9.fc20.x86_64 [... snip lots of other libreoffice-langpack's ...] lyx-0:2.0.6-3.fc20.x86_64 lyx-0:2.1.0-0.fc20.x86_64 vdr-0:2.0.4-1.fc20.x86_64 vdr-0:2.0.5-1.fc20.x86_64 wordnet-browser-0:3.0-20.fc20.x86_64 So all those packages require the fonts provided by lyx-fonts. I hope that this makes sense. :-) Regards, -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Friday 02 May 2014 18:33:45 Jürgen Spitzmüller wrote: I doubt that. The document is rather simple, and Hugh wrote he cannot open any document. Oops, I did not read all the details. I am sorry for making wrong claims. :-) I suspected lyx2lyx fails for some reason (python problem?), that's why I looked at the rpm and check the path to lyx2lyx on Fedora, so that Hugh can check what happens if he runs lyx2lyx on the file manually. Jürgen It is weird indeed since lyx requires lyx-common so lyx2lyx should be available. Python is a central part of a Fedora installation, it is not possible to remove it and lyx2lyx only requires the standard library. -- José Abílio
Re: converting from LyX 2.0 to 2.1
On Thursday 01 May 2014 20:02:36 Hugh Medal wrote: I am getting this error when I try to open a LYX file created in version 2.0 in version 2.1. ... is from an older version of LyX and the lyx2lyx script failed to convert it. Can you help? Thanks, Hugh I suspect that this could be related with the failure to load some beamer documents that was fixed by Jürgen recently. I have built a new release with all the recent fixes: http://koji.fedoraproject.org/koji/buildinfo?buildID=514543 it should be quite soon on updates-testing. There is an equivalent release for F-19. FWIW your document loads fine here with Fedora 20 and the above version. If you need further instructions how to install this version just tell. :-) Regards, -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Friday 02 May 2014 17:23:05 Jürgen Spitzmüller wrote: Wait a minute. This binary http://pkgs.org/fedora-19/fedora-updates-x86_64/lyx-2.1.0-0.fc19.x86_64.rpm.html looks incomplete to me. The file list has - /usr/bin/lyx - /usr/bin/lyxclient - /usr/bin/tex2lyx - /usr/share/doc/lyx-2.1.0/ - /usr/share/doc/lyx-2.1.0/ANNOUNCE - /usr/share/doc/lyx-2.1.0/COPYING - /usr/share/doc/lyx-2.1.0/CREDITS - /usr/share/doc/lyx-2.1.0/NEWS - /usr/share/doc/lyx-2.1.0/README There is a lot of stuff missing. Amonst others, lyx2lyx. This also seems to be the case for the 32bit version and LyX 2.0.6. This would explain your problems. José, could you please check? Jürgen That is OK. Besides lyx, there are two sub-packages: lyx-common and lyx-fonts. The later is self-descriptive and the former has all the non-arch parts of lyx. lyx2lyx, layouts and company are there. This scheme allows to have a shared sub-package for all the support architectures. Regards, -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Friday 02 May 2014 18:20:42 Jean-Marc Lasgouttes wrote: Why are fonts separate? JMarc IIRC there is an interest from other packages to use lyx-fonts without necessarily having lyx installed: # repoquery --whatrequires lyx-fonts calligra-core-0:2.7.4-1.fc20.x86_64 calligra-core-0:2.8.1-1.fc20.x86_64 calligra-core-0:2.8.2-1.fc20.x86_64 gtkmathview-0:0.8.0-13.fc20.i686 gtkmathview-0:0.8.0-13.fc20.x86_64 libreoffice-langpack-br-1:4.1.3.2-9.fc20.x86_64 [... snip lots of other libreoffice-langpack's ...] lyx-0:2.0.6-3.fc20.x86_64 lyx-0:2.1.0-0.fc20.x86_64 vdr-0:2.0.4-1.fc20.x86_64 vdr-0:2.0.5-1.fc20.x86_64 wordnet-browser-0:3.0-20.fc20.x86_64 So all those packages require the fonts provided by lyx-fonts. I hope that this makes sense. :-) Regards, -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Friday 02 May 2014 18:33:45 Jürgen Spitzmüller wrote: I doubt that. The document is rather simple, and Hugh wrote he cannot open any document. Oops, I did not read all the details. I am sorry for making wrong claims. :-) I suspected lyx2lyx fails for some reason (python problem?), that's why I looked at the rpm and check the path to lyx2lyx on Fedora, so that Hugh can check what happens if he runs lyx2lyx on the file manually. Jürgen It is weird indeed since lyx requires lyx-common so lyx2lyx should be available. Python is a central part of a Fedora installation, it is not possible to remove it and lyx2lyx only requires the standard library. -- José Abílio
Re: converting from LyX 2.0 to 2.1
On Thursday 01 May 2014 20:02:36 Hugh Medal wrote: > I am getting this error when I try to open a LYX file created in version 2.0 > in version 2.1. > > ... is from an older version of LyX and the lyx2lyx script failed to convert > it. > > Can you help? > > Thanks, > Hugh I suspect that this could be related with the failure to load some beamer documents that was fixed by Jürgen recently. I have built a new release with all the recent fixes: http://koji.fedoraproject.org/koji/buildinfo?buildID=514543 it should be quite soon on updates-testing. There is an equivalent release for F-19. FWIW your document loads fine here with Fedora 20 and the above version. If you need further instructions how to install this version just tell. :-) Regards, -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Friday 02 May 2014 17:23:05 Jürgen Spitzmüller wrote: > > Wait a minute. > > This binary > http://pkgs.org/fedora-19/fedora-updates-x86_64/lyx-2.1.0-0.fc19.x86_64.rpm.html > looks incomplete to me. > > The file list has > >- /usr/bin/lyx >- /usr/bin/lyxclient >- /usr/bin/tex2lyx >- /usr/share/doc/lyx-2.1.0/ >- /usr/share/doc/lyx-2.1.0/ANNOUNCE >- /usr/share/doc/lyx-2.1.0/COPYING >- /usr/share/doc/lyx-2.1.0/CREDITS >- /usr/share/doc/lyx-2.1.0/NEWS >- /usr/share/doc/lyx-2.1.0/README > > There is a lot of stuff missing. Amonst others, lyx2lyx. This also seems to > be the case for the 32bit version and LyX 2.0.6. > > This would explain your problems. > > José, could you please check? > > Jürgen That is OK. Besides lyx, there are two sub-packages: lyx-common and lyx-fonts. The later is self-descriptive and the former has all the non-arch parts of lyx. lyx2lyx, layouts and company are there. This scheme allows to have a shared sub-package for all the support architectures. Regards, -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Friday 02 May 2014 18:20:42 Jean-Marc Lasgouttes wrote: > Why are fonts separate? > > JMarc IIRC there is an interest from other packages to use lyx-fonts without necessarily having lyx installed: # repoquery --whatrequires lyx-fonts calligra-core-0:2.7.4-1.fc20.x86_64 calligra-core-0:2.8.1-1.fc20.x86_64 calligra-core-0:2.8.2-1.fc20.x86_64 gtkmathview-0:0.8.0-13.fc20.i686 gtkmathview-0:0.8.0-13.fc20.x86_64 libreoffice-langpack-br-1:4.1.3.2-9.fc20.x86_64 [... snip lots of other libreoffice-langpack's ...] lyx-0:2.0.6-3.fc20.x86_64 lyx-0:2.1.0-0.fc20.x86_64 vdr-0:2.0.4-1.fc20.x86_64 vdr-0:2.0.5-1.fc20.x86_64 wordnet-browser-0:3.0-20.fc20.x86_64 So all those packages require the fonts provided by lyx-fonts. I hope that this makes sense. :-) Regards, -- José Abílio
Re: Re: converting from LyX 2.0 to 2.1
On Friday 02 May 2014 18:33:45 Jürgen Spitzmüller wrote: > I doubt that. The document is rather simple, and Hugh wrote he cannot open > any document. Oops, I did not read all the details. I am sorry for making wrong claims. :-) > I suspected lyx2lyx fails for some reason (python problem?), that's why I > looked at the rpm and check the path to lyx2lyx on Fedora, so that Hugh can > check what happens if he runs lyx2lyx on the file manually. > > Jürgen It is weird indeed since lyx requires lyx-common so lyx2lyx should be available. Python is a central part of a Fedora installation, it is not possible to remove it and lyx2lyx only requires the standard library. -- José Abílio
Re: Re: french.ldf
On Sunday 26 January 2014 11:30:48 Patrick Dupre wrote: It is bizard that yum search frenchb.ldf does not find: texlive-babel-french For performance reasons yum search does not search the file names of the packages. From the man page: yum search ... This is used to find packages when you know something about the package but aren't sure of it's name. By default search will try searching just package names and summaries, but if that fails it will then try descriptions and url. In my case: $ rpm -qa | wc -l 8317 $ find /usr/share | wc -l find: ‘/usr/share/polkit-1/rules.d’: Permission denied 501610 Note that I am just searching a popular directory, not even the whole file system, that I do not have all the packages installed and the counter shows more than half of a million file names. Regards, -- José Abílio
Re: Re: french.ldf
On Sunday 26 January 2014 11:30:48 Patrick Dupre wrote: It is bizard that yum search frenchb.ldf does not find: texlive-babel-french For performance reasons yum search does not search the file names of the packages. From the man page: yum search ... This is used to find packages when you know something about the package but aren't sure of it's name. By default search will try searching just package names and summaries, but if that fails it will then try descriptions and url. In my case: $ rpm -qa | wc -l 8317 $ find /usr/share | wc -l find: ‘/usr/share/polkit-1/rules.d’: Permission denied 501610 Note that I am just searching a popular directory, not even the whole file system, that I do not have all the packages installed and the counter shows more than half of a million file names. Regards, -- José Abílio
Re: Re: french.ldf
On Sunday 26 January 2014 11:30:48 Patrick Dupre wrote: > It is bizard that > yum search frenchb.ldf > > does not find: > texlive-babel-french For performance reasons "yum search" does not search the file names of the packages. >From the man page: "yum search ... This is used to find packages when you know something about the package but aren't sure of it's name. By default search will try searching just package names and summaries, but if that "fails" it will then try descriptions and url." In my case: $ rpm -qa | wc -l 8317 $ find /usr/share | wc -l find: ‘/usr/share/polkit-1/rules.d’: Permission denied 501610 Note that I am just searching a popular directory, not even the whole file system, that I do not have all the packages installed and the counter shows more than half of a million file names. Regards, -- José Abílio
Re: Import Docbook into LyX?
On Wednesday 11 September 2013 03:56:21 Jerry wrote: Is it possible to import Docbook files into LyX? Jerry Nope. :-) At least not directly. And all the other options imply to loose the semantic markup. -- José Abílio
Re: opt []
On Thursday 12 September 2013 17:55:40 Patrick Dupre wrote: Hello, I cannot remember how to insert opt for [] in front of a date or a title Sometime, in insert, the option short title is not active! Thank A hack is to insert it at a place where it is allowed (like title) and then move it to where you want it. Not optimal, and IIRC it is improved/fixed at lyx-2.1 but it works. :-) -- José Abílio
Re: Import Docbook into LyX?
On Wednesday 11 September 2013 03:56:21 Jerry wrote: Is it possible to import Docbook files into LyX? Jerry Nope. :-) At least not directly. And all the other options imply to loose the semantic markup. -- José Abílio
Re: opt []
On Thursday 12 September 2013 17:55:40 Patrick Dupre wrote: Hello, I cannot remember how to insert opt for [] in front of a date or a title Sometime, in insert, the option short title is not active! Thank A hack is to insert it at a place where it is allowed (like title) and then move it to where you want it. Not optimal, and IIRC it is improved/fixed at lyx-2.1 but it works. :-) -- José Abílio
Re: Import Docbook into LyX?
On Wednesday 11 September 2013 03:56:21 Jerry wrote: > Is it possible to import Docbook files into LyX? > > Jerry Nope. :-) At least not directly. And all the other options imply to loose the semantic markup. -- José Abílio
Re: opt []
On Thursday 12 September 2013 17:55:40 Patrick Dupre wrote: > Hello, > > I cannot remember how to insert opt for [] in front of a date or a title > Sometime, in insert, the option "short title" is not active! > > Thank A hack is to insert it at a place where it is allowed (like title) and then move it to where you want it. Not optimal, and IIRC it is improved/fixed at lyx-2.1 but it works. :-) -- José Abílio
Re: Re: Can't underline large text
On Tuesday 02 April 2013 12:55:53 Stephan Witt wrote: Yes, here I have: % latex This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) Stephan It works for me. $ latex This is pdfTeX, Version 3.1415926-2.5-1.40.13 (TeX Live 2013/dev) -- José Abílio
Re: Re: Can't underline large text
On Tuesday 02 April 2013 12:55:53 Stephan Witt wrote: Yes, here I have: % latex This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) Stephan It works for me. $ latex This is pdfTeX, Version 3.1415926-2.5-1.40.13 (TeX Live 2013/dev) -- José Abílio