RE : Formatting source code
Yes, you can. The listings package is a good solution as for me ... For example : \usepackage{listings} ... \lstinputlisting[language=Java, alsolanguage=SQL, label={mylabel}, caption={...}]{myfile.java} ... To insert a hyperref (with the 'hyperref' package) : \ref{mylabel} -Message d'origine- De : Invisible Person [mailto:[EMAIL PROTECTED] Envoyé : mercredi 25 mai 2005 16:55 À : lyx-users@lists.lyx.org Objet : Formatting source code Hello list, I want to insert source code ( Java, Sql) into the document. Can I insert it formatted (indent and/or colored) like in an IDE? thanks, Christian
RE : Formatting source code
Yes, you can. The listings package is a good solution as for me ... For example : \usepackage{listings} ... \lstinputlisting[language=Java, alsolanguage=SQL, label={mylabel}, caption={...}]{myfile.java} ... To insert a hyperref (with the 'hyperref' package) : \ref{mylabel} -Message d'origine- De : Invisible Person [mailto:[EMAIL PROTECTED] Envoyé : mercredi 25 mai 2005 16:55 À : lyx-users@lists.lyx.org Objet : Formatting source code Hello list, I want to insert source code ( Java, Sql) into the document. Can I insert it formatted (indent and/or colored) like in an IDE? thanks, Christian
RE : Formatting source code
Yes, you can. The "listings" package is a good solution as for me ... For example : \usepackage{listings} ... \lstinputlisting[language=Java, alsolanguage=SQL, label={mylabel}, caption={...}]{myfile.java} ... To insert a hyperref (with the 'hyperref' package) : \ref{mylabel} -Message d'origine- De : Invisible Person [mailto:[EMAIL PROTECTED] Envoyé : mercredi 25 mai 2005 16:55 À : lyx-users@lists.lyx.org Objet : Formatting source code Hello list, I want to insert source code ( Java, Sql) into the document. Can I insert it formatted (indent and/or colored) like in an IDE? thanks, Christian
RE : How fonts work in lyx
Did you try to change utf-8 to iso-8859-1 in the etc/sysconfig/i18n file ? -Message d'origine- De : Trond SAUE [mailto:[EMAIL PROTECTED] Envoyé : vendredi 15 avril 2005 11:53 À : lyx-users@lists.lyx.org Objet : How fonts work in lyx I have seen earlier postings reporting problems with deadkeys and accents in lyx 1.3.5 combined with Fedora Core 3, but so far no solution. In order to get a better understanding of the problem I would like to know a little bit more about how lyx works with fonts. With my current setup I can compose characters with accents in programs like emacs and xterm, but not in lyx, under Fedora Core 3. I could under Fedora Core 2, so something happened on the way. Both under Fedora Core 2 and 3 the spellchecker would not display any character with accent. I read somewhere that emacs and xterm are governed by the X server for the keyboard input. Apparently this is not the case for lyx, so how does it work ??? I feel that it is VERY IMPORTANT to fix these problems. I, like so many people, am very fond of lyx. All the best, Trond SAUE Laboratoire de Chimie Quantique et Modélisation Moléculaire UMR 7551 CNRS/ULP Institut Le Bel Université Louis Pasteur 4, rue Blaise Pascal 67000 STRASBOURG tél: +33(0)3 90 24 13 01 fax: +33(0)3 90 24 15 89 Email: [EMAIL PROTECTED] DIRAC: http://dirac.chem.sdu.dk/
RE : How fonts work in lyx
Did you try to change utf-8 to iso-8859-1 in the etc/sysconfig/i18n file ? -Message d'origine- De : Trond SAUE [mailto:[EMAIL PROTECTED] Envoyé : vendredi 15 avril 2005 11:53 À : lyx-users@lists.lyx.org Objet : How fonts work in lyx I have seen earlier postings reporting problems with deadkeys and accents in lyx 1.3.5 combined with Fedora Core 3, but so far no solution. In order to get a better understanding of the problem I would like to know a little bit more about how lyx works with fonts. With my current setup I can compose characters with accents in programs like emacs and xterm, but not in lyx, under Fedora Core 3. I could under Fedora Core 2, so something happened on the way. Both under Fedora Core 2 and 3 the spellchecker would not display any character with accent. I read somewhere that emacs and xterm are governed by the X server for the keyboard input. Apparently this is not the case for lyx, so how does it work ??? I feel that it is VERY IMPORTANT to fix these problems. I, like so many people, am very fond of lyx. All the best, Trond SAUE Laboratoire de Chimie Quantique et Modélisation Moléculaire UMR 7551 CNRS/ULP Institut Le Bel Université Louis Pasteur 4, rue Blaise Pascal 67000 STRASBOURG tél: +33(0)3 90 24 13 01 fax: +33(0)3 90 24 15 89 Email: [EMAIL PROTECTED] DIRAC: http://dirac.chem.sdu.dk/
RE : How fonts work in lyx
Did you try to change "utf-8" to "iso-8859-1" in the "etc/sysconfig/i18n" file ? -Message d'origine- De : Trond SAUE [mailto:[EMAIL PROTECTED] Envoyé : vendredi 15 avril 2005 11:53 À : lyx-users@lists.lyx.org Objet : How fonts work in lyx I have seen earlier postings reporting problems with deadkeys and accents in lyx 1.3.5 combined with Fedora Core 3, but so far no solution. In order to get a better understanding of the problem I would like to know a little bit more about how lyx works with fonts. With my current setup I can compose characters with accents in programs like emacs and xterm, but not in lyx, under Fedora Core 3. I could under Fedora Core 2, so something happened on the way. Both under Fedora Core 2 and 3 the spellchecker would not display any character with accent. I read somewhere that emacs and xterm are governed by the X server for the keyboard input. Apparently this is not the case for lyx, so how does it work ??? I feel that it is VERY IMPORTANT to fix these problems. I, like so many people, am very fond of lyx. All the best, Trond SAUE Laboratoire de Chimie Quantique et Modélisation Moléculaire UMR 7551 CNRS/ULP Institut Le Bel Université Louis Pasteur 4, rue Blaise Pascal 67000 STRASBOURG tél: +33(0)3 90 24 13 01 fax: +33(0)3 90 24 15 89 Email: [EMAIL PROTECTED] DIRAC: http://dirac.chem.sdu.dk/
LyX-1.3.5 - Windows native version - Problem with Latex2html
Hello, I have a problem when I want to export my .lyx document in .html, with the latex2html package (installed with MiKTeX). The following error message is displayed : Cannot convert file ... Error while executing latex2html -no_subdir -split 0 -show_section_number. In Preferences \ Converters, I added this entry : Latex - HTML, with this command : latex2html -no_subdir -split 0 -show_section_numbers $$i Is it a known bug or is it a configuration problem ? Thanks in advance, P. Mellerin.
RE : LyX-1.3.5 - Windows native version - Problem with Latex2html
Yes, absolutely ... As MiKTeX proposes the converter 'text4ht', I thought that it was the same for 'LaTeX2HTML' ... unfortunately it is not the case, as you said ! So, I have followed the indications at this address : http://www.mayer.dial.pipex.com/l2h.htm and now all is OK ... -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Milos Komarcevic Envoyé : jeudi 31 mars 2005 16:33 À : lyx-users@lists.lyx.org Objet : Re: LyX-1.3.5 - Windows native version - Problem with Latex2html EXT / TEAMLOG MELLERIN Pierrick [EMAIL PROTECTED] writes: Hello, I have a problem when I want to export my .lyx document in .html, with the latex2html package (installed with MiKTeX). The latex2html package in MiKTeX is unfortunately NOT the expected latex2html binary converter, but just a set of .sty files (don't know how to use those either). M
LyX-1.3.5 - Windows native version - Problem with Latex2html
Hello, I have a problem when I want to export my .lyx document in .html, with the latex2html package (installed with MiKTeX). The following error message is displayed : Cannot convert file ... Error while executing latex2html -no_subdir -split 0 -show_section_number. In Preferences \ Converters, I added this entry : Latex - HTML, with this command : latex2html -no_subdir -split 0 -show_section_numbers $$i Is it a known bug or is it a configuration problem ? Thanks in advance, P. Mellerin.
RE : LyX-1.3.5 - Windows native version - Problem with Latex2html
Yes, absolutely ... As MiKTeX proposes the converter 'text4ht', I thought that it was the same for 'LaTeX2HTML' ... unfortunately it is not the case, as you said ! So, I have followed the indications at this address : http://www.mayer.dial.pipex.com/l2h.htm and now all is OK ... -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Milos Komarcevic Envoyé : jeudi 31 mars 2005 16:33 À : lyx-users@lists.lyx.org Objet : Re: LyX-1.3.5 - Windows native version - Problem with Latex2html EXT / TEAMLOG MELLERIN Pierrick [EMAIL PROTECTED] writes: Hello, I have a problem when I want to export my .lyx document in .html, with the latex2html package (installed with MiKTeX). The latex2html package in MiKTeX is unfortunately NOT the expected latex2html binary converter, but just a set of .sty files (don't know how to use those either). M
LyX-1.3.5 - Windows native version - Problem with Latex2html
Hello, I have a problem when I want to export my .lyx document in .html, with the latex2html package (installed with MiKTeX). The following error message is displayed : "Cannot convert file ... Error while executing latex2html -no_subdir -split 0 -show_section_number". In "Preferences \ Converters", I added this entry : "Latex -> HTML", with this command : "latex2html -no_subdir -split 0 -show_section_numbers $$i" Is it a known bug or is it a configuration problem ? Thanks in advance, P. Mellerin.
RE : LyX-1.3.5 - Windows native version - Problem with Latex2html
Yes, absolutely ... As MiKTeX proposes the converter 'text4ht', I thought that it was the same for 'LaTeX2HTML' ... unfortunately it is not the case, as you said ! So, I have followed the indications at this address : http://www.mayer.dial.pipex.com/l2h.htm and now all is OK ... -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Milos Komarcevic Envoyé : jeudi 31 mars 2005 16:33 À : lyx-users@lists.lyx.org Objet : Re: LyX-1.3.5 - Windows native version - Problem with Latex2html EXT / TEAMLOG MELLERIN Pierrick <[EMAIL PROTECTED]> writes: > > Hello, > > I have a problem when I want to export my .lyx document in .html, with > the latex2html package (installed with MiKTeX). The latex2html package in MiKTeX is unfortunately NOT the expected latex2html binary converter, but just a set of .sty files (don't know how to use those either). M
RE : RE : pdf file not found
The problem (bug) is a conflict between / (Unix paths) and \ (Windows paths) ... When you open the .lyx document with the Windows Explorer, the path is not correct (for LyX) and, then, LyX does not copy the .pdf in the temporary folder (but at the top of the hard disk (C:\)) and, then, Acrobat can't find the .pdf ... -Message d'origine- De : Geoffrey Lloyd [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 mars 2005 14:30 À : EXT / TEAMLOG MELLERIN Pierrick Cc : lyx-users@lists.lyx.org Objet : Re: RE : pdf file not found What LyX's version do you use ? In Windows native version, if you access to the file by Windows Explorer, this message is displayed (known bug) ... You must open your document in LyX (File \ Open). I know this is true for the *.lyx files but Reader should and did used to find the pdf files but itself. Cf. http://wiki.lyx.org/LyX/WindowsSetup -Message d'origine- De : Geoffrey Lloyd [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 mars 2005 13:27 À : lyx-users@lists.lyx.org Objet : pdf file not found After using pdflatex to convert my lyx file Acrobat Reader says cannot find file. If i search around in the lyx/tmp directory the file is there and i can open it. Any reason why Reader cannot see this, it has been workingin the past. Geoff
RE : RE : pdf file not found
The problem (bug) is a conflict between / (Unix paths) and \ (Windows paths) ... When you open the .lyx document with the Windows Explorer, the path is not correct (for LyX) and, then, LyX does not copy the .pdf in the temporary folder (but at the top of the hard disk (C:\)) and, then, Acrobat can't find the .pdf ... -Message d'origine- De : Geoffrey Lloyd [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 mars 2005 14:30 À : EXT / TEAMLOG MELLERIN Pierrick Cc : lyx-users@lists.lyx.org Objet : Re: RE : pdf file not found What LyX's version do you use ? In Windows native version, if you access to the file by Windows Explorer, this message is displayed (known bug) ... You must open your document in LyX (File \ Open). I know this is true for the *.lyx files but Reader should and did used to find the pdf files but itself. Cf. http://wiki.lyx.org/LyX/WindowsSetup -Message d'origine- De : Geoffrey Lloyd [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 mars 2005 13:27 À : lyx-users@lists.lyx.org Objet : pdf file not found After using pdflatex to convert my lyx file Acrobat Reader says cannot find file. If i search around in the lyx/tmp directory the file is there and i can open it. Any reason why Reader cannot see this, it has been workingin the past. Geoff
RE : RE : pdf file not found
The problem (bug) is a conflict between "/" (Unix paths) and "\" (Windows paths) ... When you open the .lyx document with the Windows Explorer, the path is not correct (for LyX) and, then, LyX does not copy the .pdf in the temporary folder (but at the top of the hard disk (C:\)) and, then, Acrobat can't find the .pdf ... -Message d'origine- De : Geoffrey Lloyd [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 mars 2005 14:30 À : EXT / TEAMLOG MELLERIN Pierrick Cc : lyx-users@lists.lyx.org Objet : Re: RE : pdf file not found > What LyX's version do you use ? > > In Windows native version, if you access to the file by Windows > Explorer, this message is displayed (known bug) ... You must open your > document in LyX (File \ Open). I know this is true for the *.lyx files but Reader should and did used to find the pdf files but itself. > > Cf. http://wiki.lyx.org/LyX/WindowsSetup > > -Message d'origine- > De : Geoffrey Lloyd [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 24 mars 2005 13:27 > À : lyx-users@lists.lyx.org > Objet : pdf file not found > > After using pdflatex to convert my lyx file Acrobat Reader says cannot > find file. > > If i search around in the lyx/tmp directory the file is there and i > can open it. > > Any reason why Reader cannot see this, it has been workingin the past. > > > Geoff >
RE : Superscript with ^ key does not work
Maybe it is a keyboard/charset problem ... A solution is to customize the keyboard map (.bind) you are using, like this for example : \bind C-Upmath-superscript \bind C-Down math-subscript Here, the superscript mode is done with CTRL + Up arrow, and the subscript with CTRL + Down arrow. -Message d'origine- De : Johan Ingvast [mailto:[EMAIL PROTECTED] Envoyé : mardi 22 mars 2005 18:01 À : lyx-users@lists.lyx.org Objet : Superscript with ^ key does not work Hi I had this question on the users list some time ago but did not get any response. Now I hope to get some help from here instead. /johan On Fri, 11 Mar 2005, Johan Ingvast wrote: Hi I have a mysterious problem in math mode. When I type ^ to get the superscript a hat sign is put into the mathbox instead. I know there is a bind M-m-e that I can use, and it works, but I'm used to the hat so I'd really like to get it working. A comparison of the output from lyx -dbg lyxrc with the output from another mashine where it works yields identical result. Running lyx remote on another machine works as it should, so the reason should not be my X installation. Also running lyx as another user on a fresh account gives the same error. Therefore I don't think the error is in my personal configuration. One thing that I don't understand is that my hat is normally a dead key, but when in lyx it is not. Here is the output from running lyx -dbg keyboard typing a^b. I hope it gan give any hints. Press key 65 text a, ascii 97 Setting key to 65, a KeySym is a isOK is 1 isMod is 0 encoding is iso8859-1 Using codec ISO 8859-1 ISOEncoded returning value 97 action first set to [88] action now set to [88] Key [action=88][a] SelfInsert arg[`'] Press key 4128 text none, ascii 0 -- pressing shift Setting key to 4128, KeySym is Shift_L isOK is 1 isMod is 1 isModifier true Press key 4690 text ^, ascii 94-- pressing ^ Setting key to 4690, ^ KeySym is ^ isOK is 1 isMod is 0 encoding is iso8859-1 Using codec ISO 8859-1 ISOEncoded returning value 94 action first set to [-1] action now set to [-1] Key [action=-1][S-^] Trying without shift Action now -1 isText for key 4690 isPrint is 1 isText() is true, inserting. SelfInsert arg[`'] Press key 66 text b, ascii 98 Setting key to 66, b KeySym is b isOK is 1 isMod is 0 encoding is iso8859-1 Using codec ISO 8859-1 ISOEncoded returning value 98 action first set to [88] action now set to [88] Key [action=88][b] SelfInsert arg[`'] I'm running Fedora core 3 with lyx 1.3.5 compiled on the machine. Funny thing is that it worked earlier with the same os-installation and lyx. Thanks in advance /johan -- Johan Ingvast, PhD student http://www.md.kth.se/~ingvast Department of Machine Design, Royal Institute of Technology, Sweden http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj tel +46 (0)8 790 95 36 mob. +46 (0)70 34 34 498
RE : putting a frame strictly around one graphic (figure) only
Sorry but the code you suggest for a frame around a single image doesn't work ... Three Error Boxes appear. My LyX's code : \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset So if you have any .lyx example which works ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 08:51 À : lyx-users@lists.lyx.org Objet : Re: putting a frame strictly around one graphic (figure) only G. Milde wrote: On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote: Hello, I would like to know what is the code for putting a frame strictly around one graphic (figure) only ? I know that the following code is OK : \usepackage{framed} \renewenvironment{figure}[1][tbph] [EMAIL PROTECTED] [EMAIL PROTECTED] But it applies to all the figures of the document ... So try to mimick this in your float: Insert the float via InsertFloatsFigure and in the float use ERT for \begin{framed} and \end{framed}. this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble \let\grfxinput\includegraphics \renewcommand\includegraphics[2][]{% \fbox{\grfxinput[#1]{#2}}} or alternative for a single image \fbox{ ... insert the graphic as uaual ... } Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : putting a frame strictly around one graphic (figure) only
Very strange ... Your code is OK if I set the language to english. But if I set it to french (frenchb), I doesn't work ! Three Error Boxes are displayed ... = Error Box 1 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. = Error Box 2 === LaTeX Error: File `C:/tmp/lyx/lyx_tmpdir3120a01272/lyx_tmpbuf1/_image' not fo .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I could not locate the file with any of these extensions: .eps,.ps,.eps.gz,.ps.gz,.eps.Z Try typing return to proceed. If that doesn't work, type X return to quit. = Error Box 3 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. .lyx document === #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{framed} \end_preamble \language frenchb \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Float figure wide false collapsed false \layout Standard \align center \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset \layout Caption ... \end_inset \the_end === I am using LyX-1.3.5 (Windows native version) with MikTeX. Thanks in advance, P. Mellerin. -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 10:01 À : lyx-users@lists.lyx.org Cc : 'Herbert Voss' Objet : RE : putting a frame strictly around one graphic (figure) only Sorry but the code you suggest for a frame around a single image doesn't work ... Three Error Boxes appear. My LyX's code : \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset So if you have any .lyx example which works ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 08:51 À : lyx-users@lists.lyx.org Objet : Re: putting a frame strictly around one graphic (figure) only G. Milde wrote: On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote: Hello, I would like to know what is the code for putting a frame strictly around one graphic (figure) only ? I know that the following code is OK : \usepackage{framed} \renewenvironment{figure}[1][tbph] [EMAIL PROTECTED] [EMAIL PROTECTED] But it applies to all the figures of the document ... So try to mimick this in your float: Insert the float via InsertFloatsFigure and in the float use ERT for \begin{framed} and \end{framed}. this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble \let\grfxinput\includegraphics \renewcommand\includegraphics[2][]{% \fbox{\grfxinput[#1]{#2}}} or alternative for a single image \fbox{ ... insert the graphic as uaual ... } Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : putting a frame strictly around one graphic (figure) only (b ug issue ?)
In fact, the problem with \fbox{...FIGURE...} doesn't appear if the document's language is set to German, Spanish or English ... It just appears with french ! \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset Is it a known bug with the windows native version of LyX ? -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 11:01 À : 'lyx-users@lists.lyx.org' Cc : '[EMAIL PROTECTED]' Objet : RE : putting a frame strictly around one graphic (figure) only Very strange ... Your code is OK if I set the language to english. But if I set it to french (frenchb), I doesn't work ! Three Error Boxes are displayed ... = Error Box 1 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. = Error Box 2 === LaTeX Error: File `C:/tmp/lyx/lyx_tmpdir3120a01272/lyx_tmpbuf1/_image' not fo .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I could not locate the file with any of these extensions: .eps,.ps,.eps.gz,.ps.gz,.eps.Z Try typing return to proceed. If that doesn't work, type X return to quit. = Error Box 3 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. .lyx document === #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{framed} \end_preamble \language frenchb \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Float figure wide false collapsed false \layout Standard \align center \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset \layout Caption ... \end_inset \the_end === I am using LyX-1.3.5 (Windows native version) with MikTeX. Thanks in advance, P. Mellerin. -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 10:01 À : lyx-users@lists.lyx.org Cc : 'Herbert Voss' Objet : RE : putting a frame strictly around one graphic (figure) only Sorry but the code you suggest for a frame around a single image doesn't work ... Three Error Boxes appear. My LyX's code : \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset So if you have any .lyx example which works ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 08:51 À : lyx-users@lists.lyx.org Objet : Re: putting a frame strictly around one graphic (figure) only G. Milde wrote: On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote: Hello, I would like to know what is the code for putting a frame strictly around one graphic (figure) only ? I know that the following code is OK : \usepackage{framed} \renewenvironment{figure}[1][tbph] [EMAIL PROTECTED] [EMAIL PROTECTED] But it applies to all the figures of the document ... So try to mimick this in your float: Insert the float via InsertFloatsFigure and in the float use ERT for \begin{framed} and \end{framed}. this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble \let\grfxinput\includegraphics \renewcommand\includegraphics[2][]{% \fbox{\grfxinput[#1]{#2}}} or alternative for a single image \fbox{ ... insert the graphic as uaual ... } Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : RE : RE : putting a frame strictly around one graphic (figur e)
I have tried with a file named framed.lyx, under C:\ and with an image named image.png ... Always the same errors in french mode ... I have found this message about the same problem : http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28484.html I have the impression that there is a problem with \ and / under Windows ... Cf. http://www.karakas-online.de/mySGML/missing-dollar-inserted.html I acknowledge that I am well annoyed with this problem ... -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Herbert Voss Envoyé : mercredi 23 mars 2005 12:03 À : lyx-users@lists.lyx.org Objet : Re: RE : RE : putting a frame strictly around one graphic (figure) on ly EXT / TEAMLOG MELLERIN Pierrick wrote: l.18 .../lyx_tmpdir1188a02156/lyx_tmpbuf0/_image}} try to use a filename without a underscore Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : RE : RE : RE : putting a frame strictly around one graphic ( figur e)
Finally, I have found this solution, by replacing \fbox{...FIGURE...} by the following code : begin{framed}\setlength{\hsize}{100mm}...FIGURE...\end{begin} if the figure's width is equal to 100 mm. -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 12:09 À : lyx-users@lists.lyx.org Cc : 'Herbert Voss'; '[EMAIL PROTECTED]' Objet : RE : RE : RE : putting a frame strictly around one graphic (figur e) I have tried with a file named framed.lyx, under C:\ and with an image named image.png ... Always the same errors in french mode ... I have found this message about the same problem : http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28484.html I have the impression that there is a problem with \ and / under Windows ... Cf. http://www.karakas-online.de/mySGML/missing-dollar-inserted.html I acknowledge that I am well annoyed with this problem ... -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Herbert Voss Envoyé : mercredi 23 mars 2005 12:03 À : lyx-users@lists.lyx.org Objet : Re: RE : RE : putting a frame strictly around one graphic (figure) on ly EXT / TEAMLOG MELLERIN Pierrick wrote: l.18 .../lyx_tmpdir1188a02156/lyx_tmpbuf0/_image}} try to use a filename without a underscore Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : RE : RE : RE : RE : putting a frame strictly around one grap hic ( figur e)
That was my first attempt ... and it doesn't work in my configuration (LyX-1.3.5, windows native version, MikTeX ...). Apparently, in this configuration, the Windows conflict between / and \ badly generates a lot of problems with LyX ! If I had the choice, I would be only under Linux, but my office's workstation works with WinXP. Anyway, thank you for your help ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 13:41 À : lyx-users@lists.lyx.org Objet : Re: RE : RE : RE : RE : putting a frame strictly around one graphic ( figur e) EXT / TEAMLOG MELLERIN Pierrick wrote: Finally, I have found this solution, by replacing \fbox{...FIGURE...} by the following code : begin{framed}\setlength{\hsize}{100mm}...FIGURE...\end{begin} if the figure's width is equal to 100 mm. crazy solution ... put the image in a tabular with borders Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : Superscript with ^ key does not work
Maybe it is a keyboard/charset problem ... A solution is to customize the keyboard map (.bind) you are using, like this for example : \bind C-Upmath-superscript \bind C-Down math-subscript Here, the superscript mode is done with CTRL + Up arrow, and the subscript with CTRL + Down arrow. -Message d'origine- De : Johan Ingvast [mailto:[EMAIL PROTECTED] Envoyé : mardi 22 mars 2005 18:01 À : lyx-users@lists.lyx.org Objet : Superscript with ^ key does not work Hi I had this question on the users list some time ago but did not get any response. Now I hope to get some help from here instead. /johan On Fri, 11 Mar 2005, Johan Ingvast wrote: Hi I have a mysterious problem in math mode. When I type ^ to get the superscript a hat sign is put into the mathbox instead. I know there is a bind M-m-e that I can use, and it works, but I'm used to the hat so I'd really like to get it working. A comparison of the output from lyx -dbg lyxrc with the output from another mashine where it works yields identical result. Running lyx remote on another machine works as it should, so the reason should not be my X installation. Also running lyx as another user on a fresh account gives the same error. Therefore I don't think the error is in my personal configuration. One thing that I don't understand is that my hat is normally a dead key, but when in lyx it is not. Here is the output from running lyx -dbg keyboard typing a^b. I hope it gan give any hints. Press key 65 text a, ascii 97 Setting key to 65, a KeySym is a isOK is 1 isMod is 0 encoding is iso8859-1 Using codec ISO 8859-1 ISOEncoded returning value 97 action first set to [88] action now set to [88] Key [action=88][a] SelfInsert arg[`'] Press key 4128 text none, ascii 0 -- pressing shift Setting key to 4128, KeySym is Shift_L isOK is 1 isMod is 1 isModifier true Press key 4690 text ^, ascii 94-- pressing ^ Setting key to 4690, ^ KeySym is ^ isOK is 1 isMod is 0 encoding is iso8859-1 Using codec ISO 8859-1 ISOEncoded returning value 94 action first set to [-1] action now set to [-1] Key [action=-1][S-^] Trying without shift Action now -1 isText for key 4690 isPrint is 1 isText() is true, inserting. SelfInsert arg[`'] Press key 66 text b, ascii 98 Setting key to 66, b KeySym is b isOK is 1 isMod is 0 encoding is iso8859-1 Using codec ISO 8859-1 ISOEncoded returning value 98 action first set to [88] action now set to [88] Key [action=88][b] SelfInsert arg[`'] I'm running Fedora core 3 with lyx 1.3.5 compiled on the machine. Funny thing is that it worked earlier with the same os-installation and lyx. Thanks in advance /johan -- Johan Ingvast, PhD student http://www.md.kth.se/~ingvast Department of Machine Design, Royal Institute of Technology, Sweden http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj tel +46 (0)8 790 95 36 mob. +46 (0)70 34 34 498
RE : putting a frame strictly around one graphic (figure) only
Sorry but the code you suggest for a frame around a single image doesn't work ... Three Error Boxes appear. My LyX's code : \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset So if you have any .lyx example which works ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 08:51 À : lyx-users@lists.lyx.org Objet : Re: putting a frame strictly around one graphic (figure) only G. Milde wrote: On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote: Hello, I would like to know what is the code for putting a frame strictly around one graphic (figure) only ? I know that the following code is OK : \usepackage{framed} \renewenvironment{figure}[1][tbph] [EMAIL PROTECTED] [EMAIL PROTECTED] But it applies to all the figures of the document ... So try to mimick this in your float: Insert the float via InsertFloatsFigure and in the float use ERT for \begin{framed} and \end{framed}. this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble \let\grfxinput\includegraphics \renewcommand\includegraphics[2][]{% \fbox{\grfxinput[#1]{#2}}} or alternative for a single image \fbox{ ... insert the graphic as uaual ... } Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : putting a frame strictly around one graphic (figure) only
Very strange ... Your code is OK if I set the language to english. But if I set it to french (frenchb), I doesn't work ! Three Error Boxes are displayed ... = Error Box 1 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. = Error Box 2 === LaTeX Error: File `C:/tmp/lyx/lyx_tmpdir3120a01272/lyx_tmpbuf1/_image' not fo .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I could not locate the file with any of these extensions: .eps,.ps,.eps.gz,.ps.gz,.eps.Z Try typing return to proceed. If that doesn't work, type X return to quit. = Error Box 3 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. .lyx document === #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{framed} \end_preamble \language frenchb \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Float figure wide false collapsed false \layout Standard \align center \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset \layout Caption ... \end_inset \the_end === I am using LyX-1.3.5 (Windows native version) with MikTeX. Thanks in advance, P. Mellerin. -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 10:01 À : lyx-users@lists.lyx.org Cc : 'Herbert Voss' Objet : RE : putting a frame strictly around one graphic (figure) only Sorry but the code you suggest for a frame around a single image doesn't work ... Three Error Boxes appear. My LyX's code : \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset So if you have any .lyx example which works ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 08:51 À : lyx-users@lists.lyx.org Objet : Re: putting a frame strictly around one graphic (figure) only G. Milde wrote: On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote: Hello, I would like to know what is the code for putting a frame strictly around one graphic (figure) only ? I know that the following code is OK : \usepackage{framed} \renewenvironment{figure}[1][tbph] [EMAIL PROTECTED] [EMAIL PROTECTED] But it applies to all the figures of the document ... So try to mimick this in your float: Insert the float via InsertFloatsFigure and in the float use ERT for \begin{framed} and \end{framed}. this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble \let\grfxinput\includegraphics \renewcommand\includegraphics[2][]{% \fbox{\grfxinput[#1]{#2}}} or alternative for a single image \fbox{ ... insert the graphic as uaual ... } Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : putting a frame strictly around one graphic (figure) only (b ug issue ?)
In fact, the problem with \fbox{...FIGURE...} doesn't appear if the document's language is set to German, Spanish or English ... It just appears with french ! \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset Is it a known bug with the windows native version of LyX ? -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 11:01 À : 'lyx-users@lists.lyx.org' Cc : '[EMAIL PROTECTED]' Objet : RE : putting a frame strictly around one graphic (figure) only Very strange ... Your code is OK if I set the language to english. But if I set it to french (frenchb), I doesn't work ! Three Error Boxes are displayed ... = Error Box 1 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. = Error Box 2 === LaTeX Error: File `C:/tmp/lyx/lyx_tmpdir3120a01272/lyx_tmpbuf1/_image' not fo .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I could not locate the file with any of these extensions: .eps,.ps,.eps.gz,.ps.gz,.eps.Z Try typing return to proceed. If that doesn't work, type X return to quit. = Error Box 3 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. .lyx document === #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{framed} \end_preamble \language frenchb \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Float figure wide false collapsed false \layout Standard \align center \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset \layout Caption ... \end_inset \the_end === I am using LyX-1.3.5 (Windows native version) with MikTeX. Thanks in advance, P. Mellerin. -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 10:01 À : lyx-users@lists.lyx.org Cc : 'Herbert Voss' Objet : RE : putting a frame strictly around one graphic (figure) only Sorry but the code you suggest for a frame around a single image doesn't work ... Three Error Boxes appear. My LyX's code : \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset So if you have any .lyx example which works ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 08:51 À : lyx-users@lists.lyx.org Objet : Re: putting a frame strictly around one graphic (figure) only G. Milde wrote: On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote: Hello, I would like to know what is the code for putting a frame strictly around one graphic (figure) only ? I know that the following code is OK : \usepackage{framed} \renewenvironment{figure}[1][tbph] [EMAIL PROTECTED] [EMAIL PROTECTED] But it applies to all the figures of the document ... So try to mimick this in your float: Insert the float via InsertFloatsFigure and in the float use ERT for \begin{framed} and \end{framed}. this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble \let\grfxinput\includegraphics \renewcommand\includegraphics[2][]{% \fbox{\grfxinput[#1]{#2}}} or alternative for a single image \fbox{ ... insert the graphic as uaual ... } Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : RE : RE : putting a frame strictly around one graphic (figur e)
I have tried with a file named framed.lyx, under C:\ and with an image named image.png ... Always the same errors in french mode ... I have found this message about the same problem : http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28484.html I have the impression that there is a problem with \ and / under Windows ... Cf. http://www.karakas-online.de/mySGML/missing-dollar-inserted.html I acknowledge that I am well annoyed with this problem ... -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Herbert Voss Envoyé : mercredi 23 mars 2005 12:03 À : lyx-users@lists.lyx.org Objet : Re: RE : RE : putting a frame strictly around one graphic (figure) on ly EXT / TEAMLOG MELLERIN Pierrick wrote: l.18 .../lyx_tmpdir1188a02156/lyx_tmpbuf0/_image}} try to use a filename without a underscore Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : RE : RE : RE : putting a frame strictly around one graphic ( figur e)
Finally, I have found this solution, by replacing \fbox{...FIGURE...} by the following code : begin{framed}\setlength{\hsize}{100mm}...FIGURE...\end{begin} if the figure's width is equal to 100 mm. -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 12:09 À : lyx-users@lists.lyx.org Cc : 'Herbert Voss'; '[EMAIL PROTECTED]' Objet : RE : RE : RE : putting a frame strictly around one graphic (figur e) I have tried with a file named framed.lyx, under C:\ and with an image named image.png ... Always the same errors in french mode ... I have found this message about the same problem : http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28484.html I have the impression that there is a problem with \ and / under Windows ... Cf. http://www.karakas-online.de/mySGML/missing-dollar-inserted.html I acknowledge that I am well annoyed with this problem ... -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Herbert Voss Envoyé : mercredi 23 mars 2005 12:03 À : lyx-users@lists.lyx.org Objet : Re: RE : RE : putting a frame strictly around one graphic (figure) on ly EXT / TEAMLOG MELLERIN Pierrick wrote: l.18 .../lyx_tmpdir1188a02156/lyx_tmpbuf0/_image}} try to use a filename without a underscore Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : RE : RE : RE : RE : putting a frame strictly around one grap hic ( figur e)
That was my first attempt ... and it doesn't work in my configuration (LyX-1.3.5, windows native version, MikTeX ...). Apparently, in this configuration, the Windows conflict between / and \ badly generates a lot of problems with LyX ! If I had the choice, I would be only under Linux, but my office's workstation works with WinXP. Anyway, thank you for your help ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 13:41 À : lyx-users@lists.lyx.org Objet : Re: RE : RE : RE : RE : putting a frame strictly around one graphic ( figur e) EXT / TEAMLOG MELLERIN Pierrick wrote: Finally, I have found this solution, by replacing \fbox{...FIGURE...} by the following code : begin{framed}\setlength{\hsize}{100mm}...FIGURE...\end{begin} if the figure's width is equal to 100 mm. crazy solution ... put the image in a tabular with borders Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : Superscript with ^ key does not work
Maybe it is a keyboard/charset problem ... A solution is to customize the keyboard map (.bind) you are using, like this for example : \bind "C-Up""math-superscript" \bind "C-Down" "math-subscript" Here, the superscript mode is done with + "Up arrow", and the subscript with + "Down arrow". -Message d'origine- De : Johan Ingvast [mailto:[EMAIL PROTECTED] Envoyé : mardi 22 mars 2005 18:01 À : lyx-users@lists.lyx.org Objet : Superscript with ^ key does not work Hi I had this question on the users list some time ago but did not get any response. Now I hope to get some help from here instead. /johan On Fri, 11 Mar 2005, Johan Ingvast wrote: > Hi > I have a mysterious problem in math mode. > When I type "^" to get the superscript a hat sign is put into the > mathbox instead. I know there is a bind "M-m-e" that I can use, and it > works, but I'm used to the hat so I'd really like to get it working. > > A comparison of the output from "lyx -dbg lyxrc" with the output from > another mashine where it works yields identical result. Running lyx > remote on another machine works as it should, so the reason should not > be my X installation. Also running lyx as another user on a fresh > account gives the same error. Therefore I don't think the error is in > my personal configuration. > > One thing that I don't understand is that my hat is normally a dead > key, but when in lyx it is not. > > Here is the output from running "lyx -dbg keyboard" typing "a^b". I > hope it gan give any hints. > > Press key 65 text "a", ascii "97" > Setting key to 65, a > KeySym is a > isOK is 1 > isMod is 0 > encoding is iso8859-1 > Using codec ISO 8859-1 > ISOEncoded returning value 97 > action first set to [88] > action now set to [88] > Key [action=88][a] > SelfInsert arg[`'] > Press key 4128 text "none", ascii "0" <-- pressing shift > Setting key to 4128, > KeySym is Shift_L > isOK is 1 > isMod is 1 > isModifier true > Press key 4690 text "^", ascii "94"<-- pressing "^" > Setting key to 4690, ^ > KeySym is ^ > isOK is 1 > isMod is 0 > encoding is iso8859-1 > Using codec ISO 8859-1 > ISOEncoded returning value 94 > action first set to [-1] > action now set to [-1] > Key [action=-1][S-^] > Trying without shift > Action now -1 > isText for key 4690 isPrint is 1 > isText() is true, inserting. > SelfInsert arg[`'] > Press key 66 text "b", ascii "98" > Setting key to 66, b > KeySym is b > isOK is 1 > isMod is 0 > encoding is iso8859-1 > Using codec ISO 8859-1 > ISOEncoded returning value 98 > action first set to [88] > action now set to [88] > Key [action=88][b] > SelfInsert arg[`'] > > I'm running Fedora core 3 with lyx 1.3.5 compiled on the machine. > Funny thing is that it worked earlier with the same os-installation > and lyx. > > Thanks in advance > > /johan > > -- Johan Ingvast, PhD student http://www.md.kth.se/~ingvast Department of Machine Design, Royal Institute of Technology, Sweden http://www.md.kth.se, http://www.md.kth.se/~cas <--- Walking robot proj tel +46 (0)8 790 95 36 mob. +46 (0)70 34 34 498
RE : putting a frame strictly around one graphic (figure) only
Sorry but the code you suggest for a frame around a single image doesn't work ... Three Error Boxes appear. My LyX's code : \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset So if you have any .lyx example which works ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 08:51 À : lyx-users@lists.lyx.org Objet : Re: putting a frame strictly around one graphic (figure) only G. Milde wrote: > On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote: > >>Hello, >> >>I would like to know what is the code for putting a frame strictly >>around one graphic (figure) only ? > > >>I know that the following code is OK : >> >>\usepackage{framed} >>\renewenvironment{figure}[1][tbph] >> [EMAIL PROTECTED] >> [EMAIL PROTECTED] >> >>But it applies to all the figures of the document ... > > > So try to mimick this in your float: Insert the float via > Insert>Floats>Figure and in the float use ERT for \begin{framed} and > \end{framed}. this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble \let\grfxinput\includegraphics \renewcommand\includegraphics[2][]{% \fbox{\grfxinput[#1]{#2}}} or alternative for a single image \fbox{ ... insert the graphic as uaual ... } Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : putting a frame strictly around one graphic (figure) only
Very strange ... Your code is OK if I set the language to english. But if I set it to french (frenchb), I doesn't work ! Three Error Boxes are displayed ... = Error Box 1 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted something that you may have forgotten. (See the above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. = Error Box 2 === LaTeX Error: File `C:/tmp/lyx/lyx_tmpdir3120a01272/lyx_tmpbuf1/_image' not fo .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I could not locate the file with any of these extensions: .eps,.ps,.eps.gz,.ps.gz,.eps.Z Try typingto proceed. If that doesn't work, type X to quit. = Error Box 3 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. .lyx document === #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{framed} \end_preamble \language frenchb \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Float figure wide false collapsed false \layout Standard \align center \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset \layout Caption ... \end_inset \the_end === I am using LyX-1.3.5 (Windows native version) with MikTeX. Thanks in advance, P. Mellerin. -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 10:01 À : lyx-users@lists.lyx.org Cc : 'Herbert Voss' Objet : RE : putting a frame strictly around one graphic (figure) only Sorry but the code you suggest for a frame around a single image doesn't work ... Three Error Boxes appear. My LyX's code : \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset So if you have any .lyx example which works ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 08:51 À : lyx-users@lists.lyx.org Objet : Re: putting a frame strictly around one graphic (figure) only G. Milde wrote: > On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote: > >>Hello, >> >>I would like to know what is the code for putting a frame strictly >>around one graphic (figure) only ? > > >>I know that the following code is OK : >> >>\usepackage{framed} >>\renewenvironment{figure}[1][tbph] >> [EMAIL PROTECTED] >> [EMAIL PROTECTED] >> >>But it applies to all the figures of the document ... > > > So try to mimick this in your float: Insert the float via > Insert>Floats>Figure and in the float use ERT for \begin{framed} and > \end{framed}. this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble \let\grfxinput\includegraphics \renewcommand\includegraphics[2][]{% \fbox{\grfxinput[#1]{#2}}} or alternative for a single image \fbox{ ... insert the graphic as uaual ... } Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : putting a frame strictly around one graphic (figure) only (b ug issue ?)
In fact, the problem with "\fbox{...FIGURE...}" doesn't appear if the document's language is set to German, Spanish or English ... It just appears with "french" ! \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset Is it a known bug with the windows native version of LyX ? -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 11:01 À : 'lyx-users@lists.lyx.org' Cc : '[EMAIL PROTECTED]' Objet : RE : putting a frame strictly around one graphic (figure) only Very strange ... Your code is OK if I set the language to english. But if I set it to french (frenchb), I doesn't work ! Three Error Boxes are displayed ... = Error Box 1 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted something that you may have forgotten. (See the above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. = Error Box 2 === LaTeX Error: File `C:/tmp/lyx/lyx_tmpdir3120a01272/lyx_tmpbuf1/_image' not fo .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I could not locate the file with any of these extensions: .eps,.ps,.eps.gz,.ps.gz,.eps.Z Try typingto proceed. If that doesn't work, type X to quit. = Error Box 3 = Missing $ inserted. .../lyx_tmpdir3120a01272/lyx_tmpbuf1/_image}} \end{center} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. .lyx document === #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{framed} \end_preamble \language frenchb \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Float figure wide false collapsed false \layout Standard \align center \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset \layout Caption ... \end_inset \the_end === I am using LyX-1.3.5 (Windows native version) with MikTeX. Thanks in advance, P. Mellerin. -Message d'origine- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 10:01 À : lyx-users@lists.lyx.org Cc : 'Herbert Voss' Objet : RE : putting a frame strictly around one graphic (figure) only Sorry but the code you suggest for a frame around a single image doesn't work ... Three Error Boxes appear. My LyX's code : \begin_inset ERT status Collapsed \layout Standard \backslash fbox{ \end_inset \begin_inset Graphics filename image.png \end_inset \begin_inset ERT status Collapsed \layout Standard } \end_inset So if you have any .lyx example which works ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 08:51 À : lyx-users@lists.lyx.org Objet : Re: putting a frame strictly around one graphic (figure) only G. Milde wrote: > On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote: > >>Hello, >> >>I would like to know what is the code for putting a frame strictly >>around one graphic (figure) only ? > > >>I know that the following code is OK : >> >>\usepackage{framed} >>\renewenvironment{figure}[1][tbph] >> [EMAIL PROTECTED] >> [EMAIL PROTECTED] >> >>But it applies to all the figures of the document ... > > > So try to mimick this in your float: Insert the float via > Insert>Floats>Figure and in the float use ERT for \begin{framed} and > \end{framed}. this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble \let\grfxinput\includegraphics \renewcommand\includegraphics[2][]{% \fbox{\grfxinput[#1]{#2}}} or alternative for a single image \fbox{ ... insert the graphic as uaual ... } Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : RE : RE : putting a frame strictly around one graphic (figur e)
I have tried with a file named "framed.lyx", under "C:\" and with an image named "image.png" ... Always the same errors in french mode ... I have found this message about the same problem : http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28484.html I have the impression that there is a problem with "\" and "/" under Windows ... Cf. http://www.karakas-online.de/mySGML/missing-dollar-inserted.html I acknowledge that I am well annoyed with this problem ... -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Herbert Voss Envoyé : mercredi 23 mars 2005 12:03 À : lyx-users@lists.lyx.org Objet : Re: RE : RE : putting a frame strictly around one graphic (figure) on ly EXT / TEAMLOG MELLERIN Pierrick wrote: > l.18 .../lyx_tmpdir1188a02156/lyx_tmpbuf0/_image}} try to use a filename without a underscore Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : RE : RE : RE : putting a frame strictly around one graphic ( figur e)
Finally, I have found this solution, by replacing "\fbox{...FIGURE...}" by the following code : begin{framed}\setlength{\hsize}{100mm}...FIGURE...\end{begin} if the figure's width is equal to 100 mm. -Message d'origine----- De : EXT / TEAMLOG MELLERIN Pierrick Envoyé : mercredi 23 mars 2005 12:09 À : lyx-users@lists.lyx.org Cc : 'Herbert Voss'; '[EMAIL PROTECTED]' Objet : RE : RE : RE : putting a frame strictly around one graphic (figur e) I have tried with a file named "framed.lyx", under "C:\" and with an image named "image.png" ... Always the same errors in french mode ... I have found this message about the same problem : http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28484.html I have the impression that there is a problem with "\" and "/" under Windows ... Cf. http://www.karakas-online.de/mySGML/missing-dollar-inserted.html I acknowledge that I am well annoyed with this problem ... -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Herbert Voss Envoyé : mercredi 23 mars 2005 12:03 À : lyx-users@lists.lyx.org Objet : Re: RE : RE : putting a frame strictly around one graphic (figure) on ly EXT / TEAMLOG MELLERIN Pierrick wrote: > l.18 .../lyx_tmpdir1188a02156/lyx_tmpbuf0/_image}} try to use a filename without a underscore Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
RE : RE : RE : RE : RE : putting a frame strictly around one grap hic ( figur e)
That was my first attempt ... and it doesn't work in my configuration (LyX-1.3.5, windows native version, MikTeX ...). Apparently, in this configuration, the Windows conflict between "/" and "\" badly generates a lot of problems with LyX ! If I had the choice, I would be only under Linux, but my office's workstation works with WinXP. Anyway, thank you for your help ... :) -Message d'origine- De : Herbert Voss [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 mars 2005 13:41 À : lyx-users@lists.lyx.org Objet : Re: RE : RE : RE : RE : putting a frame strictly around one graphic ( figur e) EXT / TEAMLOG MELLERIN Pierrick wrote: > Finally, I have found this solution, by replacing > "\fbox{...FIGURE...}" by the following code : > > begin{framed}\setlength{\hsize}{100mm}...FIGURE...\end{begin} > > if the figure's width is equal to 100 mm. crazy solution ... put the image in a tabular with borders Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
how to insert a 'landscape page' inside a document with portrait orientation ?
hello, inside a document with portait orientation as global option, is it possible to insert a figure (or a table) in the landscape format without rotating it ? So, I would like to have, inside my pdf export, the figure's page with a landscape orientation, and the other pages with portrait orientation, i.e. I would like to insert a landscape page in a document with portrait orientation ! I have tried with rotating and landscape packages but, apparently, these packages are only designed to rotate landscape figures for display them in a document with portrait orientation ? I use LyX-1.3.5 (Windows native version). Thanks in advance and best regards, P. Mellerin.
RE : bibliography
JabRef (written in Java) is the good choice as for me. You can find it at this address : http://jabref.sourceforge.net/ -Message d'origine- De : Renard Francois [mailto:[EMAIL PROTECTED] Envoyé : jeudi 17 mars 2005 15:16 À : User Lyx Objet : bibliography Hello everybody, About bibliography, I'd like to know if there is a bibliography software to recommend for use under Linux or Solaris, and adapted to generate latex bibliography (.bib) and able to insert automatically new bibliography references (from search engines like ISI web of science or Inspec, ...). Thank you, François -- François RENARD CEA/DIF/DASE/SRCE BP 12 F-91680 Bruyeres Le Chatel FRANCE tel:(33)(0)1.69.26.62.99 fax:(33)(0)1.69.26.70.65 mailto:[EMAIL PROTECTED]
RE : Problem with math formula
if the /usr/share/fonts/latex-xft-fonts directory is empty, you must try to (re)install the latex-xtf-fonts package ... -Message d'origine- De : punx120 [mailto:[EMAIL PROTECTED] Envoyé : jeudi 17 mars 2005 16:16 À : lyx-users@lists.lyx.org Objet : Problem with math formula Hello everyone, I install lyx on a friend's laptop running Mandrake 10.0, the version of lyx is 1.3.4. When he wants to insert math formula, the special sign like \sum or \theta doesn't appears graphically, I mean there is only sum or theta, etc On my debian system, running lyx 1.3.5, everything is ok. So I'm wondering what may due this problem, Thanks for your help. Sylvain
how to insert a 'landscape page' inside a document with portrait orientation ?
hello, inside a document with portait orientation as global option, is it possible to insert a figure (or a table) in the landscape format without rotating it ? So, I would like to have, inside my pdf export, the figure's page with a landscape orientation, and the other pages with portrait orientation, i.e. I would like to insert a landscape page in a document with portrait orientation ! I have tried with rotating and landscape packages but, apparently, these packages are only designed to rotate landscape figures for display them in a document with portrait orientation ? I use LyX-1.3.5 (Windows native version). Thanks in advance and best regards, P. Mellerin.
RE : bibliography
JabRef (written in Java) is the good choice as for me. You can find it at this address : http://jabref.sourceforge.net/ -Message d'origine- De : Renard Francois [mailto:[EMAIL PROTECTED] Envoyé : jeudi 17 mars 2005 15:16 À : User Lyx Objet : bibliography Hello everybody, About bibliography, I'd like to know if there is a bibliography software to recommend for use under Linux or Solaris, and adapted to generate latex bibliography (.bib) and able to insert automatically new bibliography references (from search engines like ISI web of science or Inspec, ...). Thank you, François -- François RENARD CEA/DIF/DASE/SRCE BP 12 F-91680 Bruyeres Le Chatel FRANCE tel:(33)(0)1.69.26.62.99 fax:(33)(0)1.69.26.70.65 mailto:[EMAIL PROTECTED]
RE : Problem with math formula
if the /usr/share/fonts/latex-xft-fonts directory is empty, you must try to (re)install the latex-xtf-fonts package ... -Message d'origine- De : punx120 [mailto:[EMAIL PROTECTED] Envoyé : jeudi 17 mars 2005 16:16 À : lyx-users@lists.lyx.org Objet : Problem with math formula Hello everyone, I install lyx on a friend's laptop running Mandrake 10.0, the version of lyx is 1.3.4. When he wants to insert math formula, the special sign like \sum or \theta doesn't appears graphically, I mean there is only sum or theta, etc On my debian system, running lyx 1.3.5, everything is ok. So I'm wondering what may due this problem, Thanks for your help. Sylvain
how to insert a 'landscape page' inside a document with portrait orientation ?
hello, inside a document with portait orientation as global option, is it possible to insert a figure (or a table) in the landscape format without rotating it ? So, I would like to have, inside my pdf export, the figure's page with a landscape orientation, and the other pages with portrait orientation, i.e. I would like to insert a landscape page in a document with portrait orientation ! I have tried with rotating and landscape packages but, apparently, these packages are only designed to rotate landscape figures for display them in a document with portrait orientation ? I use LyX-1.3.5 (Windows native version). Thanks in advance and best regards, P. Mellerin.
RE : bibliography
JabRef (written in Java) is the good choice as for me. You can find it at this address : http://jabref.sourceforge.net/ -Message d'origine- De : Renard Francois [mailto:[EMAIL PROTECTED] Envoyé : jeudi 17 mars 2005 15:16 À : User Lyx Objet : bibliography Hello everybody, About bibliography, I'd like to know if there is a bibliography software to recommend for use under Linux or Solaris, and adapted to generate latex bibliography (.bib) and able to insert automatically new bibliography references (from search engines like ISI web of science or Inspec, ...). Thank you, François -- François RENARD CEA/DIF/DASE/SRCE BP 12 F-91680 Bruyeres Le Chatel FRANCE tel:(33)(0)1.69.26.62.99 fax:(33)(0)1.69.26.70.65 mailto:[EMAIL PROTECTED]
RE : Problem with math formula
if the "/usr/share/fonts/latex-xft-fonts" directory is empty, you must try to (re)install the "latex-xtf-fonts" package ... -Message d'origine- De : punx120 [mailto:[EMAIL PROTECTED] Envoyé : jeudi 17 mars 2005 16:16 À : lyx-users@lists.lyx.org Objet : Problem with math formula Hello everyone, I install lyx on a friend's laptop running Mandrake 10.0, the version of lyx is 1.3.4. When he wants to insert math formula, the special sign like \sum or \theta doesn't appears graphically, I mean there is only sum or theta, etc On my debian system, running lyx 1.3.5, everything is ok. So I'm wondering what may due this problem, Thanks for your help. Sylvain
RE : cannot export graphics
What's happen if you move the LyX document to the same folder than the graphics ? Anyelse, you can try to convert your files to EPS Level 2 with this command : convert file.eps eps2:file.eps. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoy : lundi 24 novembre 2003 20:03 : [EMAIL PROTECTED] Objet : cannot export graphics Hi, I have just installed Lyx for win32 from Claus Hentschel, and I have a problem using graphics. Everything (viewing, converting) works fine as long as I do not insert graphics. If I insert a graphic and try to convert to PDF, I have a latex error latex error: file tmp_directory/picture_directory_filename I could not locate the file with any of these extensions .eps, .ps,.eps.gz,.ps.gz,.eps.Z. However, the picture is in the specified temporary folder. When I export the lyx file into latex, it compiles without any problem, and creates the .dvi. Does anyone has suggestions ? Thanks in advance, Mlanie Bouroche - NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com Tlphone/Fax : 08 92 69 00 21 (0,34 TTC/min) Minitel: 3615 NETCOURRIER (0,16 TTC/min)
RE : cannot export graphics
What's happen if you move the LyX document to the same folder than the graphics ? Anyelse, you can try to convert your files to EPS Level 2 with this command : convert file.eps eps2:file.eps. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoy : lundi 24 novembre 2003 20:03 : [EMAIL PROTECTED] Objet : cannot export graphics Hi, I have just installed Lyx for win32 from Claus Hentschel, and I have a problem using graphics. Everything (viewing, converting) works fine as long as I do not insert graphics. If I insert a graphic and try to convert to PDF, I have a latex error latex error: file tmp_directory/picture_directory_filename I could not locate the file with any of these extensions .eps, .ps,.eps.gz,.ps.gz,.eps.Z. However, the picture is in the specified temporary folder. When I export the lyx file into latex, it compiles without any problem, and creates the .dvi. Does anyone has suggestions ? Thanks in advance, Mlanie Bouroche - NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com Tlphone/Fax : 08 92 69 00 21 (0,34 TTC/min) Minitel: 3615 NETCOURRIER (0,16 TTC/min)
RE : cannot export graphics
What's happen if you move the LyX document to the same folder than the graphics ? Anyelse, you can try to convert your files to EPS Level 2 with this command : convert file.eps eps2:file.eps. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 24 novembre 2003 20:03 À : [EMAIL PROTECTED] Objet : cannot export graphics Hi, I have just installed Lyx for win32 from Claus Hentschel, and I have a problem using graphics. Everything (viewing, converting) works fine as long as I do not insert graphics. If I insert a graphic and try to convert to PDF, I have a latex error "latex error: file tmp_directory/picture_directory_filename I could not locate the file with any of these extensions .eps, .ps,.eps.gz,.ps.gz,.eps.Z". However, the picture is in the specified temporary folder. When I export the lyx file into latex, it compiles without any problem, and creates the .dvi. Does anyone has suggestions ? Thanks in advance, Mélanie Bouroche - NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min) Minitel: 3615 NETCOURRIER (0,16 € TTC/min)
environments in a book document (not book (AMS)) ?
Hello, Is it possible to use book document (not book (AMS)) with environments like theorem, corollary, example, ... ? I would prefer use book in place of book (AMS) for questions of formatting on the screen and in the dvi. Thanks in advance, Pierrick Mellerin.
environments in a book document (not book (AMS)) ?
Hello, Is it possible to use book document (not book (AMS)) with environments like theorem, corollary, example, ... ? I would prefer use book in place of book (AMS) for questions of formatting on the screen and in the dvi. Thanks in advance, Pierrick Mellerin.
environments in a book document (not book (AMS)) ?
Hello, Is it possible to use book document (not "book (AMS)") with environments like "theorem", "corollary", "example", ... ? I would prefer use "book" in place of "book (AMS)" for questions of formatting on the screen and in the dvi. Thanks in advance, Pierrick Mellerin.
RE : Several theorem-like environnements following each other
I want to have several theorems (or lemma, definitions..) following each other. But Lyx merge them into one theorem environnemnt. Is it possible to do this ? Nicolas You must increment the depth of the current environment (there is a button on the toolbar for doing this quickly) Pierrick Mellerin.
RE : Several theorem-like environnements following each other
I want to have several theorems (or lemma, definitions..) following each other. But Lyx merge them into one theorem environnemnt. Is it possible to do this ? Nicolas You must increment the depth of the current environment (there is a button on the toolbar for doing this quickly) Pierrick Mellerin.
RE : Several theorem-like environnements following each other
>I want to have several theorems (or lemma, definitions..) >following each other. But Lyx merge them into one theorem environnemnt. >Is it possible to do this ? >Nicolas You must increment the depth of the current environment (there is a button on the toolbar for doing this quickly) Pierrick Mellerin.
AMS environments in french - AMS with document of the type 'book'
Hello, I would like to know if it is possible to have the AMS environments (like Theorem, Example, ...) and other tag (like chapter, ...) in french in the output (DVI, ...) ? I set my document's language to french but that doesn't go ... (except Table of contents which is translated to table des matières). The only solution that I found consist in modifying manually the amsmath layout (by setting english terms to french terms). Also, a few days ago, I post a message about the possibility to have AMS environments with a book document (in place of 'book (AMS)') ? Is it possible ? One of the reasons is that, with 'book (AMS)', there is no possibility to have a line break for the start of subsection, and I would like to have one ... And 'book' allow it. Thanks a lot, Pierrick Mellerin.
AMS environments in french - AMS with document of the type 'book'
Hello, I would like to know if it is possible to have the AMS environments (like Theorem, Example, ...) and other tag (like chapter, ...) in french in the output (DVI, ...) ? I set my document's language to french but that doesn't go ... (except Table of contents which is translated to table des matières). The only solution that I found consist in modifying manually the amsmath layout (by setting english terms to french terms). Also, a few days ago, I post a message about the possibility to have AMS environments with a book document (in place of 'book (AMS)') ? Is it possible ? One of the reasons is that, with 'book (AMS)', there is no possibility to have a line break for the start of subsection, and I would like to have one ... And 'book' allow it. Thanks a lot, Pierrick Mellerin.
AMS environments in french - AMS with document of the type 'book'
Hello, I would like to know if it is possible to have the AMS environments (like Theorem, Example, ...) and other tag (like chapter, ...) in french in the output (DVI, ...) ? I set my document's language to french but that doesn't go ... (except "Table of contents" which is translated to "table des matières"). The only solution that I found consist in modifying manually the amsmath layout (by setting english terms to french terms). Also, a few days ago, I post a message about the possibility to have AMS environments with a "book" document (in place of 'book (AMS)') ? Is it possible ? One of the reasons is that, with 'book (AMS)', there is no possibility to have a line break for the start of subsection, and I would like to have one ... And 'book' allow it. Thanks a lot, Pierrick Mellerin.
RE : lyx font in LyX 1.3.0
Hi guys, I just installed the new LyX 1.3.0 with QT GUI. It looks very good but he cannot render many characters like \sum \int all the greek alphabet and so on. Does any of you have an idea where the problem is? thanks a lot lorenzo Hello, Do you have installed the latex-ttf.rpm (something like that ...) which is in the same folder that lyx-1.3.0-1qt.rpm on the lyx's ftp server ? Pierrick.
RE : lyx font in LyX 1.3.0
Hi guys, I just installed the new LyX 1.3.0 with QT GUI. It looks very good but he cannot render many characters like \sum \int all the greek alphabet and so on. Does any of you have an idea where the problem is? thanks a lot lorenzo Hello, Do you have installed the latex-ttf.rpm (something like that ...) which is in the same folder that lyx-1.3.0-1qt.rpm on the lyx's ftp server ? Pierrick.
RE : lyx font in LyX 1.3.0
>Hi guys, >I just installed the new LyX 1.3.0 with QT GUI. It looks very good but >he cannot render many characters like \sum \int all the greek alphabet >and so on. >Does any of you have an idea where the problem is? >thanks a lot >lorenzo Hello, Do you have installed the "latex-ttf.rpm" (something like that ...) which is in the same folder that lyx-1.3.0-1qt.rpm on the lyx's ftp server ? Pierrick.
RE : Export to HTML problem
Hello, Another problem with the export to HTML appears when you insert a floating graphic and add some text under it (for the legend of the graphic). In the HTML file, each character is displaying on a single line, i.e. there is br tag between each character ... May be my process is not good ? I select insert a floating graphic, I press return one time, I insert the graphic, and then I insert my text at the right of Fig.. I'm using Lyx-1.3.0-1qt under RH 8.0. Pierrick Mellerin. -Message d'origine- De : Jean-Marc Lasgouttes [mailto:[EMAIL PROTECTED]] Envoyé : lundi 17 février 2003 11:07 À : Yann COLLETTE Cc : [EMAIL PROTECTED] Objet : Re: Export to HTML problem Yann == Yann COLLETTE [EMAIL PROTECTED] writes: Yann Hello, I always have a problem when I export my document under Yann HTML. The convertion to HTML is done correctly, at the end of the Yann export, I've got a nice .html file, but no directory with the Yann images. I must go into /tmp/lyxtmpdir/... to move the Yann directory which contains my images to my home directory. How can I Yann cure this behavior ? This is bug 643 http://bugzilla.lyx.org/show_bug.cgi?id=643 and I do not know how to fix it. Does it work is you run without a temporary directory? When running with such a tempdir, things become very complicated, but I suspect that using -dir and/or -prefix should help. Could you try to use these options in the latex-html converter (by hardcoding the paths for now) and tell us whether there is a combination that works? We will manage to fix this only with some help from the people who really use this. My knowledge about this is very thin. JMarc
RE : Export to HTML problem
Hello, Another problem with the export to HTML appears when you insert a floating graphic and add some text under it (for the legend of the graphic). In the HTML file, each character is displaying on a single line, i.e. there is br tag between each character ... May be my process is not good ? I select insert a floating graphic, I press return one time, I insert the graphic, and then I insert my text at the right of Fig.. I'm using Lyx-1.3.0-1qt under RH 8.0. Pierrick Mellerin. -Message d'origine- De : Jean-Marc Lasgouttes [mailto:[EMAIL PROTECTED]] Envoyé : lundi 17 février 2003 11:07 À : Yann COLLETTE Cc : [EMAIL PROTECTED] Objet : Re: Export to HTML problem Yann == Yann COLLETTE [EMAIL PROTECTED] writes: Yann Hello, I always have a problem when I export my document under Yann HTML. The convertion to HTML is done correctly, at the end of the Yann export, I've got a nice .html file, but no directory with the Yann images. I must go into /tmp/lyxtmpdir/... to move the Yann directory which contains my images to my home directory. How can I Yann cure this behavior ? This is bug 643 http://bugzilla.lyx.org/show_bug.cgi?id=643 and I do not know how to fix it. Does it work is you run without a temporary directory? When running with such a tempdir, things become very complicated, but I suspect that using -dir and/or -prefix should help. Could you try to use these options in the latex-html converter (by hardcoding the paths for now) and tell us whether there is a combination that works? We will manage to fix this only with some help from the people who really use this. My knowledge about this is very thin. JMarc
RE : Export to HTML problem
Hello, Another problem with the export to HTML appears when you insert a floating graphic and add some text under it (for the legend of the graphic). In the HTML file, each character is displaying on a single line, i.e. there is tag between each character ... May be my process is not good ? I select "insert a floating graphic", I press one time, I insert the graphic, and then I insert my text at the right of "Fig.". I'm using Lyx-1.3.0-1qt under RH 8.0. Pierrick Mellerin. -Message d'origine- De : Jean-Marc Lasgouttes [mailto:[EMAIL PROTECTED]] Envoyé : lundi 17 février 2003 11:07 À : Yann COLLETTE Cc : [EMAIL PROTECTED] Objet : Re: Export to HTML problem > "Yann" == Yann COLLETTE <[EMAIL PROTECTED]> writes: Yann> Hello, I always have a problem when I export my document under Yann> HTML. The convertion to HTML is done correctly, at the end of the Yann> export, I've got a nice .html file, but no directory with the Yann> images. I must go into /tmp/lyxtmpdir/... to move the Yann> directory which contains my images to my home directory. How can I Yann> cure this behavior ? This is bug 643 http://bugzilla.lyx.org/show_bug.cgi?id=643 and I do not know how to fix it. Does it work is you run without a temporary directory? When running with such a tempdir, things become very complicated, but I suspect that using -dir and/or -prefix should help. Could you try to use these options in the latex->html converter (by hardcoding the paths for now) and tell us whether there is a combination that works? We will manage to fix this only with some help from the people who really use this. My knowledge about this is very thin. JMarc
lyx-1.3.0-1 - screen mode - persistent problem with accentuated characters
Hello, I recently post a message about a problem in screen mode with the displaying of accentuated characters (french in fact, like à, é, è, ...) in the table of contents window. The same thing appears when I paste a text which contain that kind of characters. Or if I insert an accentuated character in the source code of a LyX document. On the other hand, if I insert an accentuated character via LyX, there is no problem ... Someone ask to me to change the menu font and the general font in the KDE's control center. So I set all the font to Serif (in place of Sans), but the problem is always there. Please help ... (;) Pierrick Mellerin. PS : my configuration is : RED HAT 8.0, KDE 3.1, LyX 1.3.0-1
lyx-1.3.0-1 - screen mode - persistent problem with accentuated characters
Hello, I recently post a message about a problem in screen mode with the displaying of accentuated characters (french in fact, like à, é, è, ...) in the table of contents window. The same thing appears when I paste a text which contain that kind of characters. Or if I insert an accentuated character in the source code of a LyX document. On the other hand, if I insert an accentuated character via LyX, there is no problem ... Someone ask to me to change the menu font and the general font in the KDE's control center. So I set all the font to Serif (in place of Sans), but the problem is always there. Please help ... (;) Pierrick Mellerin. PS : my configuration is : RED HAT 8.0, KDE 3.1, LyX 1.3.0-1
lyx-1.3.0-1 - screen mode - persistent problem with accentuated characters
Hello, I recently post a message about a problem in screen mode with the displaying of accentuated characters (french in fact, like à, é, è, ...) in the table of contents window. The same thing appears when I paste a text which contain that kind of characters. Or if I insert an accentuated character in the source code of a LyX document. On the other hand, if I insert an accentuated character via LyX, there is no problem ... Someone ask to me to change the menu font and the general font in the KDE's control center. So I set all the font to "Serif" (in place of "Sans"), but the problem is always there. Please help ... (;) Pierrick Mellerin. PS : my configuration is : RED HAT 8.0, KDE 3.1, LyX 1.3.0-1