Re: html5 presentation support?
On Tue, Jun 28, 2011 at 10:56 PM, Alex Fernandez ely...@gmail.com wrote: Hi Rainer, Hi Alex, On Tue, Jun 28, 2011 at 4:48 PM, Rainer M Krug r.m.k...@gmail.com wrote: I just saw some html5 presentations (e.g. http://slides.html5rocks.com ) and they seem to a be a great alternative to pdf presentations with beamer et al. Is there anybody looking into the possibility of creating those via e.g. eLyXer? It sounds interesting, but I am not looking into it at the moment. However (and here comes the inevitable contribution request), I accept patches :) If you try it you will find eLyXer very flexible in terms of twisting its output. Unfortunately I don't have time at hand and do not know the inner workings of html5 - I ust saw the org-mode exporter and thought - would be nice for LyX. I think it would be absolutely great if this could be included in LyX. For an example of export exporter for emacs org-mode, see https://gist.github.com/509761 I agree. Let's hope that somebody finds some time for this. Do you have a bug / issue tracker for eLyXer to put the feature request in? Cheers, Rainer Thanks, Alex. -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug
Re: Noun (smallcaps) in Section title
On 2011-06-28, Manolo Martínez wrote: Hello everyone, A quick question. If I use the Noun character style in a Section title, article(paper) ignores me and renders it in lowercase. Is there a way to override the style in this particular respect? This depends on the font choice. Some font families are missing a bold small caps variant. The LaTeX log will show you a font substition warning in this case. I found this to be the case with e.g. Latin Modern. Günter
Re: Lyx and Beamer
On 2011-06-28, Richard Heck wrote: On 06/28/2011 09:28 AM, Murat Yildizoglu wrote: Just to complete my previous mail by an example, I get the following type strange codings (copied from the View latex code window): \end{frame} \lyxframeend{}\section{Blabla} The \end{frame} comes from an Evil Red box and \lyxframeend{} is introduced without a selection by me of a frame environment. Would it solve this specific problem just to remove the ERT box with \end{frame}? LyX's beamer support is kind of strange, in part because of LyX's limited ability to handle arguments and in part because frames act like insets but are rendered more like commands. This is why there is the odd \lyxframeend{} macro. The reason for the strange implementation is LyX's merging of subsequent paragraphs of the same style into one LaTeX environment. The beamer author invented this workaround several versions before the --environment separator dummy style was added. Another alternative is implementing the frame environment (and similar) as custom insets. (Again, this is only possible in recent versions, years after the original beamer layout was written.) This alternative is chosen by my new version of seminar.layout http://www.lyx.org/trac/ticket/7624 Anyway, it does not surprise me that LyX has trouble importing beamer files properly. I think the only thing you can really do is clean it up manually. I propose an alternative beamer layout, either relying on nesting and --environment separator-- or with custom insets. With such a layout in the personal LyXdir, import of beamer sources and co-operating with no-LyXers might become easier. Günter
Re: Lyx and Beamer
On 2011-06-28, Murat Yildizoglu wrote: Lyx is not able to recognize \section like commands and translate them to its environment structure (this is how I got the \lyxframeend problem: I wanted to have more readable section titles, by selection the corresponding environment for them). Looks like SW uses non-standard ways to mark up sections. Maybe pre-processing the *.tex file before the LyX import helps. This is really very annoying indeed... We can only gain our co-authors to Lyx if the conversion from Latex is quite painless. Indeed. However, conversion from machine written LaTeX (be it OpenOffice, SW, a Word2TeX converter or some other front end) is always even more complicated. Some of these tools do fingerpainting instead of structring the document. Günter
Re: Lyx and Beamer
2011/6/29 Guenter Milde mi...@users.berlios.de On 2011-06-28, Murat Yildizoglu wrote: Lyx is not able to recognize \section like commands and translate them to its environment structure (this is how I got the \lyxframeend problem: I wanted to have more readable section titles, by selection the corresponding environment for them). Looks like SW uses non-standard ways to mark up sections. Maybe pre-processing the *.tex file before the LyX import helps. This is really very annoying indeed... We can only gain our co-authors to Lyx if the conversion from Latex is quite painless. Indeed. However, conversion from machine written LaTeX (be it OpenOffice, SW, a Word2TeX converter or some other front end) is always even more complicated. Some of these tools do fingerpainting instead of structring the document. Hi Günter, I think that SW produces quite clean Latex files and the coding of the sections uses quite standard commands. For example, one of the sections that ended up in an ERB is: \section{Une br\`{e}ve histoire de la croissance} which is quite standard to my eyes. What is not standard in SW is the use of comments for the Tex boxes and they pollute a lot the final converted document in Lyx. This is why I do clean them from the tex file before import (using regular expressions bases search and replace). But, it is strange that \begin{frame} is not recognized by Lyx and end up in a ERB. I could maybe replace them by \lyxframebegin; but that would not be simple since I must also handle, in this case, the \frametitle command's argument (by transfering it of \lyxframebegin)... That could introduce more mess in some cases if I am not careful :-( Murat -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __
Re: Lyx and Beamer
On 2011-06-29, Murat Yildizoglu wrote: 2011/6/29 Guenter Milde mi...@users.berlios.de On 2011-06-28, Murat Yildizoglu wrote: Lyx is not able to recognize \section like commands and translate them to its environment structure (this is how I got the \lyxframeend problem: I wanted to have more readable section titles, by selection the corresponding environment for them). Looks like SW uses non-standard ways to mark up sections. Maybe pre-processing the *.tex file before the LyX import helps. sections uses quite standard commands. For example, one of the sections that ended up in an ERB is: \section{Une br\`{e}ve histoire de la croissance} which is quite standard to my eyes. It is indeed. And usually \section commands are recognized by reLyX, so it seems something threw it off before this line. ... But, it is strange that \begin{frame} is not recognized by Lyx and end up in a ERB. The reason is, that there is not Style for the frame environment in the standard beamer.layout file. Instead, there is the BeginFrame style that translates to \lyxframeend{}\lyxframe. I could maybe replace them by \lyxframebegin; but that would not be simple since I must also handle, in this case, the \frametitle command's argument (by transfering it of \lyxframebegin)... That could introduce more mess in some cases if I am not careful :-( I propose an alternative beamer.layout file without all these lyxframe This is somewhere down on my TODO list (after getting some more knowledge about beamer). As a start, you could try to copy beamer.layout to your $LYXDIR/layout/ directory and add a Frame style (definition adapted from my seminar.layout, not tested): Style Frame LatexType Environment LatexName frame NextNoIndent1 Margin Static LeftMargin N ParIndent TopSep 0.4 LabelType Top_Environment LabelString Landscape Slide: End Then, re-try the import. If this helps a bit, we can try to devise a more standard beamer layout. Günter
Fwd: Lyx and Beamer
Oups, I have forgotten the list's address in my reply. -- Forwarded message -- From: Murat Yildizoglu myi...@gmail.com Date: 2011/6/29 Subject: Re: Lyx and Beamer To: Guenter Milde mi...@users.berlios.de Thank you Guenter, That works better visually, but I crash too frequently after having introduced this environment in the layout file. There must be something tricky going on... If I have sometime during summer, I will check if I can create a more complete layout adapted for the importation of my beamer files. But I have several new courses to build this summer and I am not sure at all to have this time. 2011/6/29 Guenter Milde mi...@users.berlios.de On 2011-06-29, Murat Yildizoglu wrote: 2011/6/29 Guenter Milde mi...@users.berlios.de On 2011-06-28, Murat Yildizoglu wrote: Lyx is not able to recognize \section like commands and translate them to its environment structure (this is how I got the \lyxframeend problem: I wanted to have more readable section titles, by selection the corresponding environment for them). Looks like SW uses non-standard ways to mark up sections. Maybe pre-processing the *.tex file before the LyX import helps. sections uses quite standard commands. For example, one of the sections that ended up in an ERB is: \section{Une br\`{e}ve histoire de la croissance} which is quite standard to my eyes. It is indeed. And usually \section commands are recognized by reLyX, so it seems something threw it off before this line. ... But, it is strange that \begin{frame} is not recognized by Lyx and end up in a ERB. The reason is, that there is not Style for the frame environment in the standard beamer.layout file. Instead, there is the BeginFrame style that translates to \lyxframeend{}\lyxframe. I could maybe replace them by \lyxframebegin; but that would not be simple since I must also handle, in this case, the \frametitle command's argument (by transfering it of \lyxframebegin)... That could introduce more mess in some cases if I am not careful :-( I propose an alternative beamer.layout file without all these lyxframe This is somewhere down on my TODO list (after getting some more knowledge about beamer). As a start, you could try to copy beamer.layout to your $LYXDIR/layout/ directory and add a Frame style (definition adapted from my seminar.layout, not tested): Style Frame LatexType Environment LatexName frame NextNoIndent1 Margin Static LeftMargin N ParIndent TopSep 0.4 LabelType Top_Environment LabelString Landscape Slide: End Then, re-try the import. If this helps a bit, we can try to devise a more standard beamer layout. Günter -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __ -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __
Problem with nomentbl-package and LYX 2.0RC3 miktex2.9
Hi everyone, I've installed LYX 2.0 RC3 and use it with miktex 2.9. I wrote my abbreviation list with the nomentbl-package. It worked very well with Lyx 1.6 and Miktex 2.7. When I compile it now, it doesn't write the list in my document, although I get no error messages. I used the following commands in the Tools/Output/Latex/nomenclaturecommands: -s nomentbl.ist -o %tm.nls %tm.nlo But when I export the File in a tex-File and compile it with the TexnicCenter, it writes the List in the document! When I compile the Lyx file now, it shows me the list. Looks like Lyx only compile the File once and can't produce the Abbrev-List! Has anyone the same mistake ever seen before? Any suggestions? Thanks a lot. Sincerely...
Re: Can't convert
Richard, Paul, LyX Users, It's been over a week since I've been able to convert to finished text in either LyX 1.6.7 or 2.0.0 (using DVI or View). I've received many suggestions, for which I am grateful, but nothing has worked. Is there a way to wipe both versions of LyX off my computer and start over from scratch? My OS is Windows XP. Bill Hanson On Mon, Jun 27, 2011 at 2:01 PM, Richard Heck rgh...@comcast.net wrote: On 06/27/2011 02:53 PM, William Hanson wrote: I made the change in 1.6.7 but still couldn't convert. The error message was, No information for exporting the format DVI. In 2.0 I changed: article article article false article.cls to article article article true article.cls, since that was the closest line in 2.0 to article article article false. Conversion didn't work in 2.0 either. The error message was, The directory path to the document cannot contain spaces. OK, bad idea. rh
Re: no classes available after installation of 1.6.10 and 2.0.0-3
On 06/28/2011 03:54 AM, Matthias Hunstig wrote: It only partly worked for 1.6.10. I now have a very limited and to my eyes strange selection of classes available, the rest is still markes as unavailable; see attachment. In 2.0.0., there are still not classes available in the menu at all. Are there classes that you know you have installed in MiKTeX but do not appear on the list in 1.6.10? It seems to be finding the classes you would get with a minimal installation of MiKTeX. Also, did you try reconfiguring 1.6.10 after you deleted the local user directory? I can't remember: have we looked at your configuration log for 2.0.0? Paul
Re: Can't convert
On 06/29/2011 02:35 PM, William Hanson wrote: Richard, Paul, LyX Users, It's been over a week since I've been able to convert to finished text in either LyX 1.6.7 or 2.0.0 (using DVI or View). I've received many suggestions, for which I am grateful, but nothing has worked. Is there a way to wipe both versions of LyX off my computer and start over from scratch? My OS is Windows XP. Yes. You can run the uninstallers: go to Control Panel, look for the category that says install/uninstall software, click uninstall to get a list of software for which Windows has identified an uninstaller, and use that to wipe both versions. (As an aside, there's a very nice freeware program for Windows called CCleaner that, among other things, will do the same thing, but a bit faster. It also has a registry cleaner, which is useful for zapping wayward registry entries that many uninstallers leave behind.) After uninstalling, look for the LyX program directories (under C:\Program Files) and the user directories (which you've previously visited) and delete anything that may have been left behind. Paul
Re: Noun (smallcaps) in Section title
Manolo Martínez manolo at austrohungaro.com writes: A quick question. If I use the Noun character style in a Section title, article(paper) ignores me and renders it in lowercase. Is there a way to override the style in this particular respect? Document classes frequently dictate the font for headings (overruling your choice). The sectsty package allows you to set font styles for headings, but it does not work with article(paper). If you're willing to switch to a class sectsty supports, that is one way to get what you want. Another possibility is to put this in your preamble: \usepackage{titlesec} \titleformat*{\section}{\bfseries\sc} That will put section titles in small caps, but they will not be bold face. Paul
Re: html5 presentation support?
On Tue, Jun 28, 2011 at 10:56 PM, Alex Fernandez ely...@gmail.com wrote: Hi Rainer, Hi Alex, On Tue, Jun 28, 2011 at 4:48 PM, Rainer M Krug r.m.k...@gmail.com wrote: I just saw some html5 presentations (e.g. http://slides.html5rocks.com ) and they seem to a be a great alternative to pdf presentations with beamer et al. Is there anybody looking into the possibility of creating those via e.g. eLyXer? It sounds interesting, but I am not looking into it at the moment. However (and here comes the inevitable contribution request), I accept patches :) If you try it you will find eLyXer very flexible in terms of twisting its output. Unfortunately I don't have time at hand and do not know the inner workings of html5 - I ust saw the org-mode exporter and thought - would be nice for LyX. I think it would be absolutely great if this could be included in LyX. For an example of export exporter for emacs org-mode, see https://gist.github.com/509761 I agree. Let's hope that somebody finds some time for this. Do you have a bug / issue tracker for eLyXer to put the feature request in? Cheers, Rainer Thanks, Alex. -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug
Re: Noun (smallcaps) in Section title
On 2011-06-28, Manolo Martínez wrote: Hello everyone, A quick question. If I use the Noun character style in a Section title, article(paper) ignores me and renders it in lowercase. Is there a way to override the style in this particular respect? This depends on the font choice. Some font families are missing a bold small caps variant. The LaTeX log will show you a font substition warning in this case. I found this to be the case with e.g. Latin Modern. Günter
Re: Lyx and Beamer
On 2011-06-28, Richard Heck wrote: On 06/28/2011 09:28 AM, Murat Yildizoglu wrote: Just to complete my previous mail by an example, I get the following type strange codings (copied from the View latex code window): \end{frame} \lyxframeend{}\section{Blabla} The \end{frame} comes from an Evil Red box and \lyxframeend{} is introduced without a selection by me of a frame environment. Would it solve this specific problem just to remove the ERT box with \end{frame}? LyX's beamer support is kind of strange, in part because of LyX's limited ability to handle arguments and in part because frames act like insets but are rendered more like commands. This is why there is the odd \lyxframeend{} macro. The reason for the strange implementation is LyX's merging of subsequent paragraphs of the same style into one LaTeX environment. The beamer author invented this workaround several versions before the --environment separator dummy style was added. Another alternative is implementing the frame environment (and similar) as custom insets. (Again, this is only possible in recent versions, years after the original beamer layout was written.) This alternative is chosen by my new version of seminar.layout http://www.lyx.org/trac/ticket/7624 Anyway, it does not surprise me that LyX has trouble importing beamer files properly. I think the only thing you can really do is clean it up manually. I propose an alternative beamer layout, either relying on nesting and --environment separator-- or with custom insets. With such a layout in the personal LyXdir, import of beamer sources and co-operating with no-LyXers might become easier. Günter
Re: Lyx and Beamer
On 2011-06-28, Murat Yildizoglu wrote: Lyx is not able to recognize \section like commands and translate them to its environment structure (this is how I got the \lyxframeend problem: I wanted to have more readable section titles, by selection the corresponding environment for them). Looks like SW uses non-standard ways to mark up sections. Maybe pre-processing the *.tex file before the LyX import helps. This is really very annoying indeed... We can only gain our co-authors to Lyx if the conversion from Latex is quite painless. Indeed. However, conversion from machine written LaTeX (be it OpenOffice, SW, a Word2TeX converter or some other front end) is always even more complicated. Some of these tools do fingerpainting instead of structring the document. Günter
Re: Lyx and Beamer
2011/6/29 Guenter Milde mi...@users.berlios.de On 2011-06-28, Murat Yildizoglu wrote: Lyx is not able to recognize \section like commands and translate them to its environment structure (this is how I got the \lyxframeend problem: I wanted to have more readable section titles, by selection the corresponding environment for them). Looks like SW uses non-standard ways to mark up sections. Maybe pre-processing the *.tex file before the LyX import helps. This is really very annoying indeed... We can only gain our co-authors to Lyx if the conversion from Latex is quite painless. Indeed. However, conversion from machine written LaTeX (be it OpenOffice, SW, a Word2TeX converter or some other front end) is always even more complicated. Some of these tools do fingerpainting instead of structring the document. Hi Günter, I think that SW produces quite clean Latex files and the coding of the sections uses quite standard commands. For example, one of the sections that ended up in an ERB is: \section{Une br\`{e}ve histoire de la croissance} which is quite standard to my eyes. What is not standard in SW is the use of comments for the Tex boxes and they pollute a lot the final converted document in Lyx. This is why I do clean them from the tex file before import (using regular expressions bases search and replace). But, it is strange that \begin{frame} is not recognized by Lyx and end up in a ERB. I could maybe replace them by \lyxframebegin; but that would not be simple since I must also handle, in this case, the \frametitle command's argument (by transfering it of \lyxframebegin)... That could introduce more mess in some cases if I am not careful :-( Murat -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __
Re: Lyx and Beamer
On 2011-06-29, Murat Yildizoglu wrote: 2011/6/29 Guenter Milde mi...@users.berlios.de On 2011-06-28, Murat Yildizoglu wrote: Lyx is not able to recognize \section like commands and translate them to its environment structure (this is how I got the \lyxframeend problem: I wanted to have more readable section titles, by selection the corresponding environment for them). Looks like SW uses non-standard ways to mark up sections. Maybe pre-processing the *.tex file before the LyX import helps. sections uses quite standard commands. For example, one of the sections that ended up in an ERB is: \section{Une br\`{e}ve histoire de la croissance} which is quite standard to my eyes. It is indeed. And usually \section commands are recognized by reLyX, so it seems something threw it off before this line. ... But, it is strange that \begin{frame} is not recognized by Lyx and end up in a ERB. The reason is, that there is not Style for the frame environment in the standard beamer.layout file. Instead, there is the BeginFrame style that translates to \lyxframeend{}\lyxframe. I could maybe replace them by \lyxframebegin; but that would not be simple since I must also handle, in this case, the \frametitle command's argument (by transfering it of \lyxframebegin)... That could introduce more mess in some cases if I am not careful :-( I propose an alternative beamer.layout file without all these lyxframe This is somewhere down on my TODO list (after getting some more knowledge about beamer). As a start, you could try to copy beamer.layout to your $LYXDIR/layout/ directory and add a Frame style (definition adapted from my seminar.layout, not tested): Style Frame LatexType Environment LatexName frame NextNoIndent1 Margin Static LeftMargin N ParIndent TopSep 0.4 LabelType Top_Environment LabelString Landscape Slide: End Then, re-try the import. If this helps a bit, we can try to devise a more standard beamer layout. Günter
Fwd: Lyx and Beamer
Oups, I have forgotten the list's address in my reply. -- Forwarded message -- From: Murat Yildizoglu myi...@gmail.com Date: 2011/6/29 Subject: Re: Lyx and Beamer To: Guenter Milde mi...@users.berlios.de Thank you Guenter, That works better visually, but I crash too frequently after having introduced this environment in the layout file. There must be something tricky going on... If I have sometime during summer, I will check if I can create a more complete layout adapted for the importation of my beamer files. But I have several new courses to build this summer and I am not sure at all to have this time. 2011/6/29 Guenter Milde mi...@users.berlios.de On 2011-06-29, Murat Yildizoglu wrote: 2011/6/29 Guenter Milde mi...@users.berlios.de On 2011-06-28, Murat Yildizoglu wrote: Lyx is not able to recognize \section like commands and translate them to its environment structure (this is how I got the \lyxframeend problem: I wanted to have more readable section titles, by selection the corresponding environment for them). Looks like SW uses non-standard ways to mark up sections. Maybe pre-processing the *.tex file before the LyX import helps. sections uses quite standard commands. For example, one of the sections that ended up in an ERB is: \section{Une br\`{e}ve histoire de la croissance} which is quite standard to my eyes. It is indeed. And usually \section commands are recognized by reLyX, so it seems something threw it off before this line. ... But, it is strange that \begin{frame} is not recognized by Lyx and end up in a ERB. The reason is, that there is not Style for the frame environment in the standard beamer.layout file. Instead, there is the BeginFrame style that translates to \lyxframeend{}\lyxframe. I could maybe replace them by \lyxframebegin; but that would not be simple since I must also handle, in this case, the \frametitle command's argument (by transfering it of \lyxframebegin)... That could introduce more mess in some cases if I am not careful :-( I propose an alternative beamer.layout file without all these lyxframe This is somewhere down on my TODO list (after getting some more knowledge about beamer). As a start, you could try to copy beamer.layout to your $LYXDIR/layout/ directory and add a Frame style (definition adapted from my seminar.layout, not tested): Style Frame LatexType Environment LatexName frame NextNoIndent1 Margin Static LeftMargin N ParIndent TopSep 0.4 LabelType Top_Environment LabelString Landscape Slide: End Then, re-try the import. If this helps a bit, we can try to devise a more standard beamer layout. Günter -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __ -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __
Problem with nomentbl-package and LYX 2.0RC3 miktex2.9
Hi everyone, I've installed LYX 2.0 RC3 and use it with miktex 2.9. I wrote my abbreviation list with the nomentbl-package. It worked very well with Lyx 1.6 and Miktex 2.7. When I compile it now, it doesn't write the list in my document, although I get no error messages. I used the following commands in the Tools/Output/Latex/nomenclaturecommands: -s nomentbl.ist -o %tm.nls %tm.nlo But when I export the File in a tex-File and compile it with the TexnicCenter, it writes the List in the document! When I compile the Lyx file now, it shows me the list. Looks like Lyx only compile the File once and can't produce the Abbrev-List! Has anyone the same mistake ever seen before? Any suggestions? Thanks a lot. Sincerely...
Re: Can't convert
Richard, Paul, LyX Users, It's been over a week since I've been able to convert to finished text in either LyX 1.6.7 or 2.0.0 (using DVI or View). I've received many suggestions, for which I am grateful, but nothing has worked. Is there a way to wipe both versions of LyX off my computer and start over from scratch? My OS is Windows XP. Bill Hanson On Mon, Jun 27, 2011 at 2:01 PM, Richard Heck rgh...@comcast.net wrote: On 06/27/2011 02:53 PM, William Hanson wrote: I made the change in 1.6.7 but still couldn't convert. The error message was, No information for exporting the format DVI. In 2.0 I changed: article article article false article.cls to article article article true article.cls, since that was the closest line in 2.0 to article article article false. Conversion didn't work in 2.0 either. The error message was, The directory path to the document cannot contain spaces. OK, bad idea. rh
Re: no classes available after installation of 1.6.10 and 2.0.0-3
On 06/28/2011 03:54 AM, Matthias Hunstig wrote: It only partly worked for 1.6.10. I now have a very limited and to my eyes strange selection of classes available, the rest is still markes as unavailable; see attachment. In 2.0.0., there are still not classes available in the menu at all. Are there classes that you know you have installed in MiKTeX but do not appear on the list in 1.6.10? It seems to be finding the classes you would get with a minimal installation of MiKTeX. Also, did you try reconfiguring 1.6.10 after you deleted the local user directory? I can't remember: have we looked at your configuration log for 2.0.0? Paul
Re: Can't convert
On 06/29/2011 02:35 PM, William Hanson wrote: Richard, Paul, LyX Users, It's been over a week since I've been able to convert to finished text in either LyX 1.6.7 or 2.0.0 (using DVI or View). I've received many suggestions, for which I am grateful, but nothing has worked. Is there a way to wipe both versions of LyX off my computer and start over from scratch? My OS is Windows XP. Yes. You can run the uninstallers: go to Control Panel, look for the category that says install/uninstall software, click uninstall to get a list of software for which Windows has identified an uninstaller, and use that to wipe both versions. (As an aside, there's a very nice freeware program for Windows called CCleaner that, among other things, will do the same thing, but a bit faster. It also has a registry cleaner, which is useful for zapping wayward registry entries that many uninstallers leave behind.) After uninstalling, look for the LyX program directories (under C:\Program Files) and the user directories (which you've previously visited) and delete anything that may have been left behind. Paul
Re: Noun (smallcaps) in Section title
Manolo Martínez manolo at austrohungaro.com writes: A quick question. If I use the Noun character style in a Section title, article(paper) ignores me and renders it in lowercase. Is there a way to override the style in this particular respect? Document classes frequently dictate the font for headings (overruling your choice). The sectsty package allows you to set font styles for headings, but it does not work with article(paper). If you're willing to switch to a class sectsty supports, that is one way to get what you want. Another possibility is to put this in your preamble: \usepackage{titlesec} \titleformat*{\section}{\bfseries\sc} That will put section titles in small caps, but they will not be bold face. Paul
Re: html5 presentation support?
On Tue, Jun 28, 2011 at 10:56 PM, Alex Fernandezwrote: > Hi Rainer, > Hi Alex, > > On Tue, Jun 28, 2011 at 4:48 PM, Rainer M Krug wrote: > > I just saw some html5 presentations (e.g. http://slides.html5rocks.com ) > and > > they seem to a be a great alternative to pdf presentations with beamer et > > al. Is there anybody looking into the possibility of creating those via > e.g. > > eLyXer? > > It sounds interesting, but I am not looking into it at the moment. > However (and here comes the inevitable contribution request), I accept > patches :) If you try it you will find eLyXer very flexible in terms > of twisting its output. > Unfortunately I don't have time at hand and do not know the inner workings of html5 - I ust saw the org-mode exporter and thought - would be nice for LyX. > > > I think it would be absolutely great if this could be included in LyX. > For > > an example of export exporter for emacs org-mode, > > see https://gist.github.com/509761 > > I agree. > Let's hope that somebody finds some time for this. Do you have a bug / issue tracker for eLyXer to put the feature request in? Cheers, Rainer > > Thanks, > > Alex. > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug
Re: Noun (smallcaps) in Section title
On 2011-06-28, Manolo Martínez wrote: > Hello everyone, > A quick question. If I use the Noun character style in a Section title, > article(paper) ignores me and renders it in lowercase. Is there a way to > override the style in this particular respect? This depends on the font choice. Some font families are missing a bold small caps variant. The LaTeX log will show you a font substition warning in this case. I found this to be the case with e.g. Latin Modern. Günter
Re: Lyx and Beamer
On 2011-06-28, Richard Heck wrote: > On 06/28/2011 09:28 AM, Murat Yildizoglu wrote: >> Just to complete my previous mail by an example, I get the following >> type strange codings (copied from the View latex code window): >> \end{frame} >> \lyxframeend{}\section{Blabla} >> The \end{frame} comes from an Evil Red box and \lyxframeend{} is >> introduced without a selection by me of a frame environment. Would it solve this specific problem just to remove the ERT box with \end{frame}? > LyX's beamer support is kind of strange, in part because of LyX's > limited ability to handle arguments and in part because frames act like > insets but are rendered more like commands. This is why there is the odd > \lyxframeend{} macro. The reason for the "strange" implementation is LyX's merging of subsequent paragraphs of the same style into one LaTeX environment. The beamer author invented this workaround several versions before the "--environment separator" dummy style was added. Another alternative is implementing the "frame" environment (and similar) as custom insets. (Again, this is only possible in "recent" versions, years after the original beamer layout was written.) This alternative is chosen by my new version of seminar.layout http://www.lyx.org/trac/ticket/7624 > Anyway, it does not surprise me that LyX has trouble importing beamer > files properly. I think the only thing you can really do is clean it up > manually. I propose an alternative beamer layout, either relying on nesting and --environment separator-- or with custom insets. With such a layout in the personal LyXdir, import of beamer sources and co-operating with no-LyXers might become easier. Günter
Re: Lyx and Beamer
On 2011-06-28, Murat Yildizoglu wrote: > Lyx is not able to recognize \section like commands and translate them to > its environment structure (this is how I got the \lyxframeend problem: I > wanted to have more readable section titles, by selection the corresponding > environment for them). Looks like SW uses non-standard ways to mark up sections. Maybe pre-processing the *.tex file before the LyX import helps. > This is really very annoying indeed... We can only gain our co-authors to > Lyx if the conversion from Latex is quite painless. Indeed. However, conversion from "machine written" LaTeX (be it OpenOffice, SW, a Word2TeX converter or some other front end) is always even more complicated. Some of these tools do "fingerpainting" instead of structring the document. Günter
Re: Lyx and Beamer
2011/6/29 Guenter Milde> On 2011-06-28, Murat Yildizoglu wrote: > > > Lyx is not able to recognize \section like commands and translate them to > > its environment structure (this is how I got the \lyxframeend problem: I > > wanted to have more readable section titles, by selection the > corresponding > > environment for them). > > Looks like SW uses non-standard ways to mark up sections. Maybe > pre-processing the *.tex file before the LyX import helps. > > > This is really very annoying indeed... We can only gain our co-authors to > > Lyx if the conversion from Latex is quite painless. > > Indeed. However, conversion from "machine written" LaTeX (be it > OpenOffice, SW, a Word2TeX converter or some other front end) is > always even more complicated. Some of these tools do "fingerpainting" > instead of structring the document. > > Hi Günter, I think that SW produces quite clean Latex files and the coding of the sections uses quite standard commands. For example, one of the sections that ended up in an ERB is: \section{Une br\`{e}ve histoire de la croissance} which is quite standard to my eyes. What is not standard in SW is the use of comments for the Tex boxes and they pollute a lot the final converted document in Lyx. This is why I do clean them from the tex file before import (using regular expressions bases search and replace). But, it is strange that \begin{frame} is not recognized by Lyx and end up in a ERB. I could maybe replace them by \lyxframebegin; but that would not be simple since I must also handle, in this case, the \frametitle command's argument (by transfering it of \lyxframebegin)... That could introduce more mess in some cases if I am not careful :-( Murat -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __
Re: Lyx and Beamer
On 2011-06-29, Murat Yildizoglu wrote: > 2011/6/29 Guenter Milde>> On 2011-06-28, Murat Yildizoglu wrote: >> > Lyx is not able to recognize \section like commands and translate them to >> > its environment structure (this is how I got the \lyxframeend problem: I >> > wanted to have more readable section titles, by selection the >> corresponding >> > environment for them). >> Looks like SW uses non-standard ways to mark up sections. Maybe >> pre-processing the *.tex file before the LyX import helps. > sections uses quite standard commands. For example, one of the sections that > ended up in an ERB is: > \section{Une br\`{e}ve histoire de la croissance} > which is quite standard to my eyes. It is indeed. And usually \section commands are recognized by reLyX, so it seems something threw it off before this line. ... > But, it is strange that \begin{frame} is not recognized by Lyx and end up in > a ERB. The reason is, that there is not Style for the "frame" environment in the standard beamer.layout file. Instead, there is the "BeginFrame" style that translates to \lyxframeend{}\lyxframe. > I could maybe replace them by \lyxframebegin; but that would not be > simple since I must also handle, in this case, the \frametitle command's > argument (by transfering it of \lyxframebegin)... That could introduce more > mess in some cases if I am not careful :-( I propose an alternative beamer.layout file without all these "lyxframe...". This is somewhere down on my TODO list (after getting some more knowledge about beamer). As a start, you could try to copy beamer.layout to your $LYXDIR/layout/ directory and add a Frame style (definition adapted from my seminar.layout, not tested): Style Frame LatexType Environment LatexName frame NextNoIndent1 Margin Static LeftMargin N ParIndent "" TopSep 0.4 LabelType Top_Environment LabelString "Landscape Slide:" End Then, re-try the import. If this helps a bit, we can try to devise a more standard beamer layout. Günter
Fwd: Lyx and Beamer
Oups, I have forgotten the list's address in my reply. -- Forwarded message -- From: Murat YildizogluDate: 2011/6/29 Subject: Re: Lyx and Beamer To: Guenter Milde Thank you Guenter, That works better visually, but I crash too frequently after having introduced this environment in the layout file. There must be something tricky going on... If I have sometime during summer, I will check if I can create a more complete layout adapted for the importation of my beamer files. But I have several new courses to build this summer and I am not sure at all to have this time. 2011/6/29 Guenter Milde > On 2011-06-29, Murat Yildizoglu wrote: > > 2011/6/29 Guenter Milde > >> On 2011-06-28, Murat Yildizoglu wrote: > > >> > Lyx is not able to recognize \section like commands and translate them > to > >> > its environment structure (this is how I got the \lyxframeend problem: > I > >> > wanted to have more readable section titles, by selection the > >> corresponding > >> > environment for them). > > >> Looks like SW uses non-standard ways to mark up sections. Maybe > >> pre-processing the *.tex file before the LyX import helps. > > > sections uses quite standard commands. For example, one of the sections > that > > ended up in an ERB is: > > > \section{Une br\`{e}ve histoire de la croissance} > > > which is quite standard to my eyes. > > It is indeed. And usually \section commands are recognized by reLyX, > so it seems something threw it off before this line. > > ... > > > But, it is strange that \begin{frame} is not recognized by Lyx and end up > in > > a ERB. > > The reason is, that there is not Style for the "frame" environment in > the standard beamer.layout file. Instead, there is the "BeginFrame" > style that translates to \lyxframeend{}\lyxframe. > > > I could maybe replace them by \lyxframebegin; but that would not be > > simple since I must also handle, in this case, the \frametitle command's > > argument (by transfering it of \lyxframebegin)... That could introduce > more > > mess in some cases if I am not careful :-( > > I propose an alternative beamer.layout file without all these > "lyxframe...". This is somewhere down on my TODO list (after getting > some more knowledge about beamer). > > As a start, you could try to copy beamer.layout to your $LYXDIR/layout/ > directory and add a Frame style (definition adapted from my > seminar.layout, not tested): > > Style Frame >LatexType Environment >LatexName frame >NextNoIndent1 >Margin Static >LeftMargin N >ParIndent "" >TopSep 0.4 >LabelType Top_Environment >LabelString "Landscape Slide:" > End > > Then, re-try the import. If this helps a bit, we can try to devise a > more standard beamer layout. > > Günter > > -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __ -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __
Problem with nomentbl-package and LYX 2.0RC3 miktex2.9
Hi everyone, I've installed LYX 2.0 RC3 and use it with miktex 2.9. I wrote my abbreviation list with the nomentbl-package. It worked very well with Lyx 1.6 and Miktex 2.7. When I compile it now, it doesn't write the list in my document, although I get no error messages. I used the following commands in the Tools/Output/Latex/nomenclaturecommands: -s nomentbl.ist -o "%tm".nls "%tm".nlo But when I export the File in a tex-File and compile it with the TexnicCenter, it writes the List in the document! When I compile the Lyx file now, it shows me the list. Looks like Lyx only compile the File once and can't produce the Abbrev-List! Has anyone the same mistake ever seen before? Any suggestions? Thanks a lot. Sincerely...
Re: Can't convert
Richard, Paul, LyX Users, It's been over a week since I've been able to convert to finished text in either LyX 1.6.7 or 2.0.0 (using DVI or View). I've received many suggestions, for which I am grateful, but nothing has worked. Is there a way to wipe both versions of LyX off my computer and start over from scratch? My OS is Windows XP. Bill Hanson On Mon, Jun 27, 2011 at 2:01 PM, Richard Heckwrote: > On 06/27/2011 02:53 PM, William Hanson wrote: > > I made the change in 1.6.7 but still couldn't convert. The error > > message was, "No information for exporting the format DVI". > > > > In 2.0 I changed: "article" "article" "article" "false" > > "article.cls" to > > "article" "article" "article" "true" "article.cls", since that was the > > closest line in 2.0 to > > "article" "article" "article" "false". Conversion didn't work in 2.0 > > either. The error message was, "The directory path to the document > > cannot contain spaces". > > > OK, bad idea. > > rh > >
Re: no classes available after installation of 1.6.10 and 2.0.0-3
On 06/28/2011 03:54 AM, Matthias Hunstig wrote: It only partly worked for 1.6.10. I now have a very limited and to my eyes strange selection of classes available, the rest is still markes as unavailable; see attachment. In 2.0.0., there are still not classes available in the menu at all. Are there classes that you know you have installed in MiKTeX but do not appear on the list in 1.6.10? It seems to be finding the classes you would get with a minimal installation of MiKTeX. Also, did you try reconfiguring 1.6.10 after you deleted the local user directory? I can't remember: have we looked at your configuration log for 2.0.0? Paul
Re: Can't convert
On 06/29/2011 02:35 PM, William Hanson wrote: Richard, Paul, LyX Users, It's been over a week since I've been able to convert to finished text in either LyX 1.6.7 or 2.0.0 (using DVI or View). I've received many suggestions, for which I am grateful, but nothing has worked. Is there a way to wipe both versions of LyX off my computer and start over from scratch? My OS is Windows XP. Yes. You can run the uninstallers: go to Control Panel, look for the category that says install/uninstall software, click uninstall to get a list of software for which Windows has identified an uninstaller, and use that to wipe both versions. (As an aside, there's a very nice freeware program for Windows called CCleaner that, among other things, will do the same thing, but a bit faster. It also has a registry cleaner, which is useful for zapping wayward registry entries that many uninstallers leave behind.) After uninstalling, look for the LyX program directories (under C:\Program Files) and the user directories (which you've previously visited) and delete anything that may have been left behind. Paul
Re: Noun (smallcaps) in Section title
Manolo Martínez austrohungaro.com> writes: > A quick question. If I use the Noun character style in a Section title, > article(paper) ignores me and renders it in lowercase. Is there a way to > override the style in this particular respect? Document classes frequently dictate the font for headings (overruling your choice). The sectsty package allows you to set font styles for headings, but it does not work with article(paper). If you're willing to switch to a class sectsty supports, that is one way to get what you want. Another possibility is to put this in your preamble: \usepackage{titlesec} \titleformat*{\section}{\bfseries\sc} That will put section titles in small caps, but they will not be bold face. Paul