"search and replace button" moves
Hallo, Lyx-Users, I had several times a problem with the advanced "search and replace" function. I don't know why (perhaps because the cursor is sometimes in a math environment) but the sidebar where I can click "Search", "Replace" and "Replace all" sometimes moves up and down (the buttons don't rest at one place). I wanted to replace a letter (T in math mode) by another letter (S), but not at all places. So I searched through my document. I don't want to look after every click if the mouse cursor is still on the search button. So because of the moves of the buttons I accidently clicked the "Replace all" button. Unfortunately Lyx replaced a few hundred letters, most of them, where I didn't want to. I couldn't get them all back by CTRL+Z, so I decided to work on with my last saved version. Is it possible to use shortcuts within advanced "Search and replace" mode to make the searches so that I don't have to click? Thanks a lot for every help! Mike
Re: Lyx crashes during compiling
Hi, I'm sorry, but I don't want to paste it here: It's my unfinished diploma thesis. The crashes were with advanced search. I searched a \rho^*. One of it was found and the others weren't. But when I saw the source code I realized that there was once a \rho{}^* (or something similar) and the others were like \rho_5^*. So I understand why it didn't find my \rho's but I don't know why it took such a long time. I finally solved the problem by installing the last system it worked fine: That was Lubuntu 11.10 with Lyx 2.0.0 and that works very fine (searches are faster and compiling did hardly no crashes). Perhaps it's sometimes better to use older versions. Thanks for your help! Mike 2012/6/3 Richard Heck > On 06/02/2012 07:10 AM, Mike Bonhoff wrote: > >> Hi everybody, >> >> I installed Lyx on a new machine (because my old laptop had an display >> error). But unfortunately If I use the "search and replace"-function Lyx >> sometimes runs forever even if the next hit would be in the next line. >> >> Is this with simple search, or advanced search? > > > Sometimes the compiling crashes, too. >> >> We'll need more information about this. What's the file like? Can you > post it? > > Richard > > >
Lyx crashes during compiling
Hi everybody, I installed Lyx on a new machine (because my old laptop had an display error). But unfortunately If I use the "search and replace"-function Lyx sometimes runs forever even if the next hit would be in the next line. Sometimes the compiling crashes, too. I think it is not even possible to stop the searching. (This is especially a problem because I have to finish my diploma thesis in two weeks.) I use a 2*1,5 GHz, 1.8 GB RAM on a Lubuntu 12.04. Greeds, Mike.
Stop Lyx compiling
Hi, Lyx-Users, is there a possibility to stop Lyx when it is compiling. Today I had several times the problem that I wanted to make a picture with tikz and made some mistake in the Lyx-Code (forgot the semicolon in the end of a command). Unfortunately Lyx doesn't return a message that there is a mistake and is compiling forever. I can not even stop the program after that. As I remember Kile was also not able to stop the compiling of such a "program", but there is a button to stop the compiling. Can I stop Lyx when it is compiling? I didn't find anything inside the tutorials about that theme. And google seems not to find anything, too. Thanks! Mike
Re: Example inside presentation(beamer)-class
Hallo, everybody, I have solved my problem with the examples inside the beamer-class. Some modules (theorems) were activated and so Lyx didn't know which environment it should use. Thanks! Mike
Example inside presentation(beamer)-class
Hallo, everybody, I don't know why, but I am not able to use the example-environment inside the "presentation (beamer)"-class. I always get the error message "LaTeX Error: Command \example was already defined. LaTeX Error: Missing \begin{document}. Undefined control sequence." I watched the .lyx-document with an editor but there was no example defined. Here is my .lyx-document: #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass beamer \begin_preamble \end_preamble \use_default_options true \begin_modules eqs-within-sections figs-within-sections theorems-std theorems-chap \end_modules \maintain_unincluded_children false \language ngerman \language_package default \inputencoding auto \fontencoding global \font_roman default \font_sans default \font_typewriter default \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \paperfontsize default \spacing single \use_hyperref false \papersize default \use_geometry true \use_amsmath 1 \use_esint 1 \use_mhchem 1 \use_mathdots 1 \cite_engine basic \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \use_refstyle 0 \index Stichwortverzeichnis \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language german \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout BeginFrame \end_layout \begin_layout Example asd \end_layout \begin_layout EndFrame \end_layout \end_body \end_document Ain't it possible to use example inside the beamer-class? Do you have an idea? My Lyx uses a pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE) (format=pdflatex) . Thanks a lot for every help! Mike
line break in math mode
Hi all, I'm wondering how to make a line break in the discharged math mode. I tried it with Strg+Enter but then there where 3 new boxes in the new line. It looked like the eqnarray-environment-boxes and it didn't work fine: It should look similar to this: f(x)={z\in Z:there is an y\in Y and functions g,h\in F such that g(x)=y and h(y)=z} But at the moment (with Strg+Enter) it looks like f(x)={z\in Z:there is an y\in Y and functions g,h\in F such that g(x)=y and h(y)=z} Does anybody know how to do this. Thanks!
repeating environment label
Hi, Lyx-Users, I want to repeat the number of a theorem. I searched for "repeat environment" in the mail archive " http://www.mail-archive.com/search?l=lyx-users%40lists.lyx.org&q=repeat+environment"; but I only find how to do this for the special frame environment. Is it only possible to do it with Tex-Code where I have to know the name of the environment or is there a possibility to solve it with real Lyx. Thanks for your help! Mike
Search within math mode
Hallo, Lyx-users, I work with Lyx 2.0.0. now. I have heard that it would be possible to search within the math mode with Lyx 2.0.0. But it didn't work here I think (or I made a mistake): I had some text with the greek letter phi (lyx code: Ctrl+M \phi) I am not able to find that phi afterwards. If I search for "phi" I can't find anything. Did I do anything wrong? Thanks for your help! Mike -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
nearly solved: problem with language settings
Hallo, I had the problem, that some of my environments appeared in the wrong language and I couldn't change the language all at ones. Now I want to explane how to solve the problem: See how lyx names the environment in the source code. For example there's a code like the following generated by Lyx (be sure you can see the hole source code: see check mark on the right side): \newtheorem{rem}[thm]{Remark} If you want that remark is written in another language, for example in German add your own code (Document->Settings->preambel) as follows: \let\rem\undefined \let\endrem\undefined \theoremstyle{definition} \newtheorem{rem}[thm]{Bemerkung} \ifx\proof\undefined\ \newenvironment{proof}[1][\proofname]{\par \normalfont\topsep6\p@\@plus6\p@\relax \trivlist \itemindent\parindent \item[\hskip\labelsep \scshape #1]\ignorespaces }{% \endtrivlist\@endpefalse } \providecommand{\proofname}{Proof} \fi This works in most cases. It didn't work for the Lyx code \newtheorem{thm}[thm]{Theorem} and I think this is because thm has different meanings: At first it is an environment and second it has something to do with the package name (amsthm). When I made the same with thm my computers (tested at two different computers with 2 different OS) computed until I stopped them. When I took the thm in []-brackets out of my code \newtheorem{thm}{Satz} Lyx gave some “error message”. Thanks for help, Günter! Mike Bonhoff -- NEU: FreePhone - kostenlos mobil telefonieren! Jetzt informieren: http://www.gmx.net/de/go/freephone
Re: problem with language-settings
Hi Günter and others, I looked inside the latex code. I will post the preambel part of it here % Quellcode vorschauen %% LyX 1.6.5 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[oneside,english,ngerman]{scrbook} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \usepackage{varioref} \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \makeatletter %% Textclass specific LaTeX commands. \numberwithin{equation}{section} \numberwithin{figure}{section} \theoremstyle{plain} \ifx\thechapter\undefined \newtheorem{thm}{Theorem} \else \newtheorem{thm}{Theorem}[chapter] \fi \theoremstyle{definition} \newtheorem{defn}[thm]{Definition} \theoremstyle{remark} \newtheorem{rem}[thm]{Remark} \theoremstyle{definition} \newtheorem{example}[thm]{Example} \ifx\proof\undefined\ \newenvironment{proof}[1][\proofname]{\par \normalfont\topsep6\p@\@plus6\p@\relax \trivlist \itemindent\parindent \item[\hskip\labelsep \scshape #1]\ignorespaces }{% \endtrivlist\@endpefalse } \providecommand{\proofname}{Proof} \fi \theoremstyle{plain} \newtheorem{lem}[thm]{Lemma} \theoremstyle{definition} \newtheorem{problem}[thm]{Problem} \theoremstyle{plain} \newtheorem{prop}[thm]{Proposition} %% User specified LaTeX commands. \usepackage{tikz} \usetikzlibrary{mindmap,trees} \let\example\undefined \let\endexample\undefined \theoremstyle{definition} \newtheorem{example}[thm]{Beispiel} \ifx\proof\undefined\ \newenvironment{proof}[1][\proofname]{\par \normalfont\topsep6\p@\@plus6\p@\relax \trivlist \itemindent\parindent \item[\hskip\labelsep \scshape #1]\ignorespaces }{% \endtrivlist\@endpefalse } \providecommand{\proofname}{Proof} \fi \makeatother \usepackage{babel} In the "User specified Latex commands" part of the source code I overwrote the settings of Lyx (to be precise someone made that for me, I can't do). I don't think this the "Spirit of Lyx"-way to solve the problem. On the other hand I don't really know to do so. Isn't there a nice way to solve this. And if not, how can I overwrite the settings of the "remark"-environment which I want to be "Bemerkung" and "example" which I want to be "Beispiel". Regards, Mike On 2011-05-27, Mike Bonhoff wrote: > Hi all, > I have a little problem with my language settings. > At first I wrote my text in english and then decided to write it in > German. Of course I want the environments to have the same language > (for example "Bemerkung" instead of "Remark"; I think these are > environments in the module "Theorem"). > So I changed language by > "Document->Settings->language->language:German". But unfortunately some > of the environments appear in English (for example "example" and > "remark") while others appear in German (for example "Beweis", which is > the German word for "proof"). There might be two reasons: missing translation for these environments or still English. > I saw in the Code that Lyx still uses > the options english and ngerman both: > \documentclass[oneside,english,ngerman]{scrbook} This means that there are both English and German text parts in your document and German (as the last in the list) is the default language. > Is it possible to change the language for all environments? Yes. But sometimes you need to do it twice (or even more times), because LyX does not change the language in all "nested" environments. With the normal settings, you will still see the blue underline in these environments/boxes/insets and the status bar might show the "different than default" language. It might also be the other way round: the inset is English but the content German (then you won't see the blue underline). I would look at the TeX source (View>Source) or at the *.lyx file in a text editor. Günter -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
problem with language-settings
Hi all, I have a little problem with my language settings. At first I wrote my text in english and then decided to write it in German. Of course I want the environments to have the same language (for example "Bemerkung" instead of "Remark"; I think these are environments in the module "Theorem"). So I changed language by "Document->Settings->language->language:German". But unfortunately some of the environments appear in English (for example "example" and "remark") while others appear in German (for example "Beweis", which is the German word for "proof"). I saw in the Code that Lyx still uses the options english and ngerman both: \documentclass[oneside,english,ngerman]{scrbook} Is it possible to change the language for all environments? I tried some things (I don't know if this helps): When I want to change the language to a really new one(for example change it to "Africaans") Lyx creates a Latex Code with \documentclass[oneside,english,ngerman,africaans]{scrbook} When I change it back to German "africaans" doesn't appear anymore but english is still in the preamble: \documentclass[oneside,english,ngerman]{scrbook} I think this is because I used the "example"-environment the first time when my language settings were "english" and used the "proof"-environment the first time when my language-settings were "German". Thanks! Mike Bonhoff P.S.: As documentclass I use "book(KOMA-Script)" and I use Lyx 1.6.5. -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Problem with a graph and its title
Hallo, I wanna make a graph and give it a title, say "name". I think this name is written under the graph normally. So I think creating a figure must be the right thing. So I clicked Insert->Float->figure and gave the figure the "name" and inserted the graph. But I have 2 problems: 1st: The "name" is centered, that means in the middle of the paper to the left and right. On the other hand, my figure is on the left side. I don't know how I can center the figure, too. I read the handbook (German version) and there were some hints, especially for importing existing figures, but not a lot of hints how to create such a figure by yourself. 2nd: I wanted to create an undirected graph and choose to do it with an x-y-pic-matrix with this code within the math mode: \xymatrix{a\dir[dr]&b&c\\d&e&f} That creates an xy-pic-matrix with 2 rows (because of the \\ command) and 3 rows (because of the 2-times & command). \dir[dr] makes an arc to the element which is one step below (d for down) and one element to the right (r for right). I used to write \dir@{-}[dr] instead of \dir[dr] because that made an undirected edge instead of an arc. But that doesn't work anymore; I don't know why. Is there a better way to do that, for example with tikz, and is it easy to use that within lyx? If not, how can I create simple edges in that xy-pic-environment and place the title under the figure. Thanks! Mike Bonhoff -- NEU: FreePhone - kostenlos mobil telefonieren! Jetzt informieren: http://www.gmx.net/de/go/freephone
undirected graph with capture
Hallo, I wanna make a graph and give it a title, say "name". I think this name is written under the graph normally. So I think creating a figure must be the right thing. So I clicked Insert->Float->figure and gave the figure the "name" and inserted the graph. But I have 2 problems: 1st: The "name" is centered, that means in the middle of the paper to the left and right. On the other hand, my figure is on the left side. I don't know how I can center the figure, too. I read the handbook (German version) and there were some hints, especially for importing existing figures, but not a lot of hints how to create such a figure by yourself. 2nd: I wanted to create an undirected graph and choose to do it with an x-y-pic-matrix with this code within the math mode: \xymatrix{a\dir[dr]&b&c\\d&e&f} That creates an xy-pic-matrix with 2 rows (because of the \\ command) and 3 rows (because of the 2-times & command). \dir[dr] makes an arc to the element which is one step below (d for down) and one element to the right (r for right). I used to write \dir@{-}[dr] instead of \dir[dr] because that made an undirected edge instead of an arc. But that doesn't work anymore; I don't know why. Is there a better way to do that, for example with tikz, and is it easy to use that within lyx? If not, how can I create simple edges in that xy-pic-environment and place the title under the figure. Thanks! Mike Bonhoff -- NEU: FreePhone - kostenlos mobil telefonieren! Jetzt informieren: http://www.gmx.net/de/go/freephone