Re: Convert vector graphics to bitmap
The document contains a larger number of images. As these are results from scientific computations, they contain a large number of details. This allows the user to zoom deep into the image when viewing the document on screen. However, in the printed version it is obviously not possible to resolve so many details. The publisher claims this may result in unexpected appearance of the images during the printing process. I am not sure about the technical reasons and differences of book printing to regular home printers, but he asked me to provide bitmap based graphics instead.
deleted lyx system directory /usr/share/lyx
I accidentally deleted my Lyx system directory /usr/share/lyx/ in Ubuntu 11.04. Now, I get the following message when I try to start Lyx Unable to determine the system directory having searched /usr/share/lyx/. Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_20x to the LyX system directory containing the file `chkconfig.ltx'. Reinstalling Lyx or copying the above folder from other systems is not helping. Thanks, Ashutosh
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 8:38 AM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: I accidentally deleted my Lyx system directory /usr/share/lyx/ in Ubuntu 11.04. Now, I get the following message when I try to start Lyx Unable to determine the system directory having searched /usr/share/lyx/. Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_20x to the LyX system directory containing the file `chkconfig.ltx'. Reinstalling Lyx or copying the above folder from other systems is not helping. I find it strange that reinstalling LyX does not create /usr/share/lyx. Are you sure you did purge and not remove? Can you please post the output of sudo apt-get purge lyx sudo apt-get install lyx I would normally suggest trying the LyX PPA: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 But I don't think we support 11.04. Best, Scott
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 8:59 AM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: Thanks for the reply. Output of the command is posted below ashutosh@ashutosh-ThinkCentre:/usr/share$ sudo apt-get purge lyx sudo apt-get install lyx Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu libboost-regex1.42.0 texlive-pictures-doc texlive-latex-extra-doc preview-latex-style ttf-lyx texlive-generic-extra texlive-science libboost-signals1.42.0 texlive-latex-extra lyx-common gnome-js-common texlive-science-doc elyxer texlive-pictures Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: lyx* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 10.6 MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 411673 files and directories currently installed.) Removing lyx ... Purging configuration files for lyx ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for menu ... Processing triggers for man-db ... Processing triggers for python-support ... Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu gnome-js-common Use 'apt-get autoremove' to remove them. Suggested packages: rcs dvipost groff libtiff-tools gnuhtml2latex wv chktex noweb sgmltools-lite linuxdoc-tools writer2latex librsvg2-bin inkscape texlive-xetex etoolbox libapp-makebeamerinfo-perl The following NEW packages will be installed: lyx 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 0 B/4,228 kB of archives. After this operation, 10.6 MB of additional disk space will be used. Selecting previously deselected package lyx. (Reading database ... 411663 files and directories currently installed.) Unpacking lyx (from .../lyx_2.0.4-1~natty~ppa1_i386.deb) ... Processing triggers for man-db ... Processing triggers for menu ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for python-support ... Setting up lyx (2.0.4-1~natty~ppa1) ... Processing triggers for menu ... Please respond to the list, not to me personally. Also, please bottom-post. See http://www.lyx.org/MailingLists#toc7 I'm not sure why the above is not working. Maybe someone else will. It looks like our PPA does support Natty. Consider giving it a try. The instructions are here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 Best, Scott
Re: Custom module: inset for mdframed boxes
Dear lyx users list I was wondering whether someone would have any insights for the question (see below) I asked a few days ago on this list, regarding help for writing a custom module. Maybe I should rather ask on the lyx-devel, where people might be more familiar with customising Lyx? Thanks! Matthieu Le 19. 06. 14 10:36, Matthieu a écrit : Dear Lyx users list I would like to use the mdframed package in Lyx, which offers nice boxes. In its simplest form, mdframed is just used with (see below for reproduciible latex code): \begin{mdframed} A box \end{mdframed} Eventually with [frametitle=A title] I was trying to create a Lyx inset for this, made it somehow, but this is a very rough draft, and I would appreciate any help, in particular: -how to give the new inset a feeling of box? I tried adding: CopyStyle Box or: HTMLStyle div.Frameless { margin: 1em; } EndHTMLStyle as I saw for boxes, but it does not work. -For the title of the box, the user needs to add herself: frametitle=A title Ideally, one would not need to do this... is this avoidable in Lyx (make him add automatically frametitle=), or does one need to rewrite slightly the environment mdframed? -More generally, I choose to use it as a custom inset, but could have done defining it as a new style.. is this choice sound? Thanks!! ### #Lyx module: ### #\DeclareLyXModule[mdframed.sty]{MD frame} #DescriptionBegin # Try to use package mdframed #DescriptionEnd Format 49 InsetLayout Flex:MDbox LyXType custom LatexName mdframed LatexType Environment LabelString Md frame Requiresmdframed LabelFont Color blue Sizelarge EndFont MultiPartrue HTMLStyle div.Frameless { margin: 1em; } EndHTMLStyle Preamble \usepackage{mdframed} EndPreamble Argument 1 LabelStringBox Title, write: frametitle=AA TooltipEnter the box title here Mandatory 0 Decoration conglomerate Font Colorblue Size large EndFont AutoInsert 1 EndArgument End #LaTeX minimal mdframed: \documentclass[a4paper,10pt]{article} \usepackage{mdframed} \begin{document} \begin{mdframed} A box \end{mdframed} And \begin{mdframed}[frametitle=A title] A box \end{mdframed} \end{document}
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 6:56 PM, Scott Kostyshak skost...@lyx.org wrote: On Mon, Jun 23, 2014 at 8:59 AM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: Thanks for the reply. Output of the command is posted below ashutosh@ashutosh-ThinkCentre:/usr/share$ sudo apt-get purge lyx sudo apt-get install lyx Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu libboost-regex1.42.0 texlive-pictures-doc texlive-latex-extra-doc preview-latex-style ttf-lyx texlive-generic-extra texlive-science libboost-signals1.42.0 texlive-latex-extra lyx-common gnome-js-common texlive-science-doc elyxer texlive-pictures Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: lyx* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 10.6 MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 411673 files and directories currently installed.) Removing lyx ... Purging configuration files for lyx ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for menu ... Processing triggers for man-db ... Processing triggers for python-support ... Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu gnome-js-common Use 'apt-get autoremove' to remove them. Suggested packages: rcs dvipost groff libtiff-tools gnuhtml2latex wv chktex noweb sgmltools-lite linuxdoc-tools writer2latex librsvg2-bin inkscape texlive-xetex etoolbox libapp-makebeamerinfo-perl The following NEW packages will be installed: lyx 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 0 B/4,228 kB of archives. After this operation, 10.6 MB of additional disk space will be used. Selecting previously deselected package lyx. (Reading database ... 411663 files and directories currently installed.) Unpacking lyx (from .../lyx_2.0.4-1~natty~ppa1_i386.deb) ... Processing triggers for man-db ... Processing triggers for menu ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for python-support ... Setting up lyx (2.0.4-1~natty~ppa1) ... Processing triggers for menu ... Please respond to the list, not to me personally. Also, please bottom-post. See http://www.lyx.org/MailingLists#toc7 I'm not sure why the above is not working. Maybe someone else will. It looks like our PPA does support Natty. Consider giving it a try. The instructions are here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 Best, Scott I had deleted /usr/share/lyx (version 2.0.4) and /usr/share/lyx2.1 corresponding to ppa:lyx-devel/release and ppa:lyx-devel/daily respectively. Just now I installed lyx1.6 which I believe must be the original version in the Ubuntu repository. It is working fine and a folder /usr/share/lyx1.6 is has also been created. Regards, Ashutosh
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 6:41 PM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: On Mon, Jun 23, 2014 at 6:56 PM, Scott Kostyshak skost...@lyx.org wrote: On Mon, Jun 23, 2014 at 8:59 AM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: Thanks for the reply. Output of the command is posted below ashutosh@ashutosh-ThinkCentre:/usr/share$ sudo apt-get purge lyx sudo apt-get install lyx Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu libboost-regex1.42.0 texlive-pictures-doc texlive-latex-extra-doc preview-latex-style ttf-lyx texlive-generic-extra texlive-science libboost-signals1.42.0 texlive-latex-extra lyx-common gnome-js-common texlive-science-doc elyxer texlive-pictures Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: lyx* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 10.6 MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 411673 files and directories currently installed.) Removing lyx ... Purging configuration files for lyx ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for menu ... Processing triggers for man-db ... Processing triggers for python-support ... Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu gnome-js-common Use 'apt-get autoremove' to remove them. Suggested packages: rcs dvipost groff libtiff-tools gnuhtml2latex wv chktex noweb sgmltools-lite linuxdoc-tools writer2latex librsvg2-bin inkscape texlive-xetex etoolbox libapp-makebeamerinfo-perl The following NEW packages will be installed: lyx 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 0 B/4,228 kB of archives. After this operation, 10.6 MB of additional disk space will be used. Selecting previously deselected package lyx. (Reading database ... 411663 files and directories currently installed.) Unpacking lyx (from .../lyx_2.0.4-1~natty~ppa1_i386.deb) ... Processing triggers for man-db ... Processing triggers for menu ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for python-support ... Setting up lyx (2.0.4-1~natty~ppa1) ... Processing triggers for menu ... Please respond to the list, not to me personally. Also, please bottom-post. See http://www.lyx.org/MailingLists#toc7 I'm not sure why the above is not working. Maybe someone else will. It looks like our PPA does support Natty. Consider giving it a try. The instructions are here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 Best, Scott I had deleted /usr/share/lyx (version 2.0.4) and /usr/share/lyx2.1 corresponding to ppa:lyx-devel/release and ppa:lyx-devel/daily respectively. Just now I installed lyx1.6 For info: This one is from the PPA (NOT the official Ubuntu repos), and it corresponds to a rather older release of LyX. You may be happier installing 2.0.x. Liviu which I believe must be the original version in the Ubuntu repository. It is working fine and a folder /usr/share/lyx1.6 is has also been created. Regards, Ashutosh -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
lyx2lyx script failed to convert the file
I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? Thanks, Ashutosh
Re: lyx2lyx script failed to convert the file
On Mon, Jun 23, 2014 at 2:24 PM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? Only if you use 2.0.8 (the last release in the minor series can open the next major format). You can alternatively copy the lyx2lyx scripts from 2.0.8 or 2.1.x and use those. Best, Scott
Re: lyx2lyx script failed to convert the file
On Tue, Jun 24, 2014 at 12:48 AM, Scott Kostyshak skost...@lyx.org wrote: On Mon, Jun 23, 2014 at 2:24 PM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? Only if you use 2.0.8 (the last release in the minor series can open the next major format). You can alternatively copy the lyx2lyx scripts from 2.0.8 or 2.1.x and use those. Best, Scott Thanks. Copying the lyx2lyx scripts worked!! Regards, Ashutosh
Re: lyx2lyx script failed to convert the file
On 6/23/2014 2:24 PM, ashutosh vishwa bandhu wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? I just change the \lyxformat specifier using a text editor and it usually will work. just open your .lyx file and make the change to see if it will open.
Re: lyx2lyx script failed to convert the file
On 06/23/2014 03:35 PM, Ross Reyes wrote: On 6/23/2014 2:24 PM, ashutosh vishwa bandhu wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? I just change the \lyxformat specifier using a text editor and it usually will work. just open your .lyx file and make the change to see if it will open. This is not a good idea. In an emergency, I suppose it's worth trying, but there is a reason the format number changes. With Lyx 2.1.x files, for example, if you use any of what used to be called Short Title insets, you will get errors. Richard
Footer in Koma letter - \lfoot - \cfoot - \rfoot
In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot So that I can place three different names and address details onto the first page of the document. I have googled and I have read custom header and footer documents as well as .pdf files that tell me a great deal about headers and footers and even used a footer file that was from the wrong KOMA script or something and was chastised for attempting to use it by LyX. Looked through my DIN.lco and every place possible where tweak might be made. I never realised there were so many LaTeX sites that had something about footnotes on them. After futie attempts have had a million error messages and openings that conflicted when I used fancy instead of default, and on and on. Tried longtable and multirow, footnotesize and just about everything that was suggested in all my readings with different parameters and I have given it best. So I am here again. The one thing I haven't done, is create my own template to do what I want rather than use the letter template. In the past I used a template I made myself, but it was just created from a KOMA article template, and I think when I discovered the letter template I liked it better? But can only imagine that's why I changed. Why else? Anyway it's done my head in, and I realise it's laziness in a way because eventually, maybe a year from now I'll read something that puts it all together and I'll be able to do it. Or maybe never and accept living without it. But if someone can help me in this it would be truly great. It's just stubbornness that makes me want to use the template like this, and a certain amount of ire that I can't find where this type of footnote for a letter, is documented. Because it's a very popular way to create a letter. With something like manager, assistant manager and office address, or president, secretary and treasurer, or similar and their contact details in the footer of a letter? It's probably somewhere I have just not thought to look, or under a heading I haven' associated with a letter. Thanks in advance, Charlie -- Registered Linux User:- 329524 *** Whether the flower looks better in the nosegay than in the meadow where it grew and we had to wet our feet to get it! Is the scholastic air any advantage? ..Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -
enumitem cloned lists
I cloned, to use the terminology of the enumitem package documentation section 7, a new itemize list and put it in the LaTeX preamble of my Lyx file: \newlist{emptydisplay}{itemize}{1} \setlist[emptydisplay]{label={}, itemindent=1em, align=left, labelsep=!} Now I can use this new itemize list by putting, e.g., the following in an ERT box: \begin{emptydisplay} \item The inventor of bifocals wrote an autobiography \item The first post-master general of the US wrote an autobiography \end{emptydisplay} Is there a way of making this new list a Lyx style, so I can apply it just as I apply Quote, Enumerate-Resume, etc.? I suspect this might involve modifying a layout file, or, even the enumitem module, is that right? And if so, are there instructions somewhere for doing this? Many thanks! Sanford
Re: Convert vector graphics to bitmap
The document contains a larger number of images. As these are results from scientific computations, they contain a large number of details. This allows the user to zoom deep into the image when viewing the document on screen. However, in the printed version it is obviously not possible to resolve so many details. The publisher claims this may result in unexpected appearance of the images during the printing process. I am not sure about the technical reasons and differences of book printing to regular home printers, but he asked me to provide bitmap based graphics instead.
deleted lyx system directory /usr/share/lyx
I accidentally deleted my Lyx system directory /usr/share/lyx/ in Ubuntu 11.04. Now, I get the following message when I try to start Lyx Unable to determine the system directory having searched /usr/share/lyx/. Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_20x to the LyX system directory containing the file `chkconfig.ltx'. Reinstalling Lyx or copying the above folder from other systems is not helping. Thanks, Ashutosh
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 8:38 AM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: I accidentally deleted my Lyx system directory /usr/share/lyx/ in Ubuntu 11.04. Now, I get the following message when I try to start Lyx Unable to determine the system directory having searched /usr/share/lyx/. Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_20x to the LyX system directory containing the file `chkconfig.ltx'. Reinstalling Lyx or copying the above folder from other systems is not helping. I find it strange that reinstalling LyX does not create /usr/share/lyx. Are you sure you did purge and not remove? Can you please post the output of sudo apt-get purge lyx sudo apt-get install lyx I would normally suggest trying the LyX PPA: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 But I don't think we support 11.04. Best, Scott
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 8:59 AM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: Thanks for the reply. Output of the command is posted below ashutosh@ashutosh-ThinkCentre:/usr/share$ sudo apt-get purge lyx sudo apt-get install lyx Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu libboost-regex1.42.0 texlive-pictures-doc texlive-latex-extra-doc preview-latex-style ttf-lyx texlive-generic-extra texlive-science libboost-signals1.42.0 texlive-latex-extra lyx-common gnome-js-common texlive-science-doc elyxer texlive-pictures Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: lyx* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 10.6 MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 411673 files and directories currently installed.) Removing lyx ... Purging configuration files for lyx ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for menu ... Processing triggers for man-db ... Processing triggers for python-support ... Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu gnome-js-common Use 'apt-get autoremove' to remove them. Suggested packages: rcs dvipost groff libtiff-tools gnuhtml2latex wv chktex noweb sgmltools-lite linuxdoc-tools writer2latex librsvg2-bin inkscape texlive-xetex etoolbox libapp-makebeamerinfo-perl The following NEW packages will be installed: lyx 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 0 B/4,228 kB of archives. After this operation, 10.6 MB of additional disk space will be used. Selecting previously deselected package lyx. (Reading database ... 411663 files and directories currently installed.) Unpacking lyx (from .../lyx_2.0.4-1~natty~ppa1_i386.deb) ... Processing triggers for man-db ... Processing triggers for menu ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for python-support ... Setting up lyx (2.0.4-1~natty~ppa1) ... Processing triggers for menu ... Please respond to the list, not to me personally. Also, please bottom-post. See http://www.lyx.org/MailingLists#toc7 I'm not sure why the above is not working. Maybe someone else will. It looks like our PPA does support Natty. Consider giving it a try. The instructions are here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 Best, Scott
Re: Custom module: inset for mdframed boxes
Dear lyx users list I was wondering whether someone would have any insights for the question (see below) I asked a few days ago on this list, regarding help for writing a custom module. Maybe I should rather ask on the lyx-devel, where people might be more familiar with customising Lyx? Thanks! Matthieu Le 19. 06. 14 10:36, Matthieu a écrit : Dear Lyx users list I would like to use the mdframed package in Lyx, which offers nice boxes. In its simplest form, mdframed is just used with (see below for reproduciible latex code): \begin{mdframed} A box \end{mdframed} Eventually with [frametitle=A title] I was trying to create a Lyx inset for this, made it somehow, but this is a very rough draft, and I would appreciate any help, in particular: -how to give the new inset a feeling of box? I tried adding: CopyStyle Box or: HTMLStyle div.Frameless { margin: 1em; } EndHTMLStyle as I saw for boxes, but it does not work. -For the title of the box, the user needs to add herself: frametitle=A title Ideally, one would not need to do this... is this avoidable in Lyx (make him add automatically frametitle=), or does one need to rewrite slightly the environment mdframed? -More generally, I choose to use it as a custom inset, but could have done defining it as a new style.. is this choice sound? Thanks!! ### #Lyx module: ### #\DeclareLyXModule[mdframed.sty]{MD frame} #DescriptionBegin # Try to use package mdframed #DescriptionEnd Format 49 InsetLayout Flex:MDbox LyXType custom LatexName mdframed LatexType Environment LabelString Md frame Requiresmdframed LabelFont Color blue Sizelarge EndFont MultiPartrue HTMLStyle div.Frameless { margin: 1em; } EndHTMLStyle Preamble \usepackage{mdframed} EndPreamble Argument 1 LabelStringBox Title, write: frametitle=AA TooltipEnter the box title here Mandatory 0 Decoration conglomerate Font Colorblue Size large EndFont AutoInsert 1 EndArgument End #LaTeX minimal mdframed: \documentclass[a4paper,10pt]{article} \usepackage{mdframed} \begin{document} \begin{mdframed} A box \end{mdframed} And \begin{mdframed}[frametitle=A title] A box \end{mdframed} \end{document}
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 6:56 PM, Scott Kostyshak skost...@lyx.org wrote: On Mon, Jun 23, 2014 at 8:59 AM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: Thanks for the reply. Output of the command is posted below ashutosh@ashutosh-ThinkCentre:/usr/share$ sudo apt-get purge lyx sudo apt-get install lyx Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu libboost-regex1.42.0 texlive-pictures-doc texlive-latex-extra-doc preview-latex-style ttf-lyx texlive-generic-extra texlive-science libboost-signals1.42.0 texlive-latex-extra lyx-common gnome-js-common texlive-science-doc elyxer texlive-pictures Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: lyx* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 10.6 MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 411673 files and directories currently installed.) Removing lyx ... Purging configuration files for lyx ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for menu ... Processing triggers for man-db ... Processing triggers for python-support ... Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu gnome-js-common Use 'apt-get autoremove' to remove them. Suggested packages: rcs dvipost groff libtiff-tools gnuhtml2latex wv chktex noweb sgmltools-lite linuxdoc-tools writer2latex librsvg2-bin inkscape texlive-xetex etoolbox libapp-makebeamerinfo-perl The following NEW packages will be installed: lyx 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 0 B/4,228 kB of archives. After this operation, 10.6 MB of additional disk space will be used. Selecting previously deselected package lyx. (Reading database ... 411663 files and directories currently installed.) Unpacking lyx (from .../lyx_2.0.4-1~natty~ppa1_i386.deb) ... Processing triggers for man-db ... Processing triggers for menu ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for python-support ... Setting up lyx (2.0.4-1~natty~ppa1) ... Processing triggers for menu ... Please respond to the list, not to me personally. Also, please bottom-post. See http://www.lyx.org/MailingLists#toc7 I'm not sure why the above is not working. Maybe someone else will. It looks like our PPA does support Natty. Consider giving it a try. The instructions are here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 Best, Scott I had deleted /usr/share/lyx (version 2.0.4) and /usr/share/lyx2.1 corresponding to ppa:lyx-devel/release and ppa:lyx-devel/daily respectively. Just now I installed lyx1.6 which I believe must be the original version in the Ubuntu repository. It is working fine and a folder /usr/share/lyx1.6 is has also been created. Regards, Ashutosh
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 6:41 PM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: On Mon, Jun 23, 2014 at 6:56 PM, Scott Kostyshak skost...@lyx.org wrote: On Mon, Jun 23, 2014 at 8:59 AM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: Thanks for the reply. Output of the command is posted below ashutosh@ashutosh-ThinkCentre:/usr/share$ sudo apt-get purge lyx sudo apt-get install lyx Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu libboost-regex1.42.0 texlive-pictures-doc texlive-latex-extra-doc preview-latex-style ttf-lyx texlive-generic-extra texlive-science libboost-signals1.42.0 texlive-latex-extra lyx-common gnome-js-common texlive-science-doc elyxer texlive-pictures Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: lyx* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 10.6 MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 411673 files and directories currently installed.) Removing lyx ... Purging configuration files for lyx ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for menu ... Processing triggers for man-db ... Processing triggers for python-support ... Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: unpaper menu gnome-js-common Use 'apt-get autoremove' to remove them. Suggested packages: rcs dvipost groff libtiff-tools gnuhtml2latex wv chktex noweb sgmltools-lite linuxdoc-tools writer2latex librsvg2-bin inkscape texlive-xetex etoolbox libapp-makebeamerinfo-perl The following NEW packages will be installed: lyx 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 0 B/4,228 kB of archives. After this operation, 10.6 MB of additional disk space will be used. Selecting previously deselected package lyx. (Reading database ... 411663 files and directories currently installed.) Unpacking lyx (from .../lyx_2.0.4-1~natty~ppa1_i386.deb) ... Processing triggers for man-db ... Processing triggers for menu ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for python-support ... Setting up lyx (2.0.4-1~natty~ppa1) ... Processing triggers for menu ... Please respond to the list, not to me personally. Also, please bottom-post. See http://www.lyx.org/MailingLists#toc7 I'm not sure why the above is not working. Maybe someone else will. It looks like our PPA does support Natty. Consider giving it a try. The instructions are here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 Best, Scott I had deleted /usr/share/lyx (version 2.0.4) and /usr/share/lyx2.1 corresponding to ppa:lyx-devel/release and ppa:lyx-devel/daily respectively. Just now I installed lyx1.6 For info: This one is from the PPA (NOT the official Ubuntu repos), and it corresponds to a rather older release of LyX. You may be happier installing 2.0.x. Liviu which I believe must be the original version in the Ubuntu repository. It is working fine and a folder /usr/share/lyx1.6 is has also been created. Regards, Ashutosh -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
lyx2lyx script failed to convert the file
I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? Thanks, Ashutosh
Re: lyx2lyx script failed to convert the file
On Mon, Jun 23, 2014 at 2:24 PM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? Only if you use 2.0.8 (the last release in the minor series can open the next major format). You can alternatively copy the lyx2lyx scripts from 2.0.8 or 2.1.x and use those. Best, Scott
Re: lyx2lyx script failed to convert the file
On Tue, Jun 24, 2014 at 12:48 AM, Scott Kostyshak skost...@lyx.org wrote: On Mon, Jun 23, 2014 at 2:24 PM, ashutosh vishwa bandhu ashutos...@gmail.com wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? Only if you use 2.0.8 (the last release in the minor series can open the next major format). You can alternatively copy the lyx2lyx scripts from 2.0.8 or 2.1.x and use those. Best, Scott Thanks. Copying the lyx2lyx scripts worked!! Regards, Ashutosh
Re: lyx2lyx script failed to convert the file
On 6/23/2014 2:24 PM, ashutosh vishwa bandhu wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? I just change the \lyxformat specifier using a text editor and it usually will work. just open your .lyx file and make the change to see if it will open.
Re: lyx2lyx script failed to convert the file
On 06/23/2014 03:35 PM, Ross Reyes wrote: On 6/23/2014 2:24 PM, ashutosh vishwa bandhu wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? I just change the \lyxformat specifier using a text editor and it usually will work. just open your .lyx file and make the change to see if it will open. This is not a good idea. In an emergency, I suppose it's worth trying, but there is a reason the format number changes. With Lyx 2.1.x files, for example, if you use any of what used to be called Short Title insets, you will get errors. Richard
Footer in Koma letter - \lfoot - \cfoot - \rfoot
In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot So that I can place three different names and address details onto the first page of the document. I have googled and I have read custom header and footer documents as well as .pdf files that tell me a great deal about headers and footers and even used a footer file that was from the wrong KOMA script or something and was chastised for attempting to use it by LyX. Looked through my DIN.lco and every place possible where tweak might be made. I never realised there were so many LaTeX sites that had something about footnotes on them. After futie attempts have had a million error messages and openings that conflicted when I used fancy instead of default, and on and on. Tried longtable and multirow, footnotesize and just about everything that was suggested in all my readings with different parameters and I have given it best. So I am here again. The one thing I haven't done, is create my own template to do what I want rather than use the letter template. In the past I used a template I made myself, but it was just created from a KOMA article template, and I think when I discovered the letter template I liked it better? But can only imagine that's why I changed. Why else? Anyway it's done my head in, and I realise it's laziness in a way because eventually, maybe a year from now I'll read something that puts it all together and I'll be able to do it. Or maybe never and accept living without it. But if someone can help me in this it would be truly great. It's just stubbornness that makes me want to use the template like this, and a certain amount of ire that I can't find where this type of footnote for a letter, is documented. Because it's a very popular way to create a letter. With something like manager, assistant manager and office address, or president, secretary and treasurer, or similar and their contact details in the footer of a letter? It's probably somewhere I have just not thought to look, or under a heading I haven' associated with a letter. Thanks in advance, Charlie -- Registered Linux User:- 329524 *** Whether the flower looks better in the nosegay than in the meadow where it grew and we had to wet our feet to get it! Is the scholastic air any advantage? ..Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -
enumitem cloned lists
I cloned, to use the terminology of the enumitem package documentation section 7, a new itemize list and put it in the LaTeX preamble of my Lyx file: \newlist{emptydisplay}{itemize}{1} \setlist[emptydisplay]{label={}, itemindent=1em, align=left, labelsep=!} Now I can use this new itemize list by putting, e.g., the following in an ERT box: \begin{emptydisplay} \item The inventor of bifocals wrote an autobiography \item The first post-master general of the US wrote an autobiography \end{emptydisplay} Is there a way of making this new list a Lyx style, so I can apply it just as I apply Quote, Enumerate-Resume, etc.? I suspect this might involve modifying a layout file, or, even the enumitem module, is that right? And if so, are there instructions somewhere for doing this? Many thanks! Sanford
Re: Convert vector graphics to bitmap
The document contains a larger number of images. As these are results from scientific computations, they contain a large number of details. This allows the user to zoom deep into the image when viewing the document on screen. However, in the printed version it is obviously not possible to resolve so many details. The publisher claims this may result in unexpected appearance of the images during the printing process. I am not sure about the technical reasons and differences of book printing to regular home printers, but he asked me to provide bitmap based graphics instead.
deleted lyx system directory /usr/share/lyx
I accidentally deleted my Lyx system directory /usr/share/lyx/ in Ubuntu 11.04. Now, I get the following message when I try to start Lyx " Unable to determine the system directory having searched /usr/share/lyx/. Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_20x to the LyX system directory containing the file `chkconfig.ltx'. " Reinstalling Lyx or copying the above folder from other systems is not helping. Thanks, Ashutosh
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 8:38 AM, ashutosh vishwa bandhuwrote: > I accidentally deleted my Lyx system directory /usr/share/lyx/ in Ubuntu > 11.04. Now, I get the following message when I try to start Lyx > > " Unable to determine the system directory having searched /usr/share/lyx/. > Use the '-sysdir' command line parameter or set the environment variable > LYX_DIR_20x to the LyX system directory containing the file `chkconfig.ltx'. > " > > Reinstalling Lyx or copying the above folder from other systems is not > helping. I find it strange that reinstalling LyX does not create /usr/share/lyx. Are you sure you did purge and not remove? Can you please post the output of sudo apt-get purge lyx && sudo apt-get install lyx I would normally suggest trying the LyX PPA: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 But I don't think we support 11.04. Best, Scott
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 8:59 AM, ashutosh vishwa bandhuwrote: > Thanks for the reply. Output of the command is posted below > > > ashutosh@ashutosh-ThinkCentre:/usr/share$ sudo apt-get purge lyx && sudo > apt-get install lyx > > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following packages were automatically installed and are no longer > required: > unpaper menu libboost-regex1.42.0 texlive-pictures-doc > texlive-latex-extra-doc preview-latex-style ttf-lyx texlive-generic-extra > texlive-science > libboost-signals1.42.0 texlive-latex-extra lyx-common gnome-js-common > texlive-science-doc elyxer texlive-pictures > Use 'apt-get autoremove' to remove them. > The following packages will be REMOVED: > lyx* > 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. > After this operation, 10.6 MB disk space will be freed. > Do you want to continue [Y/n]? y > (Reading database ... 411673 files and directories currently installed.) > Removing lyx ... > Purging configuration files for lyx ... > Processing triggers for bamfdaemon ... > Rebuilding /usr/share/applications/bamf.index... > Processing triggers for desktop-file-utils ... > Processing triggers for python-gmenu ... > Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... > Processing triggers for menu ... > Processing triggers for man-db ... > Processing triggers for python-support ... > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following packages were automatically installed and are no longer > required: > unpaper menu gnome-js-common > Use 'apt-get autoremove' to remove them. > Suggested packages: > rcs dvipost groff libtiff-tools gnuhtml2latex wv chktex noweb > sgmltools-lite linuxdoc-tools writer2latex librsvg2-bin inkscape > texlive-xetex etoolbox > libapp-makebeamerinfo-perl > The following NEW packages will be installed: > lyx > 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. > Need to get 0 B/4,228 kB of archives. > After this operation, 10.6 MB of additional disk space will be used. > Selecting previously deselected package lyx. > (Reading database ... 411663 files and directories currently installed.) > Unpacking lyx (from .../lyx_2.0.4-1~natty~ppa1_i386.deb) ... > Processing triggers for man-db ... > Processing triggers for menu ... > Processing triggers for bamfdaemon ... > Rebuilding /usr/share/applications/bamf.index... > Processing triggers for desktop-file-utils ... > Processing triggers for python-gmenu ... > Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... > Processing triggers for python-support ... > Setting up lyx (2.0.4-1~natty~ppa1) ... > Processing triggers for menu ... Please respond to the list, not to me personally. Also, please bottom-post. See http://www.lyx.org/MailingLists#toc7 I'm not sure why the above is not working. Maybe someone else will. It looks like our PPA does support Natty. Consider giving it a try. The instructions are here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 Best, Scott
Re: Custom module: inset for mdframed boxes
Dear lyx users list I was wondering whether someone would have any insights for the question (see below) I asked a few days ago on this list, regarding help for writing a custom module. Maybe I should rather ask on the lyx-devel, where people might be more familiar with customising Lyx? Thanks! Matthieu Le 19. 06. 14 10:36, Matthieu a écrit : Dear Lyx users list I would like to use the mdframed package in Lyx, which offers nice boxes. In its simplest form, mdframed is just used with (see below for reproduciible latex code): \begin{mdframed} A box \end{mdframed} Eventually with [frametitle=A title] I was trying to create a Lyx inset for this, made it somehow, but this is a very rough draft, and I would appreciate any help, in particular: -how to give the new inset a feeling of box? I tried adding: CopyStyle Box or: HTMLStyle div.Frameless { margin: 1em; } EndHTMLStyle as I saw for boxes, but it does not work. -For the title of the box, the user needs to add herself: frametitle=A title Ideally, one would not need to do this... is this avoidable in Lyx (make him add automatically "frametitle="), or does one need to rewrite slightly the environment mdframed? -More generally, I choose to use it as a custom inset, but could have done defining it as a new style.. is this choice sound? Thanks!! ### #Lyx module: ### #\DeclareLyXModule[mdframed.sty]{MD frame} #DescriptionBegin # Try to use package mdframed #DescriptionEnd Format 49 InsetLayout Flex:MDbox LyXType custom LatexName mdframed LatexType Environment LabelString "Md frame" Requiresmdframed LabelFont Color blue Sizelarge EndFont MultiPartrue HTMLStyle div.Frameless { margin: 1em; } EndHTMLStyle Preamble \usepackage{mdframed} EndPreamble Argument 1 LabelString"Box Title, write: frametitle=AA" Tooltip"Enter the box title here" Mandatory 0 Decoration conglomerate Font Colorblue Size large EndFont AutoInsert 1 EndArgument End #LaTeX minimal mdframed: \documentclass[a4paper,10pt]{article} \usepackage{mdframed} \begin{document} \begin{mdframed} A box \end{mdframed} And \begin{mdframed}[frametitle=A title] A box \end{mdframed} \end{document}
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 6:56 PM, Scott Kostyshakwrote: > On Mon, Jun 23, 2014 at 8:59 AM, ashutosh vishwa bandhu > wrote: > > Thanks for the reply. Output of the command is posted below > > > > > > ashutosh@ashutosh-ThinkCentre:/usr/share$ sudo apt-get purge lyx && sudo > > apt-get install lyx > > > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > The following packages were automatically installed and are no longer > > required: > > unpaper menu libboost-regex1.42.0 texlive-pictures-doc > > texlive-latex-extra-doc preview-latex-style ttf-lyx texlive-generic-extra > > texlive-science > > libboost-signals1.42.0 texlive-latex-extra lyx-common gnome-js-common > > texlive-science-doc elyxer texlive-pictures > > Use 'apt-get autoremove' to remove them. > > The following packages will be REMOVED: > > lyx* > > 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. > > After this operation, 10.6 MB disk space will be freed. > > Do you want to continue [Y/n]? y > > (Reading database ... 411673 files and directories currently installed.) > > Removing lyx ... > > Purging configuration files for lyx ... > > Processing triggers for bamfdaemon ... > > Rebuilding /usr/share/applications/bamf.index... > > Processing triggers for desktop-file-utils ... > > Processing triggers for python-gmenu ... > > Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... > > Processing triggers for menu ... > > Processing triggers for man-db ... > > Processing triggers for python-support ... > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > The following packages were automatically installed and are no longer > > required: > > unpaper menu gnome-js-common > > Use 'apt-get autoremove' to remove them. > > Suggested packages: > > rcs dvipost groff libtiff-tools gnuhtml2latex wv chktex noweb > > sgmltools-lite linuxdoc-tools writer2latex librsvg2-bin inkscape > > texlive-xetex etoolbox > > libapp-makebeamerinfo-perl > > The following NEW packages will be installed: > > lyx > > 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. > > Need to get 0 B/4,228 kB of archives. > > After this operation, 10.6 MB of additional disk space will be used. > > Selecting previously deselected package lyx. > > (Reading database ... 411663 files and directories currently installed.) > > Unpacking lyx (from .../lyx_2.0.4-1~natty~ppa1_i386.deb) ... > > Processing triggers for man-db ... > > Processing triggers for menu ... > > Processing triggers for bamfdaemon ... > > Rebuilding /usr/share/applications/bamf.index... > > Processing triggers for desktop-file-utils ... > > Processing triggers for python-gmenu ... > > Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... > > Processing triggers for python-support ... > > Setting up lyx (2.0.4-1~natty~ppa1) ... > > Processing triggers for menu ... > > Please respond to the list, not to me personally. Also, please > bottom-post. See http://www.lyx.org/MailingLists#toc7 > > I'm not sure why the above is not working. Maybe someone else will. > > It looks like our PPA does support Natty. Consider giving it a try. > The instructions are here: > http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 > > Best, > > Scott > I had deleted /usr/share/lyx (version 2.0.4) and /usr/share/lyx2.1 corresponding to ppa:lyx-devel/release and ppa:lyx-devel/daily respectively. Just now I installed lyx1.6 which I believe must be the original version in the Ubuntu repository. It is working fine and a folder /usr/share/lyx1.6 is has also been created. Regards, Ashutosh
Re: deleted lyx system directory /usr/share/lyx
On Mon, Jun 23, 2014 at 6:41 PM, ashutosh vishwa bandhuwrote: > > > > On Mon, Jun 23, 2014 at 6:56 PM, Scott Kostyshak wrote: >> >> On Mon, Jun 23, 2014 at 8:59 AM, ashutosh vishwa bandhu >> wrote: >> > Thanks for the reply. Output of the command is posted below >> > >> > >> > ashutosh@ashutosh-ThinkCentre:/usr/share$ sudo apt-get purge lyx && sudo >> > apt-get install lyx >> > >> > Reading package lists... Done >> > Building dependency tree >> > Reading state information... Done >> > The following packages were automatically installed and are no longer >> > required: >> > unpaper menu libboost-regex1.42.0 texlive-pictures-doc >> > texlive-latex-extra-doc preview-latex-style ttf-lyx >> > texlive-generic-extra >> > texlive-science >> > libboost-signals1.42.0 texlive-latex-extra lyx-common gnome-js-common >> > texlive-science-doc elyxer texlive-pictures >> > Use 'apt-get autoremove' to remove them. >> > The following packages will be REMOVED: >> > lyx* >> > 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. >> > After this operation, 10.6 MB disk space will be freed. >> > Do you want to continue [Y/n]? y >> > (Reading database ... 411673 files and directories currently installed.) >> > Removing lyx ... >> > Purging configuration files for lyx ... >> > Processing triggers for bamfdaemon ... >> > Rebuilding /usr/share/applications/bamf.index... >> > Processing triggers for desktop-file-utils ... >> > Processing triggers for python-gmenu ... >> > Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... >> > Processing triggers for menu ... >> > Processing triggers for man-db ... >> > Processing triggers for python-support ... >> > Reading package lists... Done >> > Building dependency tree >> > Reading state information... Done >> > The following packages were automatically installed and are no longer >> > required: >> > unpaper menu gnome-js-common >> > Use 'apt-get autoremove' to remove them. >> > Suggested packages: >> > rcs dvipost groff libtiff-tools gnuhtml2latex wv chktex noweb >> > sgmltools-lite linuxdoc-tools writer2latex librsvg2-bin inkscape >> > texlive-xetex etoolbox >> > libapp-makebeamerinfo-perl >> > The following NEW packages will be installed: >> > lyx >> > 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. >> > Need to get 0 B/4,228 kB of archives. >> > After this operation, 10.6 MB of additional disk space will be used. >> > Selecting previously deselected package lyx. >> > (Reading database ... 411663 files and directories currently installed.) >> > Unpacking lyx (from .../lyx_2.0.4-1~natty~ppa1_i386.deb) ... >> > Processing triggers for man-db ... >> > Processing triggers for menu ... >> > Processing triggers for bamfdaemon ... >> > Rebuilding /usr/share/applications/bamf.index... >> > Processing triggers for desktop-file-utils ... >> > Processing triggers for python-gmenu ... >> > Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... >> > Processing triggers for python-support ... >> > Setting up lyx (2.0.4-1~natty~ppa1) ... >> > Processing triggers for menu ... >> >> Please respond to the list, not to me personally. Also, please >> bottom-post. See http://www.lyx.org/MailingLists#toc7 >> >> I'm not sure why the above is not working. Maybe someone else will. >> >> It looks like our PPA does support Natty. Consider giving it a try. >> The instructions are here: >> http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 >> >> Best, >> >> Scott > > > > I had deleted /usr/share/lyx (version 2.0.4) and /usr/share/lyx2.1 > corresponding to ppa:lyx-devel/release and ppa:lyx-devel/daily respectively. > Just now I installed lyx1.6 > For info: This one is from the PPA (NOT the official Ubuntu repos), and it corresponds to a rather older release of LyX. You may be happier installing 2.0.x. Liviu > which I believe must be the original version in > the Ubuntu repository. It is working fine and a folder /usr/share/lyx1.6 is > has also been created. > > Regards, > > Ashutosh > > > -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
lyx2lyx script failed to convert the file
I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? Thanks, Ashutosh
Re: lyx2lyx script failed to convert the file
On Mon, Jun 23, 2014 at 2:24 PM, ashutosh vishwa bandhuwrote: > I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file > was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open > the file I get and error message saying that the file is from a new version > of Lyx and the lyx2lyx script failed to convert it. > > Is it possible to open the file using the older version of lyx? Only if you use 2.0.8 (the last release in the minor series can open the next major format). You can alternatively copy the lyx2lyx scripts from 2.0.8 or 2.1.x and use those. Best, Scott
Re: lyx2lyx script failed to convert the file
On Tue, Jun 24, 2014 at 12:48 AM, Scott Kostyshakwrote: > On Mon, Jun 23, 2014 at 2:24 PM, ashutosh vishwa bandhu > wrote: > > I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This > file > > was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open > > the file I get and error message saying that the file is from a new > version > > of Lyx and the lyx2lyx script failed to convert it. > > > > Is it possible to open the file using the older version of lyx? > > Only if you use 2.0.8 (the last release in the minor series can open > the next major format). You can alternatively copy the lyx2lyx scripts > from 2.0.8 or 2.1.x and use those. > > Best, > > Scott > Thanks. Copying the lyx2lyx scripts worked!! Regards, Ashutosh
Re: lyx2lyx script failed to convert the file
On 6/23/2014 2:24 PM, ashutosh vishwa bandhu wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? I just change the \lyxformat specifier using a text editor and it usually will work. just open your .lyx file and make the change to see if it will open.
Re: lyx2lyx script failed to convert the file
On 06/23/2014 03:35 PM, Ross Reyes wrote: On 6/23/2014 2:24 PM, ashutosh vishwa bandhu wrote: I want to open a lyx file using lyx version 2.0.5 on Ubuntu 11.04. This file was created using lyx version 2.1.0-1 on Ubuntu 14.04. When I try to open the file I get and error message saying that the file is from a new version of Lyx and the lyx2lyx script failed to convert it. Is it possible to open the file using the older version of lyx? I just change the \lyxformat specifier using a text editor and it usually will work. just open your .lyx file and make the change to see if it will open. This is not a good idea. In an emergency, I suppose it's worth trying, but there is a reason the format number changes. With Lyx 2.1.x files, for example, if you use any of what used to be called "Short Title" insets, you will get errors. Richard
Footer in Koma letter - \lfoot - \cfoot - \rfoot
In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot So that I can place three different names and address details onto the first page of the document. I have googled and I have read custom header and footer documents as well as .pdf files that tell me a great deal about headers and footers and even used a footer file that was from the wrong KOMA script or something and was chastised for attempting to use it by LyX. Looked through my DIN.lco and every place possible where tweak might be made. I never realised there were so many LaTeX sites that had something about footnotes on them. After futie attempts have had a million error messages and openings that conflicted when I used "fancy" instead of default, and on and on. Tried longtable and multirow, footnotesize and just about everything that was suggested in all my readings with different parameters and I have given it best. So I am here again. The one thing I haven't done, is create my own template to do what I want rather than use the letter template. In the past I used a template I made myself, but it was just created from a KOMA article template, and I think when I discovered the letter template I liked it better? But can only imagine that's why I changed. Why else? Anyway it's done my head in, and I realise it's laziness in a way because eventually, maybe a year from now I'll read something that puts it all together and I'll be able to do it. Or maybe never and accept living without it. But if someone can help me in this it would be truly great. It's just stubbornness that makes me want to use the template like this, and a certain amount of ire that I can't find where this type of footnote for a letter, is documented. Because it's a very popular way to create a letter. With something like manager, assistant manager and office address, or president, secretary and treasurer, or similar and their contact details in the footer of a letter? It's probably somewhere I have just not thought to look, or under a heading I haven' associated with a letter. Thanks in advance, Charlie -- Registered Linux User:- 329524 *** Whether the flower looks better in the nosegay than in the meadow where it grew and we had to wet our feet to get it! Is the scholastic air any advantage? ..Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -
enumitem cloned lists
I "cloned," to use the terminology of the enumitem package documentation section 7, a new itemize list and put it in the LaTeX preamble of my Lyx file: \newlist{emptydisplay}{itemize}{1} \setlist[emptydisplay]{label={}, itemindent=1em, align=left, labelsep=!} Now I can use this new itemize list by putting, e.g., the following in an ERT box: \begin{emptydisplay} \item The inventor of bifocals wrote an autobiography \item The first post-master general of the US wrote an autobiography \end{emptydisplay} Is there a way of making this new list a Lyx style, so I can apply it just as I apply Quote, Enumerate-Resume, etc.? I suspect this might involve modifying a layout file, or, even the enumitem module, is that right? And if so, are there instructions somewhere for doing this? Many thanks! Sanford