Re: converting from LyX 2.0 to 2.1
2014-05-06 3:44 GMT+02:00 Hugh Medal: If I need to I can just move to Fedora 20 (I am currently using 19). Just let me know if I should do that. Try to run the lyx2lyx converter manually on your file in a console. What happens? (the following command should be all in one line) python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_ Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_ Software_Design_converted.lyx Jürgen
Figure besides
Figure Besides is used to set the legend to the side of a (small) figure. It is used in this way: Text. \FigBesBeg here is figure \FigBesEnd More Text ... I noticed that, if the text after the \FigBesEnd (in ERT) follows immediately the tex-Box, Text. \FigBesBeg here is figure \FigBesEndMore Text ... (that is, the More Text follows without a space) I get an error: \FigBesEndEs wurde vorgeschlagen, dass die Kontrolle der Transkription The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. I am using Lyx 1.06 under Kubuntu. I wonder, whether this is a Latex thing, or a Lyx mistake, or my stupidity. Wolfgang
Re: Beamer in Lyx 2.1.0
Julio Rojas wrote: Thanks Scott, This shortcut is quite useful in getting me over the old Frame environment hangover. Nevertheless, while trying both methods another problem appeared: To get out of the title of a Frame pressing return is not enough. One has to use the arrows to get out of the Frame title box and then issue return to get to the next line. Now, the next line is not indented, so I pressed tab in order to indent the line inside the Frame. To my surprise, this line belongs to a Frame environment, so one has to change it manually to a standard environment. Weird things do not stop there, as one might believe that issuing return would get you out of this environment, but no, as one can issue as many CRs as wanted, a behavior that I believe is completely unintended, isn't it so? Regards. - Julio Rojas jcredbe...@gmail.com This is exactly my experience - I completely agree this could be easier.
Re: Re: converting from LyX 2.0 to 2.1
On Tuesday 06 May 2014 01:44:25 Hugh Medal wrote: If I need to I can just move to Fedora 20 (I am currently using 19). Just let me know if I should do that. Thanks, Hugh There is no difference here between Fedora 19 and 20. -- José Abílio
Bigger root size under this special font.
Can someone please help me make \tau biger, without changing the font?\ Thanks in advance. I tried leftroot and uproot and they simply don't work with this font. bigger tau.lyx Description: application/lyx
Re: The persistent problem with svmono class and \boldsymbol font
On 05/05/2014 06:27 AM, Bieniasz wrote: Hello, About a year ago I asked about the problem that I have while using the svmono class. I have done some additional tests and it seems to me that there must be some bug in the LyX template for svmono. So, if the author of this template reads my message, I would appreciate some help. The problem is as follows: I need to use the font \boldsymbol in the equation editor. This font is properly visible under LyX, but when I generate a pdf file, then the font looks identical as the standard equation editor font (that is the letters are not thicker). I suspect that this is a bug in the svmono LyX template, because the problem does not occur in the default document template of LyX, that is when the svmono class is not used. In the latter case the font looks properly in pdf files. I hope there is some way to fix this problem ? Do you know if the problem arises simply using LaTeX? Sometimes particular classes, especially for journals, do redefine LaTeX commands, such as \boldsymbol. Rihcard
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. Richard On 05/05/2014 11:08 AM, asllearner wrote: I am trying to use a font for my main font, and also for math latin and greek characters, while keeping the rest as is. At the same time, I want to use blindtext. blindtext only allows \blindmathtrue if the language has been set to english: http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/ This I believe I have to do via the language package custom area in the document preferences, however using \usepackage[english]{babel} breaks unicode-math. I get ! Font \l_tmpb_font has only 8 fontdimen parameters. If I use the default language package, all works, except, as stated above, blindtext english/math. %This is in my preamble: \usepackage[vargreek-shape=unicode]{unicode-math} \setmathfont{Latin Modern Math} % this is obligatory or no math font will be set... %everything works to here. But this setmathfonts is causing the problem \setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} % upper and lower case latin and numbers % any font will do \setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant \usepackage{blindtext} The font doesn't matter; I get the same behavior whatever font I use, even standard ones... (NB, this is heavily redacted from a larger set of uses of unicode-math for nefarious purposes, so this a best effort to produce a MWE for what seems to be the crux of the matter). PS apparently an incomplete version of this post got sent. please ignore.
Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections
Can you post an example file? On 05/05/2014 02:15 PM, Olivier Ripoll wrote: Hi all, I've been hitting this issue recently on 2.0.7 and also or 2.1.0: Even with a very simple document: 1 section and 1 word of text. If I use the Koma-script article class, with headings page style and a numbered section, the compilation result in an error about and extra \fi or an extra \else below (between dashes) is the relevant part of the log: - ! Extra \else. \H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else \def \@svsechd {#6{\hskip ... l.33 \section{foobar} I'm ignoring this; it doesn't match any \if. ! Extra \fi. \H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi \@xsect {#5} l.33 \section{foobar} I'm ignoring this; it doesn't match any \if. - If I change the document class, it works. If I change the page style to any other (plain, fancy, empty or default), it works. If I switch to a section*, a part or a subsection, it works. Anyone experiencing this ? Any idea about the cause ? Best regards, Olivier
Re: Figure besides
On 05/07/2014 04:17 AM, Wolfgang Engelmann wrote: Figure Besides is used to set the legend to the side of a (small) figure. It is used in this way: Text. \FigBesBeg here is figure \FigBesEnd More Text ... I noticed that, if the text after the \FigBesEnd (in ERT) follows immediately the tex-Box, Text. \FigBesBeg here is figure \FigBesEndMore Text ... (that is, the More Text follows without a space) I get an error: \FigBesEndEs wurde vorgeschlagen, dass die Kontrolle der Transkription The problem is that there is no space between your LaTeX command and the text. So LyX is outputing: \FigBesEndEs which is not a LaTeX command. Just put a space at the end of your ERT (or else: {}). Richard
Re: Beamer in Lyx 2.1.0
On 05/07/2014 08:07 AM, Neal Becker wrote: Julio Rojas wrote: Thanks Scott, This shortcut is quite useful in getting me over the old Frame environment hangover. Nevertheless, while trying both methods another problem appeared: To get out of the title of a Frame pressing return is not enough. One has to use the arrows to get out of the Frame title box and then issue return to get to the next line. Now, the next line is not indented, so I pressed tab in order to indent the line inside the Frame. To my surprise, this line belongs to a Frame environment, so one has to change it manually to a standard environment. Weird things do not stop there, as one might believe that issuing return would get you out of this environment, but no, as one can issue as many CRs as wanted, a behavior that I believe is completely unintended, isn't it so? Regards. - Julio Rojas jcredbe...@gmail.com This is exactly my experience - I completely agree this could be easier. What would help is a concrete proposal about how the UI should work. Then we can think about how to code it. One idea I had was to implement something corresponding to the Next Style option in LibreOffice styles. So, e.g., if you are in a Frame environment and you hit Return, then LyX would know NOT to make the next line also a Frame, but instead to revert to Standard (and perhaps we could also have a layout option that told LyX to increase depth for that new layout). Richard
Re: Bigger root size under this special font.
On 05/07/2014 09:43 AM, A Choi wrote: Can someone please help me make \tau biger, without changing the font? Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. Richard
Re: Beamer in Lyx 2.1.0
2014-05-07 17:02 GMT+02:00 Richard Heck: One idea I had was to implement something corresponding to the Next Style option in LibreOffice styles. So, e.g., if you are in a Frame environment and you hit Return, then LyX would know NOT to make the next line also a Frame, but instead to revert to Standard Well, this is exactly what Alt+Return does. But let me repeat: Frame _does_ make most sense here. Note that the style is called Frame, not Frame Title. I do not understand why a nested Standard paragraph would be required here. (and perhaps we could also have a layout option that told LyX to increase depth for that new layout). Yes. But the logic will be not easy to figure. Jürgen Richard
Re: Beamer in Lyx 2.1.0
Jürgen Spitzmüller wrote: 2014-05-07 17:02 GMT+02:00 Richard Heck: One idea I had was to implement something corresponding to the Next Style option in LibreOffice styles. So, e.g., if you are in a Frame environment and you hit Return, then LyX would know NOT to make the next line also a Frame, but instead to revert to Standard Well, this is exactly what Alt+Return does. But let me repeat: Frame _does_ make most sense here. Note that the style is called Frame, not Frame Title. I do not understand why a nested Standard paragraph would be required here. (and perhaps we could also have a layout option that told LyX to increase depth for that new layout). Yes. But the logic will be not easy to figure. Jürgen OK, I'm confused here. Let's consider workflow to make a bullet chart. Insert sep. Hit return. Select Frame Fill in Title oops - return in title does nothing, navigate past title (right arrow), hit return Now I'm in Frame. Certainly not what I want - I don't even know what this frame in a frame would do. Switch to itemize Use mouse to hit - icon to nest itemize within frame. I haven't tried out the shortcut listed earlier in this thread yet.
Re: Bigger root size under this special font.
The problem appears to be \usepackage[adobe-utopia]{mathdesign} in your preamble. If you change it to: \usepackage{fourier} (for the Utopia fonts) you can then use the \uproot{x} and \leftroot{x} commands in your sqrt. You also need to make sure the amsmath package is loaded. Check out the attached, and also look in the preamble. Hope this helps! On 7 May 2014 16:05, Richard Heck rgh...@lyx.org wrote: On 05/07/2014 09:43 AM, A Choi wrote: Can someone please help me make \tau biger, without changing the font? Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. Richard bigger tau.lyx Description: application/lyx
Re: Beamer in Lyx 2.1.0
2014-05-07 17:14 GMT+02:00 Neal Becker: OK, I'm confused here. Let's consider workflow to make a bullet chart. I was talking about the Standard paragraph, not Itemize. Insert sep. Hit return. Select Frame Fill in Title oops - return in title does nothing, navigate past title (right arrow), hit return Easier: Alt-A Return Fill in title Arrow right Return Now I'm in Frame. Certainly not what I want - I don't even know what this frame in a frame would do. I do not understand what you mean by Frame in a frame. You are still in the same frame. Would you also say Quotation in a quotation if the style still is called quotation after hitting return? Or Itemize in an itemize? Or Theorem in a Theorem? Or, for that matter, Standard in Standard? Switch to itemize Use mouse to hit - icon to nest itemize within frame. Yes. The same as you need to do when using itemize in an Example box, or Quotation, or Theorem, or ... Jürgen
Re: Beamer in Lyx 2.1.0
After arrow right, return. I can type some text. Looks nice. Oh, it's not nested in the frame. Hit tab. Now you have Frame inside Frame. On Wed, May 7, 2014 at 11:31 AM, Jürgen Spitzmüller sp...@lyx.org wrote: 2014-05-07 17:14 GMT+02:00 Neal Becker: OK, I'm confused here. Let's consider workflow to make a bullet chart. I was talking about the Standard paragraph, not Itemize. Insert sep. Hit return. Select Frame Fill in Title oops - return in title does nothing, navigate past title (right arrow), hit return Easier: Alt-A Return Fill in title Arrow right Return Now I'm in Frame. Certainly not what I want - I don't even know what this frame in a frame would do. I do not understand what you mean by Frame in a frame. You are still in the same frame. Would you also say Quotation in a quotation if the style still is called quotation after hitting return? Or Itemize in an itemize? Or Theorem in a Theorem? Or, for that matter, Standard in Standard? Switch to itemize Use mouse to hit - icon to nest itemize within frame. Yes. The same as you need to do when using itemize in an Example box, or Quotation, or Theorem, or ... Jürgen
Re: Beamer in Lyx 2.1.0
Which brings up another question. Alt-A return? How could I have discovered this? If I look at Help/Shortcuts, I don't see it (or am I blind?) I wish lyx had a way to discover things like emacs does. On Wed, May 7, 2014 at 11:38 AM, Neal Becker ndbeck...@gmail.com wrote: After arrow right, return. I can type some text. Looks nice. Oh, it's not nested in the frame. Hit tab. Now you have Frame inside Frame. On Wed, May 7, 2014 at 11:31 AM, Jürgen Spitzmüller sp...@lyx.org wrote: 2014-05-07 17:14 GMT+02:00 Neal Becker: OK, I'm confused here. Let's consider workflow to make a bullet chart. I was talking about the Standard paragraph, not Itemize. Insert sep. Hit return. Select Frame Fill in Title oops - return in title does nothing, navigate past title (right arrow), hit return Easier: Alt-A Return Fill in title Arrow right Return Now I'm in Frame. Certainly not what I want - I don't even know what this frame in a frame would do. I do not understand what you mean by Frame in a frame. You are still in the same frame. Would you also say Quotation in a quotation if the style still is called quotation after hitting return? Or Itemize in an itemize? Or Theorem in a Theorem? Or, for that matter, Standard in Standard? Switch to itemize Use mouse to hit - icon to nest itemize within frame. Yes. The same as you need to do when using itemize in an Example box, or Quotation, or Theorem, or ... Jürgen
Re: Bigger root size under this special font.
Just to clarify my previous answer, invoking the mathdesign package appears to nullify any effect of the \uproot and \leftroot commands. On 7 May 2014 16:28, Shay Riggs shay.ri...@gmail.com wrote: The problem appears to be \usepackage[adobe-utopia]{mathdesign} in your preamble. If you change it to: \usepackage{fourier} (for the Utopia fonts) you can then use the \uproot{x} and \leftroot{x} commands in your sqrt. You also need to make sure the amsmath package is loaded. Check out the attached, and also look in the preamble. Hope this helps! On 7 May 2014 16:05, Richard Heck rgh...@lyx.org wrote: On 05/07/2014 09:43 AM, A Choi wrote: Can someone please help me make \tau biger, without changing the font? Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. Richard
Re: Beamer in Lyx 2.1.0
2014-05-07 17:38 GMT+02:00 Neal Becker: After arrow right, return. I can type some text. Looks nice. Oh, it's not nested in the frame. Hit tab. Well, you know that you only need to nest paragraphs of a different layout. This is the case for _any_ LyX paragraph layout. So why would you want to nest Frame layout into Frame layout? It does not need to be nested. What needs to be nested is all content of other layout. Again: this is by no means an exotism of beamer frame, this is how environments work in LyX. Also, this is clearly documented in the Beamer manual to which I pointed you several times, but you do not seem to be interested in reading it, so here comes a quotation: • Note that all frame content, if the style is not Frame, must be nested to the frame environment (via Edit⇒Increase List Depth or Alt+Shift+Right) • Nested content is marked by a red bar in the margin of the LyX workarea Jürgen
Re: Beamer in Lyx 2.1.0
2014-05-07 17:41 GMT+02:00 Neal Becker ndbeck...@gmail.com: Which brings up another question. Alt-A return? How could I have discovered this? Reading the beamer manual perhaps? Also, the shortcut is displayed in the respective menu (Edit). And it is also documented generally in the LyX manuals. Jürgen
Re: Bigger root size under this special font.
Thanks Shay, that was very helpful!!! On Wed, May 7, 2014 at 10:43 AM, Shay Riggs shay.ri...@gmail.com wrote: Just to clarify my previous answer, invoking the mathdesign package appears to nullify any effect of the \uproot and \leftroot commands. On 7 May 2014 16:28, Shay Riggs shay.ri...@gmail.com wrote: The problem appears to be \usepackage[adobe-utopia]{mathdesign} in your preamble. If you change it to: \usepackage{fourier} (for the Utopia fonts) you can then use the \uproot{x} and \leftroot{x} commands in your sqrt. You also need to make sure the amsmath package is loaded. Check out the attached, and also look in the preamble. Hope this helps! On 7 May 2014 16:05, Richard Heck rgh...@lyx.org wrote: On 05/07/2014 09:43 AM, A Choi wrote: Can someone please help me make \tau biger, without changing the font? Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. Richard
Lyx 2.1 in Debian
Dear Lyx users, I recently passed to Debian (wheezy - testing) from a Ubuntu machine where I installed Lyx 2.1. To my great surprise, I found that the current Lyx version supported in Debian is v2.0.6 because the package seems no more maintained since last summer (see http://packages.qa.debian.org/l/lyx.html ). Unfortunately, as you may know, Lyx 2.1 generates lyx files that are incompatible with Lyx 2.0.6. There is the export function but it is not convenient when you work collaboratively with peers that use Lyx 2.1 (that is my case). Apart from asking colleagues to downgrade to Lyx 2.0.x (with subsequent complaints) is there any workaround to install Lyx 2.1 in Debian? Please consider that the current lyx package maintainer is looking for a new maintainer: if someone in the list is a Debian passionate/expert may consider the invitation... that would be a great aid! Corrado -- *Corrado Mencar *
Re: Lyx 2.1 in Debian
On 05/07/2014 12:21 PM, Corrado Mencar wrote: Dear Lyx users, I recently passed to Debian (wheezy - testing) from a Ubuntu machine where I installed Lyx 2.1. To my great surprise, I found that the current Lyx version supported in Debian is v2.0.6 because the package seems no more maintained since last summer (see http://packages.qa.debian.org/l/lyx.html). Unfortunately, as you may know, Lyx 2.1 generates lyx files that are incompatible with Lyx 2.0.6. There is the export function but it is not convenient when you work collaboratively with peers that use Lyx 2.1 (that is my case). If you wish, you can download the lyx2lyx conversion files from http://tinyurl.com/pjxcbfg and replace the ones you currently have installed. Then 2.0.6 can read 2.1 files. But there will be a back and forth conversion that may make this less than ideal Apart from asking colleagues to downgrade to Lyx 2.0.x (with subsequent complaints) is there any workaround to install Lyx 2.1 in Debian? Of course: Compile it yourself. This is not hard to do. Richard
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote: This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. For archival purposes, he posted here: http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly Scott
creating my first lyx doc
I'm new to LyX and I'm trying to create my first LyX document using the LyX Tutorial. I described my first try in an email to lyx-d...@lists.lyx.org as follows: ** I’m running into trouble teaching myself how to use LyX from your document “The LyX Tutorial”. I just tried out the suggestions in section 2.1.1: 2.1.1 Typing, Viewing, and Exporting Open a new file with File◃New Type a sentence like: This is my first LYX document! Save your document with File ◃ Save As. Create a PDF file, with View◃View or the toolbar button Mail Attachment.png. LYX will open a PDF-viewer program displaying your document as it will look when printed.3 Export the ready to print document with File ◃ Export to a format you want. Congratulations! You have written your first LYX document. All of the rest is just details. I got through the first three bullet points, but not the fourth. (I’m using Mac OS 9.2.) In your pull- down menu “View” there is no sub-option also called “View”. But there *is* an option called “Toolbars” within which I found an option called “View/Update”. That’s as close as I could come to “View◃View”. View/Update didn’t work. (No viewer was forthcoming.) * The reply was as follows: * Which version are you using? You should have ViewView (Other Formats) in 2.0.x (and it appears you are using the Tutorial from some such version). That has been moved to the Document menu (Document View (Other Formats)) in 2.1.x. You should be able to choose PDF (pdflatex), e.g., off that menu. FYI, these questions are better suited to the lyx-users list. This list is for discussion of problems with the documentation itself. Which maybe there is some here, but the main issues seem to be using the program. * As it happens I'm using version 2.1 with Mac OS 9. But in the Mac OS 9 version of Version 2.1, the menu Document ◃ View (Other Formats) is empty. Please advise. Thanks, Barry Brent barrybr...@iphouse.com
Re: creating my first lyx doc
On Wed, 7 May 2014, Barry Brent wrote: I got through the first three bullet points, but not the fourth. (I’m using Mac OS 9.2.) In your pull- down menu “View” there is no sub-option also called “View”. But there *is* an option called “Toolbars” within which I found an option called “View/Update”. That’s as close as I could come to “View◃View”. Barry, I use linux, not OS X, but it should make no difference. I've never used the View menu to look at the compiled document. Instead, I use Ctrl-x p (with the emacs keyboard layout). You can get to the same place using Tools - Preferences - Editing - Shortcuts - Document/Window - Buffer-View DVI. Assign they keys you want (such as what I use) to that function. The DVI viewer will pop up and display the document as it would be compiled to a pdf with, for example, File - Export - pdflatex. Welcome to the club, Rich -- Richard B. Shepard, Ph.D.| Technically sound and legally defensible Applied Ecosystem Services, Inc. | ... guaranteed. www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: creating my first lyx doc
On 05/07/2014 04:54 PM, Barry Brent wrote: As it happens I'm using version 2.1 with Mac OS 9. But in the Mac OS 9 version of Version 2.1, the menu Document ◃ View (Other Formats) is empty. Did you install MacTeX prior to installing LyX? If so, then you might try Reconfiguring LyX. I'm not sure where that is on the OSX menus. Here, it is at Tools Reconfigure, but it might be elsewhere for you. (OSX has its own way of doing things.) Actually, it is very odd that the menu is completely empty. LyX has certain internal formats it can produce without external assistance, such as XHTML, so you should at least see that, even if LaTeX is not installed. Is that menu still empty if you check it when the Tutorial is open? It is possible there is some Python issue. This has been reported on some systems. I'm going to cc the OSX developers and see if they have any ideas. Richard
Re: Updated a .cls file
Forum, My university provides a .cls file that was last updated around 1998. I found a more up to date .cls file (2011) from another department. When I replace the old .cls file with the new one my document will no longer compile. It has something to do with the ERT at the beginning of the document. To me the error hints that something has been misspelled but I cannot find a spelling error and what it is pointing to is spelled the same in both .cls files. I’m including a link to a .zip file of an example with the new .cls file so you can see the error it produces and also the old .cls file in an appropriately named folder in case it is of any help. -Steve https://docs.google.com/uc?id=0B4Kdj1kZwg6GNkRTMnJDWjVPVkEexport=download
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
Yes, I was just about to add that. Thanks for the redirection. I am aware it is quite likely the problem is more user error and not an actual problem in the packages or in LyX. I have done what I can to refer to the manuals and previous posts, but hadn't found anything about this situation in particular. I posted here first since my suspicion was that I wasn't asking LyX properly to do what I wanted. I've had problems before with the fact that LyX sets up babel and hyperref before the preamble kicks in. Also, in the end my goal(hope) is to have all these work in LyX with the actual document I am trying to produce, even if it is possible to get the packages to work together in TeX. At ths point my best guess is the problem is with how I am using unicode... On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org wrote: On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote: This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. For archival purposes, he posted here: http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly Scott
Re: converting from LyX 2.0 to 2.1
Here you go: This is what happens with system python (2.7.5): hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_Software_Design_converted.lyx Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 24, in module import LyX File /usr/share/lyx/lyx2lyx/LyX.py, line 26, in module import gzip File /usr/local/lib/python2.7/gzip.py, line 9, in module import zlib ImportError: No module named zlib This is what happens with python 3 (3.3.2): hmedal@ws113-16:~$ python3 -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_Software_Design_converted.lyx Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 24, in module import LyX File /usr/share/lyx/lyx2lyx/LyX.py, line 23, in module from parser_tools import get_value, check_token, find_token, \ File /usr/share/lyx/lyx2lyx/parser_tools.py, line 152 ''' SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 1492-1493: truncated \u escape On Wed, May 7, 2014 at 1:55 AM, Jürgen Spitzmüller sp...@lyx.org wrote: 2014-05-06 3:44 GMT+02:00 Hugh Medal: If I need to I can just move to Fedora 20 (I am currently using 19). Just let me know if I should do that. Try to run the lyx2lyx converter manually on your file in a console. What happens? (the following command should be all in one line) python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_ Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_ Software_Design_converted.lyx Jürgen -- *Hugh Medal* Assistant Professor Industrial and Systems Engineering Mississippi State University Office: 260K McCain Office: 662-325-3923 Email: hmedal@i hme...@uark.eduse.msstate.edu Website: hm568.ise.msstate.edu Office hours: http://hughmedal.youcanbook.me
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
On 05/07/2014 09:28 PM, asllearner wrote: Yes, I was just about to add that. Thanks for the redirection. I am aware it is quite likely the problem is more user error and not an actual problem in the packages or in LyX. I have done what I can to refer to the manuals and previous posts, but hadn't found anything about this situation in particular. I posted here first since my suspicion was that I wasn't asking LyX properly to do what I wanted. I've had problems before with the fact that LyX sets up babel and hyperref before the preamble kicks in. Also, in the end my goal(hope) is to have all these work in LyX with the actual document I am trying to produce, even if it is possible to get the packages to work together in TeX. At ths point my best guess is the problem is with how I am using unicode... It's possible. Posting a minimal example will help people help you. Richard On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org wrote: On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote: This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. For archival purposes, he posted here: http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly Scott
Re: Beamer in Lyx 2.1.0
Dear Jürgen, there is no need for irony on your comments. Everybody is doing an honest effort to work with the new Beamer environment. You have quoted the behavior of other environments as the reference for the Frame environment. If I am in a, for example, Problem environment and I want to get out of it into the standard environment, all I have to do is issue a couple of returns. This behavior is nowhere to be found in the Frame environment, as I can issue as many returns as I wish and the UI will accept them. This is, at least IMHO, a first in Lyx. As for the behavior after getting out of the frame title, what Neal was explaining is related to the previous paragraph. After issuing return outside of the frame title, another return should get you to the standard environment. Then issuing a tab would indent this standard environment into the Frame environment and you can keep working. This is the behavior I was expecting from my experience with Lyx and all sorts of environments. In this moment, you can issue as many returns as you wish and Lyx would keep adding empty white lines of a Frame environment. This behavior is not only annoying and useless, to say the least, but also is nowhere to be found in other environments. I hope that you understand our concerns. Regards. - Julio Rojas jcredbe...@gmail.com On Wed, May 7, 2014 at 11:46 AM, Jürgen Spitzmüller sp...@lyx.org wrote: 2014-05-07 17:41 GMT+02:00 Neal Becker ndbeck...@gmail.com: Which brings up another question. Alt-A return? How could I have discovered this? Reading the beamer manual perhaps? Also, the shortcut is displayed in the respective menu (Edit). And it is also documented generally in the LyX manuals. Jürgen
Re: converting from LyX 2.0 to 2.1
On 05/07/2014 09:54 PM, Hugh Medal wrote: Here you go: This is what happens with system python (2.7.5): hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_Software_Design_converted.lyx Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 24, in module import LyX File /usr/share/lyx/lyx2lyx/LyX.py, line 26, in module import gzip File /usr/local/lib/python2.7/gzip.py, line 9, in module import zlib ImportError: No module named zlib There is something wrong with your python installation if zlib is not found. This is what happens with python 3 (3.3.2): Python 3 is known not to work with LyX. You may have some kind of conflict. Richard
Re: converting from LyX 2.0 to 2.1
2014-05-06 3:44 GMT+02:00 Hugh Medal: If I need to I can just move to Fedora 20 (I am currently using 19). Just let me know if I should do that. Try to run the lyx2lyx converter manually on your file in a console. What happens? (the following command should be all in one line) python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_ Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_ Software_Design_converted.lyx Jürgen
Figure besides
Figure Besides is used to set the legend to the side of a (small) figure. It is used in this way: Text. \FigBesBeg here is figure \FigBesEnd More Text ... I noticed that, if the text after the \FigBesEnd (in ERT) follows immediately the tex-Box, Text. \FigBesBeg here is figure \FigBesEndMore Text ... (that is, the More Text follows without a space) I get an error: \FigBesEndEs wurde vorgeschlagen, dass die Kontrolle der Transkription The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. I am using Lyx 1.06 under Kubuntu. I wonder, whether this is a Latex thing, or a Lyx mistake, or my stupidity. Wolfgang
Re: Beamer in Lyx 2.1.0
Julio Rojas wrote: Thanks Scott, This shortcut is quite useful in getting me over the old Frame environment hangover. Nevertheless, while trying both methods another problem appeared: To get out of the title of a Frame pressing return is not enough. One has to use the arrows to get out of the Frame title box and then issue return to get to the next line. Now, the next line is not indented, so I pressed tab in order to indent the line inside the Frame. To my surprise, this line belongs to a Frame environment, so one has to change it manually to a standard environment. Weird things do not stop there, as one might believe that issuing return would get you out of this environment, but no, as one can issue as many CRs as wanted, a behavior that I believe is completely unintended, isn't it so? Regards. - Julio Rojas jcredbe...@gmail.com This is exactly my experience - I completely agree this could be easier.
Re: Re: converting from LyX 2.0 to 2.1
On Tuesday 06 May 2014 01:44:25 Hugh Medal wrote: If I need to I can just move to Fedora 20 (I am currently using 19). Just let me know if I should do that. Thanks, Hugh There is no difference here between Fedora 19 and 20. -- José Abílio
Bigger root size under this special font.
Can someone please help me make \tau biger, without changing the font?\ Thanks in advance. I tried leftroot and uproot and they simply don't work with this font. bigger tau.lyx Description: application/lyx
Re: The persistent problem with svmono class and \boldsymbol font
On 05/05/2014 06:27 AM, Bieniasz wrote: Hello, About a year ago I asked about the problem that I have while using the svmono class. I have done some additional tests and it seems to me that there must be some bug in the LyX template for svmono. So, if the author of this template reads my message, I would appreciate some help. The problem is as follows: I need to use the font \boldsymbol in the equation editor. This font is properly visible under LyX, but when I generate a pdf file, then the font looks identical as the standard equation editor font (that is the letters are not thicker). I suspect that this is a bug in the svmono LyX template, because the problem does not occur in the default document template of LyX, that is when the svmono class is not used. In the latter case the font looks properly in pdf files. I hope there is some way to fix this problem ? Do you know if the problem arises simply using LaTeX? Sometimes particular classes, especially for journals, do redefine LaTeX commands, such as \boldsymbol. Rihcard
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. Richard On 05/05/2014 11:08 AM, asllearner wrote: I am trying to use a font for my main font, and also for math latin and greek characters, while keeping the rest as is. At the same time, I want to use blindtext. blindtext only allows \blindmathtrue if the language has been set to english: http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/ This I believe I have to do via the language package custom area in the document preferences, however using \usepackage[english]{babel} breaks unicode-math. I get ! Font \l_tmpb_font has only 8 fontdimen parameters. If I use the default language package, all works, except, as stated above, blindtext english/math. %This is in my preamble: \usepackage[vargreek-shape=unicode]{unicode-math} \setmathfont{Latin Modern Math} % this is obligatory or no math font will be set... %everything works to here. But this setmathfonts is causing the problem \setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} % upper and lower case latin and numbers % any font will do \setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant \usepackage{blindtext} The font doesn't matter; I get the same behavior whatever font I use, even standard ones... (NB, this is heavily redacted from a larger set of uses of unicode-math for nefarious purposes, so this a best effort to produce a MWE for what seems to be the crux of the matter). PS apparently an incomplete version of this post got sent. please ignore.
Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections
Can you post an example file? On 05/05/2014 02:15 PM, Olivier Ripoll wrote: Hi all, I've been hitting this issue recently on 2.0.7 and also or 2.1.0: Even with a very simple document: 1 section and 1 word of text. If I use the Koma-script article class, with headings page style and a numbered section, the compilation result in an error about and extra \fi or an extra \else below (between dashes) is the relevant part of the log: - ! Extra \else. \H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else \def \@svsechd {#6{\hskip ... l.33 \section{foobar} I'm ignoring this; it doesn't match any \if. ! Extra \fi. \H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi \@xsect {#5} l.33 \section{foobar} I'm ignoring this; it doesn't match any \if. - If I change the document class, it works. If I change the page style to any other (plain, fancy, empty or default), it works. If I switch to a section*, a part or a subsection, it works. Anyone experiencing this ? Any idea about the cause ? Best regards, Olivier
Re: Figure besides
On 05/07/2014 04:17 AM, Wolfgang Engelmann wrote: Figure Besides is used to set the legend to the side of a (small) figure. It is used in this way: Text. \FigBesBeg here is figure \FigBesEnd More Text ... I noticed that, if the text after the \FigBesEnd (in ERT) follows immediately the tex-Box, Text. \FigBesBeg here is figure \FigBesEndMore Text ... (that is, the More Text follows without a space) I get an error: \FigBesEndEs wurde vorgeschlagen, dass die Kontrolle der Transkription The problem is that there is no space between your LaTeX command and the text. So LyX is outputing: \FigBesEndEs which is not a LaTeX command. Just put a space at the end of your ERT (or else: {}). Richard
Re: Beamer in Lyx 2.1.0
On 05/07/2014 08:07 AM, Neal Becker wrote: Julio Rojas wrote: Thanks Scott, This shortcut is quite useful in getting me over the old Frame environment hangover. Nevertheless, while trying both methods another problem appeared: To get out of the title of a Frame pressing return is not enough. One has to use the arrows to get out of the Frame title box and then issue return to get to the next line. Now, the next line is not indented, so I pressed tab in order to indent the line inside the Frame. To my surprise, this line belongs to a Frame environment, so one has to change it manually to a standard environment. Weird things do not stop there, as one might believe that issuing return would get you out of this environment, but no, as one can issue as many CRs as wanted, a behavior that I believe is completely unintended, isn't it so? Regards. - Julio Rojas jcredbe...@gmail.com This is exactly my experience - I completely agree this could be easier. What would help is a concrete proposal about how the UI should work. Then we can think about how to code it. One idea I had was to implement something corresponding to the Next Style option in LibreOffice styles. So, e.g., if you are in a Frame environment and you hit Return, then LyX would know NOT to make the next line also a Frame, but instead to revert to Standard (and perhaps we could also have a layout option that told LyX to increase depth for that new layout). Richard
Re: Bigger root size under this special font.
On 05/07/2014 09:43 AM, A Choi wrote: Can someone please help me make \tau biger, without changing the font? Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. Richard
Re: Beamer in Lyx 2.1.0
2014-05-07 17:02 GMT+02:00 Richard Heck: One idea I had was to implement something corresponding to the Next Style option in LibreOffice styles. So, e.g., if you are in a Frame environment and you hit Return, then LyX would know NOT to make the next line also a Frame, but instead to revert to Standard Well, this is exactly what Alt+Return does. But let me repeat: Frame _does_ make most sense here. Note that the style is called Frame, not Frame Title. I do not understand why a nested Standard paragraph would be required here. (and perhaps we could also have a layout option that told LyX to increase depth for that new layout). Yes. But the logic will be not easy to figure. Jürgen Richard
Re: Beamer in Lyx 2.1.0
Jürgen Spitzmüller wrote: 2014-05-07 17:02 GMT+02:00 Richard Heck: One idea I had was to implement something corresponding to the Next Style option in LibreOffice styles. So, e.g., if you are in a Frame environment and you hit Return, then LyX would know NOT to make the next line also a Frame, but instead to revert to Standard Well, this is exactly what Alt+Return does. But let me repeat: Frame _does_ make most sense here. Note that the style is called Frame, not Frame Title. I do not understand why a nested Standard paragraph would be required here. (and perhaps we could also have a layout option that told LyX to increase depth for that new layout). Yes. But the logic will be not easy to figure. Jürgen OK, I'm confused here. Let's consider workflow to make a bullet chart. Insert sep. Hit return. Select Frame Fill in Title oops - return in title does nothing, navigate past title (right arrow), hit return Now I'm in Frame. Certainly not what I want - I don't even know what this frame in a frame would do. Switch to itemize Use mouse to hit - icon to nest itemize within frame. I haven't tried out the shortcut listed earlier in this thread yet.
Re: Bigger root size under this special font.
The problem appears to be \usepackage[adobe-utopia]{mathdesign} in your preamble. If you change it to: \usepackage{fourier} (for the Utopia fonts) you can then use the \uproot{x} and \leftroot{x} commands in your sqrt. You also need to make sure the amsmath package is loaded. Check out the attached, and also look in the preamble. Hope this helps! On 7 May 2014 16:05, Richard Heck rgh...@lyx.org wrote: On 05/07/2014 09:43 AM, A Choi wrote: Can someone please help me make \tau biger, without changing the font? Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. Richard bigger tau.lyx Description: application/lyx
Re: Beamer in Lyx 2.1.0
2014-05-07 17:14 GMT+02:00 Neal Becker: OK, I'm confused here. Let's consider workflow to make a bullet chart. I was talking about the Standard paragraph, not Itemize. Insert sep. Hit return. Select Frame Fill in Title oops - return in title does nothing, navigate past title (right arrow), hit return Easier: Alt-A Return Fill in title Arrow right Return Now I'm in Frame. Certainly not what I want - I don't even know what this frame in a frame would do. I do not understand what you mean by Frame in a frame. You are still in the same frame. Would you also say Quotation in a quotation if the style still is called quotation after hitting return? Or Itemize in an itemize? Or Theorem in a Theorem? Or, for that matter, Standard in Standard? Switch to itemize Use mouse to hit - icon to nest itemize within frame. Yes. The same as you need to do when using itemize in an Example box, or Quotation, or Theorem, or ... Jürgen
Re: Beamer in Lyx 2.1.0
After arrow right, return. I can type some text. Looks nice. Oh, it's not nested in the frame. Hit tab. Now you have Frame inside Frame. On Wed, May 7, 2014 at 11:31 AM, Jürgen Spitzmüller sp...@lyx.org wrote: 2014-05-07 17:14 GMT+02:00 Neal Becker: OK, I'm confused here. Let's consider workflow to make a bullet chart. I was talking about the Standard paragraph, not Itemize. Insert sep. Hit return. Select Frame Fill in Title oops - return in title does nothing, navigate past title (right arrow), hit return Easier: Alt-A Return Fill in title Arrow right Return Now I'm in Frame. Certainly not what I want - I don't even know what this frame in a frame would do. I do not understand what you mean by Frame in a frame. You are still in the same frame. Would you also say Quotation in a quotation if the style still is called quotation after hitting return? Or Itemize in an itemize? Or Theorem in a Theorem? Or, for that matter, Standard in Standard? Switch to itemize Use mouse to hit - icon to nest itemize within frame. Yes. The same as you need to do when using itemize in an Example box, or Quotation, or Theorem, or ... Jürgen
Re: Beamer in Lyx 2.1.0
Which brings up another question. Alt-A return? How could I have discovered this? If I look at Help/Shortcuts, I don't see it (or am I blind?) I wish lyx had a way to discover things like emacs does. On Wed, May 7, 2014 at 11:38 AM, Neal Becker ndbeck...@gmail.com wrote: After arrow right, return. I can type some text. Looks nice. Oh, it's not nested in the frame. Hit tab. Now you have Frame inside Frame. On Wed, May 7, 2014 at 11:31 AM, Jürgen Spitzmüller sp...@lyx.org wrote: 2014-05-07 17:14 GMT+02:00 Neal Becker: OK, I'm confused here. Let's consider workflow to make a bullet chart. I was talking about the Standard paragraph, not Itemize. Insert sep. Hit return. Select Frame Fill in Title oops - return in title does nothing, navigate past title (right arrow), hit return Easier: Alt-A Return Fill in title Arrow right Return Now I'm in Frame. Certainly not what I want - I don't even know what this frame in a frame would do. I do not understand what you mean by Frame in a frame. You are still in the same frame. Would you also say Quotation in a quotation if the style still is called quotation after hitting return? Or Itemize in an itemize? Or Theorem in a Theorem? Or, for that matter, Standard in Standard? Switch to itemize Use mouse to hit - icon to nest itemize within frame. Yes. The same as you need to do when using itemize in an Example box, or Quotation, or Theorem, or ... Jürgen
Re: Bigger root size under this special font.
Just to clarify my previous answer, invoking the mathdesign package appears to nullify any effect of the \uproot and \leftroot commands. On 7 May 2014 16:28, Shay Riggs shay.ri...@gmail.com wrote: The problem appears to be \usepackage[adobe-utopia]{mathdesign} in your preamble. If you change it to: \usepackage{fourier} (for the Utopia fonts) you can then use the \uproot{x} and \leftroot{x} commands in your sqrt. You also need to make sure the amsmath package is loaded. Check out the attached, and also look in the preamble. Hope this helps! On 7 May 2014 16:05, Richard Heck rgh...@lyx.org wrote: On 05/07/2014 09:43 AM, A Choi wrote: Can someone please help me make \tau biger, without changing the font? Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. Richard
Re: Beamer in Lyx 2.1.0
2014-05-07 17:38 GMT+02:00 Neal Becker: After arrow right, return. I can type some text. Looks nice. Oh, it's not nested in the frame. Hit tab. Well, you know that you only need to nest paragraphs of a different layout. This is the case for _any_ LyX paragraph layout. So why would you want to nest Frame layout into Frame layout? It does not need to be nested. What needs to be nested is all content of other layout. Again: this is by no means an exotism of beamer frame, this is how environments work in LyX. Also, this is clearly documented in the Beamer manual to which I pointed you several times, but you do not seem to be interested in reading it, so here comes a quotation: • Note that all frame content, if the style is not Frame, must be nested to the frame environment (via Edit⇒Increase List Depth or Alt+Shift+Right) • Nested content is marked by a red bar in the margin of the LyX workarea Jürgen
Re: Beamer in Lyx 2.1.0
2014-05-07 17:41 GMT+02:00 Neal Becker ndbeck...@gmail.com: Which brings up another question. Alt-A return? How could I have discovered this? Reading the beamer manual perhaps? Also, the shortcut is displayed in the respective menu (Edit). And it is also documented generally in the LyX manuals. Jürgen
Re: Bigger root size under this special font.
Thanks Shay, that was very helpful!!! On Wed, May 7, 2014 at 10:43 AM, Shay Riggs shay.ri...@gmail.com wrote: Just to clarify my previous answer, invoking the mathdesign package appears to nullify any effect of the \uproot and \leftroot commands. On 7 May 2014 16:28, Shay Riggs shay.ri...@gmail.com wrote: The problem appears to be \usepackage[adobe-utopia]{mathdesign} in your preamble. If you change it to: \usepackage{fourier} (for the Utopia fonts) you can then use the \uproot{x} and \leftroot{x} commands in your sqrt. You also need to make sure the amsmath package is loaded. Check out the attached, and also look in the preamble. Hope this helps! On 7 May 2014 16:05, Richard Heck rgh...@lyx.org wrote: On 05/07/2014 09:43 AM, A Choi wrote: Can someone please help me make \tau biger, without changing the font? Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. Richard
Lyx 2.1 in Debian
Dear Lyx users, I recently passed to Debian (wheezy - testing) from a Ubuntu machine where I installed Lyx 2.1. To my great surprise, I found that the current Lyx version supported in Debian is v2.0.6 because the package seems no more maintained since last summer (see http://packages.qa.debian.org/l/lyx.html ). Unfortunately, as you may know, Lyx 2.1 generates lyx files that are incompatible with Lyx 2.0.6. There is the export function but it is not convenient when you work collaboratively with peers that use Lyx 2.1 (that is my case). Apart from asking colleagues to downgrade to Lyx 2.0.x (with subsequent complaints) is there any workaround to install Lyx 2.1 in Debian? Please consider that the current lyx package maintainer is looking for a new maintainer: if someone in the list is a Debian passionate/expert may consider the invitation... that would be a great aid! Corrado -- *Corrado Mencar *
Re: Lyx 2.1 in Debian
On 05/07/2014 12:21 PM, Corrado Mencar wrote: Dear Lyx users, I recently passed to Debian (wheezy - testing) from a Ubuntu machine where I installed Lyx 2.1. To my great surprise, I found that the current Lyx version supported in Debian is v2.0.6 because the package seems no more maintained since last summer (see http://packages.qa.debian.org/l/lyx.html). Unfortunately, as you may know, Lyx 2.1 generates lyx files that are incompatible with Lyx 2.0.6. There is the export function but it is not convenient when you work collaboratively with peers that use Lyx 2.1 (that is my case). If you wish, you can download the lyx2lyx conversion files from http://tinyurl.com/pjxcbfg and replace the ones you currently have installed. Then 2.0.6 can read 2.1 files. But there will be a back and forth conversion that may make this less than ideal Apart from asking colleagues to downgrade to Lyx 2.0.x (with subsequent complaints) is there any workaround to install Lyx 2.1 in Debian? Of course: Compile it yourself. This is not hard to do. Richard
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote: This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. For archival purposes, he posted here: http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly Scott
creating my first lyx doc
I'm new to LyX and I'm trying to create my first LyX document using the LyX Tutorial. I described my first try in an email to lyx-d...@lists.lyx.org as follows: ** I’m running into trouble teaching myself how to use LyX from your document “The LyX Tutorial”. I just tried out the suggestions in section 2.1.1: 2.1.1 Typing, Viewing, and Exporting Open a new file with File◃New Type a sentence like: This is my first LYX document! Save your document with File ◃ Save As. Create a PDF file, with View◃View or the toolbar button Mail Attachment.png. LYX will open a PDF-viewer program displaying your document as it will look when printed.3 Export the ready to print document with File ◃ Export to a format you want. Congratulations! You have written your first LYX document. All of the rest is just details. I got through the first three bullet points, but not the fourth. (I’m using Mac OS 9.2.) In your pull- down menu “View” there is no sub-option also called “View”. But there *is* an option called “Toolbars” within which I found an option called “View/Update”. That’s as close as I could come to “View◃View”. View/Update didn’t work. (No viewer was forthcoming.) * The reply was as follows: * Which version are you using? You should have ViewView (Other Formats) in 2.0.x (and it appears you are using the Tutorial from some such version). That has been moved to the Document menu (Document View (Other Formats)) in 2.1.x. You should be able to choose PDF (pdflatex), e.g., off that menu. FYI, these questions are better suited to the lyx-users list. This list is for discussion of problems with the documentation itself. Which maybe there is some here, but the main issues seem to be using the program. * As it happens I'm using version 2.1 with Mac OS 9. But in the Mac OS 9 version of Version 2.1, the menu Document ◃ View (Other Formats) is empty. Please advise. Thanks, Barry Brent barrybr...@iphouse.com
Re: creating my first lyx doc
On Wed, 7 May 2014, Barry Brent wrote: I got through the first three bullet points, but not the fourth. (I’m using Mac OS 9.2.) In your pull- down menu “View” there is no sub-option also called “View”. But there *is* an option called “Toolbars” within which I found an option called “View/Update”. That’s as close as I could come to “View◃View”. Barry, I use linux, not OS X, but it should make no difference. I've never used the View menu to look at the compiled document. Instead, I use Ctrl-x p (with the emacs keyboard layout). You can get to the same place using Tools - Preferences - Editing - Shortcuts - Document/Window - Buffer-View DVI. Assign they keys you want (such as what I use) to that function. The DVI viewer will pop up and display the document as it would be compiled to a pdf with, for example, File - Export - pdflatex. Welcome to the club, Rich -- Richard B. Shepard, Ph.D.| Technically sound and legally defensible Applied Ecosystem Services, Inc. | ... guaranteed. www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: creating my first lyx doc
On 05/07/2014 04:54 PM, Barry Brent wrote: As it happens I'm using version 2.1 with Mac OS 9. But in the Mac OS 9 version of Version 2.1, the menu Document ◃ View (Other Formats) is empty. Did you install MacTeX prior to installing LyX? If so, then you might try Reconfiguring LyX. I'm not sure where that is on the OSX menus. Here, it is at Tools Reconfigure, but it might be elsewhere for you. (OSX has its own way of doing things.) Actually, it is very odd that the menu is completely empty. LyX has certain internal formats it can produce without external assistance, such as XHTML, so you should at least see that, even if LaTeX is not installed. Is that menu still empty if you check it when the Tutorial is open? It is possible there is some Python issue. This has been reported on some systems. I'm going to cc the OSX developers and see if they have any ideas. Richard
Re: Updated a .cls file
Forum, My university provides a .cls file that was last updated around 1998. I found a more up to date .cls file (2011) from another department. When I replace the old .cls file with the new one my document will no longer compile. It has something to do with the ERT at the beginning of the document. To me the error hints that something has been misspelled but I cannot find a spelling error and what it is pointing to is spelled the same in both .cls files. I’m including a link to a .zip file of an example with the new .cls file so you can see the error it produces and also the old .cls file in an appropriately named folder in case it is of any help. -Steve https://docs.google.com/uc?id=0B4Kdj1kZwg6GNkRTMnJDWjVPVkEexport=download
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
Yes, I was just about to add that. Thanks for the redirection. I am aware it is quite likely the problem is more user error and not an actual problem in the packages or in LyX. I have done what I can to refer to the manuals and previous posts, but hadn't found anything about this situation in particular. I posted here first since my suspicion was that I wasn't asking LyX properly to do what I wanted. I've had problems before with the fact that LyX sets up babel and hyperref before the preamble kicks in. Also, in the end my goal(hope) is to have all these work in LyX with the actual document I am trying to produce, even if it is possible to get the packages to work together in TeX. At ths point my best guess is the problem is with how I am using unicode... On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org wrote: On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote: This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. For archival purposes, he posted here: http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly Scott
Re: converting from LyX 2.0 to 2.1
Here you go: This is what happens with system python (2.7.5): hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_Software_Design_converted.lyx Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 24, in module import LyX File /usr/share/lyx/lyx2lyx/LyX.py, line 26, in module import gzip File /usr/local/lib/python2.7/gzip.py, line 9, in module import zlib ImportError: No module named zlib This is what happens with python 3 (3.3.2): hmedal@ws113-16:~$ python3 -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_Software_Design_converted.lyx Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 24, in module import LyX File /usr/share/lyx/lyx2lyx/LyX.py, line 23, in module from parser_tools import get_value, check_token, find_token, \ File /usr/share/lyx/lyx2lyx/parser_tools.py, line 152 ''' SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 1492-1493: truncated \u escape On Wed, May 7, 2014 at 1:55 AM, Jürgen Spitzmüller sp...@lyx.org wrote: 2014-05-06 3:44 GMT+02:00 Hugh Medal: If I need to I can just move to Fedora 20 (I am currently using 19). Just let me know if I should do that. Try to run the lyx2lyx converter manually on your file in a console. What happens? (the following command should be all in one line) python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_ Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_ Software_Design_converted.lyx Jürgen -- *Hugh Medal* Assistant Professor Industrial and Systems Engineering Mississippi State University Office: 260K McCain Office: 662-325-3923 Email: hmedal@i hme...@uark.eduse.msstate.edu Website: hm568.ise.msstate.edu Office hours: http://hughmedal.youcanbook.me
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
On 05/07/2014 09:28 PM, asllearner wrote: Yes, I was just about to add that. Thanks for the redirection. I am aware it is quite likely the problem is more user error and not an actual problem in the packages or in LyX. I have done what I can to refer to the manuals and previous posts, but hadn't found anything about this situation in particular. I posted here first since my suspicion was that I wasn't asking LyX properly to do what I wanted. I've had problems before with the fact that LyX sets up babel and hyperref before the preamble kicks in. Also, in the end my goal(hope) is to have all these work in LyX with the actual document I am trying to produce, even if it is possible to get the packages to work together in TeX. At ths point my best guess is the problem is with how I am using unicode... It's possible. Posting a minimal example will help people help you. Richard On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org wrote: On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote: This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. For archival purposes, he posted here: http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly Scott
Re: Beamer in Lyx 2.1.0
Dear Jürgen, there is no need for irony on your comments. Everybody is doing an honest effort to work with the new Beamer environment. You have quoted the behavior of other environments as the reference for the Frame environment. If I am in a, for example, Problem environment and I want to get out of it into the standard environment, all I have to do is issue a couple of returns. This behavior is nowhere to be found in the Frame environment, as I can issue as many returns as I wish and the UI will accept them. This is, at least IMHO, a first in Lyx. As for the behavior after getting out of the frame title, what Neal was explaining is related to the previous paragraph. After issuing return outside of the frame title, another return should get you to the standard environment. Then issuing a tab would indent this standard environment into the Frame environment and you can keep working. This is the behavior I was expecting from my experience with Lyx and all sorts of environments. In this moment, you can issue as many returns as you wish and Lyx would keep adding empty white lines of a Frame environment. This behavior is not only annoying and useless, to say the least, but also is nowhere to be found in other environments. I hope that you understand our concerns. Regards. - Julio Rojas jcredbe...@gmail.com On Wed, May 7, 2014 at 11:46 AM, Jürgen Spitzmüller sp...@lyx.org wrote: 2014-05-07 17:41 GMT+02:00 Neal Becker ndbeck...@gmail.com: Which brings up another question. Alt-A return? How could I have discovered this? Reading the beamer manual perhaps? Also, the shortcut is displayed in the respective menu (Edit). And it is also documented generally in the LyX manuals. Jürgen
Re: converting from LyX 2.0 to 2.1
On 05/07/2014 09:54 PM, Hugh Medal wrote: Here you go: This is what happens with system python (2.7.5): hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx Optimal_Software_Design_converted.lyx Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 24, in module import LyX File /usr/share/lyx/lyx2lyx/LyX.py, line 26, in module import gzip File /usr/local/lib/python2.7/gzip.py, line 9, in module import zlib ImportError: No module named zlib There is something wrong with your python installation if zlib is not found. This is what happens with python 3 (3.3.2): Python 3 is known not to work with LyX. You may have some kind of conflict. Richard
Re: converting from LyX 2.0 to 2.1
2014-05-06 3:44 GMT+02:00 Hugh Medal: > If I need to I can just move to Fedora 20 (I am currently using 19). Just > let > me know if I should do that. > Try to run the lyx2lyx converter manually on your file in a console. What happens? (the following command should be all in one line) python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_ Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx > Optimal_ Software_Design_converted.lyx Jürgen
Figure besides
Figure Besides is used to set the legend to the side of a (small) figure. It is used in this way: Text. \FigBesBeg \FigBesEnd More Text ... I noticed that, if the text after the \FigBesEnd (in ERT) follows immediately the tex-Box, Text. \FigBesBeg \FigBesEndMore Text ... (that is, the More Text follows without a space) I get an error: \FigBesEndEs wurde vorgeschlagen, dass die Kontrolle der Transkription The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. I am using Lyx 1.06 under Kubuntu. I wonder, whether this is a Latex thing, or a Lyx mistake, or my stupidity. Wolfgang
Re: Beamer in Lyx 2.1.0
Julio Rojas wrote: > Thanks Scott, > > This shortcut is quite useful in getting me over the old "Frame" > environment hangover. Nevertheless, while trying both methods another > "problem" appeared: To get out of the title of a "Frame" pressing return is > not enough. One has to use the arrows to get out of the "Frame title" box > and then issue return to get to the next line. Now, the next line is not > indented, so I pressed tab in order to indent the line inside the "Frame". > To my surprise, this line belongs to a "Frame" environment, so one has to > change it manually to a standard environment. Weird things do not stop > there, as one might believe that issuing return would get you out of this > environment, but no, as one can issue as many CRs as wanted, a behavior > that I believe is completely unintended, isn't it so? > > Regards. > > - > Julio Rojas > jcredbe...@gmail.com > This is exactly my experience - I completely agree this could be easier.
Re: Re: converting from LyX 2.0 to 2.1
On Tuesday 06 May 2014 01:44:25 Hugh Medal wrote: > If I need to I can just move to Fedora 20 (I am currently using 19). Just let > me know if I should do that. > > Thanks, > Hugh There is no difference here between Fedora 19 and 20. -- José Abílio
Bigger root size under this special font.
Can someone please help me make \tau biger, without changing the font?\ Thanks in advance. I tried leftroot and uproot and they simply don't work with this font. bigger tau.lyx Description: application/lyx
Re: The persistent problem with svmono class and \boldsymbol font
On 05/05/2014 06:27 AM, Bieniasz wrote: Hello, About a year ago I asked about the problem that I have while using the svmono class. I have done some additional tests and it seems to me that there must be some bug in the LyX template for svmono. So, if the author of this template reads my message, I would appreciate some help. The problem is as follows: I need to use the font \boldsymbol in the equation editor. This font is properly visible under LyX, but when I generate a pdf file, then the font looks identical as the standard equation editor font (that is the letters are not thicker). I suspect that this is a bug in the svmono LyX template, because the problem does not occur in the default document template of LyX, that is when the svmono class is not used. In the latter case the font looks properly in pdf files. I hope there is some way to fix this problem ? Do you know if the problem arises simply using LaTeX? Sometimes particular classes, especially for journals, do redefine LaTeX commands, such as \boldsymbol. Rihcard
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. Richard On 05/05/2014 11:08 AM, asllearner wrote: I am trying to use a font for my main font, and also for math latin and greek characters, while keeping the rest as is. At the same time, I want to use blindtext. blindtext only allows \blindmathtrue if the language has been set to english: http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/ This I believe I have to do via the language package custom area in the document preferences, however using \usepackage[english]{babel} breaks unicode-math. I get ! Font \l_tmpb_font has only 8 fontdimen parameters. If I use the default language package, all works, except, as stated above, blindtext english/math. %This is in my preamble: \usepackage[vargreek-shape=unicode]{unicode-math} \setmathfont{Latin Modern Math} % this is obligatory or no math font will be set... %everything works to here. But this setmathfonts is causing the problem \setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} % upper and lower case latin and numbers % any font will do \setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant \usepackage{blindtext} The font doesn't matter; I get the same behavior whatever font I use, even standard ones... (NB, this is heavily redacted from a larger set of uses of unicode-math for nefarious purposes, so this a best effort to produce a MWE for what seems to be the crux of the matter). PS apparently an incomplete version of this post got sent. please ignore.
Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections
Can you post an example file? On 05/05/2014 02:15 PM, Olivier Ripoll wrote: Hi all, I've been hitting this issue recently on 2.0.7 and also or 2.1.0: Even with a very simple document: 1 section and 1 word of text. If I use the Koma-script article class, with "headings" page style and a numbered section, the compilation result in an error about and extra \fi or an extra \else below (between dashes) is the relevant part of the log: - ! Extra \else. \H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else \def \@svsechd {#6{\hskip ... l.33 \section{foobar} I'm ignoring this; it doesn't match any \if. ! Extra \fi. \H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi \@xsect {#5} l.33 \section{foobar} I'm ignoring this; it doesn't match any \if. - If I change the document class, it works. If I change the page style to any other (plain, fancy, empty or default), it works. If I switch to a section*, a part or a subsection, it works. Anyone experiencing this ? Any idea about the cause ? Best regards, Olivier
Re: Figure besides
On 05/07/2014 04:17 AM, Wolfgang Engelmann wrote: Figure Besides is used to set the legend to the side of a (small) figure. It is used in this way: Text. \FigBesBeg \FigBesEnd More Text ... I noticed that, if the text after the \FigBesEnd (in ERT) follows immediately the tex-Box, Text. \FigBesBeg \FigBesEndMore Text ... (that is, the More Text follows without a space) I get an error: \FigBesEndEs wurde vorgeschlagen, dass die Kontrolle der Transkription The problem is that there is no space between your LaTeX command and the text. So LyX is outputing: \FigBesEndEs which is not a LaTeX command. Just put a space at the end of your ERT (or else: {}). Richard
Re: Beamer in Lyx 2.1.0
On 05/07/2014 08:07 AM, Neal Becker wrote: Julio Rojas wrote: Thanks Scott, This shortcut is quite useful in getting me over the old "Frame" environment hangover. Nevertheless, while trying both methods another "problem" appeared: To get out of the title of a "Frame" pressing return is not enough. One has to use the arrows to get out of the "Frame title" box and then issue return to get to the next line. Now, the next line is not indented, so I pressed tab in order to indent the line inside the "Frame". To my surprise, this line belongs to a "Frame" environment, so one has to change it manually to a standard environment. Weird things do not stop there, as one might believe that issuing return would get you out of this environment, but no, as one can issue as many CRs as wanted, a behavior that I believe is completely unintended, isn't it so? Regards. - Julio Rojas jcredbe...@gmail.com This is exactly my experience - I completely agree this could be easier. What would help is a concrete proposal about how the UI should work. Then we can think about how to code it. One idea I had was to implement something corresponding to the "Next Style" option in LibreOffice styles. So, e.g., if you are in a Frame environment and you hit , then LyX would know NOT to make the next line also a Frame, but instead to revert to Standard (and perhaps we could also have a layout option that told LyX to increase depth for that new layout). Richard
Re: Bigger root size under this special font.
On 05/07/2014 09:43 AM, A Choi wrote: Can someone please help me make \tau biger, without changing the font? Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. Richard
Re: Beamer in Lyx 2.1.0
2014-05-07 17:02 GMT+02:00 Richard Heck: > One idea I had was to implement something corresponding to the "Next > Style" option in LibreOffice styles. So, e.g., if you are in a Frame > environment and you hit , then LyX would know NOT to make the next > line also a Frame, but instead to revert to Standard Well, this is exactly what Alt+Return does. But let me repeat: Frame _does_ make most sense here. Note that the style is called "Frame", not "Frame Title". I do not understand why a nested Standard paragraph would be required here. (and perhaps we could also have a layout option that told LyX to increase > depth for that new layout). > Yes. But the logic will be not easy to figure. Jürgen > > Richard > >
Re: Beamer in Lyx 2.1.0
Jürgen Spitzmüller wrote: > 2014-05-07 17:02 GMT+02:00 Richard Heck: > >> One idea I had was to implement something corresponding to the "Next >> Style" option in LibreOffice styles. So, e.g., if you are in a Frame >> environment and you hit , then LyX would know NOT to make the next >> line also a Frame, but instead to revert to Standard > > > Well, this is exactly what Alt+Return does. But let me repeat: Frame _does_ > make most sense here. Note that the style is called "Frame", not "Frame > Title". I do not understand why a nested Standard paragraph would be > required here. > > (and perhaps we could also have a layout option that told LyX to increase >> depth for that new layout). >> > > Yes. But the logic will be not easy to figure. > > Jürgen > OK, I'm confused here. Let's consider workflow to make a bullet chart. Insert sep. Hit return. Select Frame Fill in Title oops - return in title does nothing, navigate past title (right arrow), hit return Now I'm in Frame. Certainly not what I want - I don't even know what this frame in a frame would do. Switch to itemize Use mouse to hit -> icon to nest itemize within frame. I haven't tried out the shortcut listed earlier in this thread yet.
Re: Bigger root size under this special font.
The problem appears to be \usepackage[adobe-utopia]{mathdesign} > in your preamble. If you change it to: \usepackage{fourier} > (for the Utopia fonts) you can then use the \uproot{x} and \leftroot{x} commands in your sqrt. You also need to make sure the amsmath package is loaded. Check out the attached, and also look in the preamble. Hope this helps! On 7 May 2014 16:05, Richard Heckwrote: > On 05/07/2014 09:43 AM, A Choi wrote: > >> Can someone please help me make \tau biger, without changing the font? >> > > Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. > > Richard > > bigger tau.lyx Description: application/lyx
Re: Beamer in Lyx 2.1.0
2014-05-07 17:14 GMT+02:00 Neal Becker: > OK, I'm confused here. Let's consider workflow to make a bullet chart. > I was talking about the Standard paragraph, not Itemize. > Insert sep. Hit return. > Select Frame > Fill in Title > oops - return in title does nothing, navigate past title (right arrow), hit > return > Easier: Alt-A Return Fill in title Arrow right Return > Now I'm in Frame. Certainly not what I want - I don't even know what this > frame > in a frame would do. > I do not understand what you mean by "Frame in a frame". You are still in the same frame. Would you also say "Quotation in a quotation" if the style still is called "quotation" after hitting return? Or "Itemize in an itemize"? Or "Theorem in a Theorem"? Or, for that matter, "Standard in Standard"? > Switch to itemize > Use mouse to hit -> icon to nest itemize within frame. > Yes. The same as you need to do when using itemize in an Example box, or Quotation, or Theorem, or ... Jürgen
Re: Beamer in Lyx 2.1.0
After arrow right, return. I can type some text. Looks nice. Oh, it's not nested in the frame. Hit tab. Now you have Frame inside Frame. On Wed, May 7, 2014 at 11:31 AM, Jürgen Spitzmüllerwrote: > 2014-05-07 17:14 GMT+02:00 Neal Becker: > >> OK, I'm confused here. Let's consider workflow to make a bullet chart. >> > > I was talking about the Standard paragraph, not Itemize. > > >> Insert sep. Hit return. >> Select Frame >> Fill in Title >> oops - return in title does nothing, navigate past title (right arrow), >> hit >> return >> > > Easier: > > Alt-A Return > Fill in title > Arrow right > Return > > >> Now I'm in Frame. Certainly not what I want - I don't even know what >> this frame >> in a frame would do. >> > > I do not understand what you mean by "Frame in a frame". You are still in > the same frame. Would you also say "Quotation in a quotation" if the style > still is called "quotation" after hitting return? Or "Itemize in an > itemize"? Or "Theorem in a Theorem"? Or, for that matter, "Standard in > Standard"? > > >> Switch to itemize >> Use mouse to hit -> icon to nest itemize within frame. >> > > Yes. The same as you need to do when using itemize in an Example box, or > Quotation, or Theorem, or ... > > Jürgen >
Re: Beamer in Lyx 2.1.0
Which brings up another question. Alt-A return? How could I have discovered this? If I look at Help/Shortcuts, I don't see it (or am I blind?) I wish lyx had a way to discover things like emacs does. On Wed, May 7, 2014 at 11:38 AM, Neal Beckerwrote: > After arrow right, return. > I can type some text. Looks nice. Oh, it's not nested in the frame. Hit > tab. > > Now you have Frame inside Frame. > > > On Wed, May 7, 2014 at 11:31 AM, Jürgen Spitzmüller wrote: > >> 2014-05-07 17:14 GMT+02:00 Neal Becker: >> >>> OK, I'm confused here. Let's consider workflow to make a bullet chart. >>> >> >> I was talking about the Standard paragraph, not Itemize. >> >> >>> Insert sep. Hit return. >>> Select Frame >>> Fill in Title >>> oops - return in title does nothing, navigate past title (right arrow), >>> hit >>> return >>> >> >> Easier: >> >> Alt-A Return >> Fill in title >> Arrow right >> Return >> >> >>> Now I'm in Frame. Certainly not what I want - I don't even know what >>> this frame >>> in a frame would do. >>> >> >> I do not understand what you mean by "Frame in a frame". You are still in >> the same frame. Would you also say "Quotation in a quotation" if the style >> still is called "quotation" after hitting return? Or "Itemize in an >> itemize"? Or "Theorem in a Theorem"? Or, for that matter, "Standard in >> Standard"? >> >> >>> Switch to itemize >>> Use mouse to hit -> icon to nest itemize within frame. >>> >> >> Yes. The same as you need to do when using itemize in an Example box, or >> Quotation, or Theorem, or ... >> >> Jürgen >> > >
Re: Bigger root size under this special font.
Just to clarify my previous answer, invoking the mathdesign package appears to nullify any effect of the \uproot and \leftroot commands. On 7 May 2014 16:28, Shay Riggswrote: > The problem appears to be > > \usepackage[adobe-utopia]{mathdesign} >> > > in your preamble. If you change it to: > > \usepackage{fourier} >> > > (for the Utopia fonts) you can then use the \uproot{x} and \leftroot{x} > commands in your sqrt. You also need to make sure the amsmath package is > loaded. > > Check out the attached, and also look in the preamble. > > Hope this helps! > > > > > On 7 May 2014 16:05, Richard Heck wrote: > >> On 05/07/2014 09:43 AM, A Choi wrote: >> >>> Can someone please help me make \tau biger, without changing the font? >>> >> >> Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. >> >> Richard >> >> >
Re: Beamer in Lyx 2.1.0
2014-05-07 17:38 GMT+02:00 Neal Becker: > After arrow right, return. > I can type some text. Looks nice. Oh, it's not nested in the frame. Hit > tab. > Well, you know that you only need to nest paragraphs of a different layout. This is the case for _any_ LyX paragraph layout. So why would you want to nest Frame layout into Frame layout? It does not need to be nested. What needs to be nested is all content of other layout. Again: this is by no means an exotism of beamer frame, this is how environments work in LyX. Also, this is clearly documented in the Beamer manual to which I pointed you several times, but you do not seem to be interested in reading it, so here comes a quotation: • Note that all frame content, if the style is not Frame, must be nested to the frame environment (via Edit⇒Increase List Depth or Alt+Shift+Right) • Nested content is marked by a red bar in the margin of the LyX workarea Jürgen
Re: Beamer in Lyx 2.1.0
2014-05-07 17:41 GMT+02:00 Neal Becker: > Which brings up another question. Alt-A return? How could I have > discovered this? > Reading the beamer manual perhaps? Also, the shortcut is displayed in the respective menu (Edit). And it is also documented generally in the LyX manuals. Jürgen
Re: Bigger root size under this special font.
Thanks Shay, that was very helpful!!! On Wed, May 7, 2014 at 10:43 AM, Shay Riggswrote: > Just to clarify my previous answer, invoking the mathdesign package > appears to nullify any effect of the \uproot and \leftroot commands. > > > On 7 May 2014 16:28, Shay Riggs wrote: > >> The problem appears to be >> >> \usepackage[adobe-utopia]{mathdesign} >>> >> >> in your preamble. If you change it to: >> >> \usepackage{fourier} >>> >> >> (for the Utopia fonts) you can then use the \uproot{x} and \leftroot{x} >> commands in your sqrt. You also need to make sure the amsmath package is >> loaded. >> >> Check out the attached, and also look in the preamble. >> >> Hope this helps! >> >> >> >> >> On 7 May 2014 16:05, Richard Heck wrote: >> >>> On 05/07/2014 09:43 AM, A Choi wrote: >>> Can someone please help me make \tau biger, without changing the font? >>> >>> Why do you have \tau in \scriptstyle? Try putting it in \displaystyle. >>> >>> Richard >>> >>> >> >
Lyx 2.1 in Debian
Dear Lyx users, I recently passed to Debian (wheezy - testing) from a Ubuntu machine where I installed Lyx 2.1. To my great surprise, I found that the current Lyx version supported in Debian is v2.0.6 because the package seems no more maintained since last summer (see http://packages.qa.debian.org/l/lyx.html ). Unfortunately, as you may know, Lyx 2.1 generates lyx files that are incompatible with Lyx 2.0.6. There is the export function but it is not convenient when you work collaboratively with peers that use Lyx 2.1 (that is my case). Apart from asking colleagues to downgrade to Lyx 2.0.x (with subsequent complaints) is there any workaround to install Lyx 2.1 in Debian? Please consider that the current lyx package maintainer is looking for a new maintainer: if someone in the list is a Debian passionate/expert may consider the invitation... that would be a great aid! Corrado -- *Corrado Mencar *
Re: Lyx 2.1 in Debian
On 05/07/2014 12:21 PM, Corrado Mencar wrote: Dear Lyx users, I recently passed to Debian (wheezy - testing) from a Ubuntu machine where I installed Lyx 2.1. To my great surprise, I found that the current Lyx version supported in Debian is v2.0.6 because the package seems no more maintained since last summer (see http://packages.qa.debian.org/l/lyx.html). Unfortunately, as you may know, Lyx 2.1 generates lyx files that are incompatible with Lyx 2.0.6. There is the export function but it is not convenient when you work collaboratively with peers that use Lyx 2.1 (that is my case). If you wish, you can download the lyx2lyx conversion files from http://tinyurl.com/pjxcbfg and replace the ones you currently have installed. Then 2.0.6 can read 2.1 files. But there will be a back and forth conversion that may make this less than ideal Apart from asking colleagues to downgrade to Lyx 2.0.x (with subsequent complaints) is there any workaround to install Lyx 2.1 in Debian? Of course: Compile it yourself. This is not hard to do. Richard
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
On Wed, May 7, 2014 at 10:56 AM, Richard Heckwrote: > > This really looks like a LaTeX question, not a LyX question. Try some LaTeX > forum, or comp.text.tex. For archival purposes, he posted here: http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly Scott
creating my first lyx doc
I'm new to LyX and I'm trying to create my first LyX document using the LyX Tutorial. I described my first try in an email to lyx-d...@lists.lyx.org as follows: ** I’m running into trouble teaching myself how to use LyX from your document “The LyX Tutorial”. I just tried out the suggestions in section 2.1.1: 2.1.1 Typing, Viewing, and Exporting Open a new file with File◃New Type a sentence like: This is my first LYX document! Save your document with File ◃ Save As. Create a PDF file, with View◃View or the toolbar button . LYX will open a PDF-viewer program displaying your document as it will look when printed.3 Export the ready to print document with File ◃ Export to a format you want. Congratulations! You have written your first LYX document. All of the rest is just details. I got through the first three bullet points, but not the fourth. (I’m using Mac OS 9.2.) In your pull- down menu “View” there is no sub-option also called “View”. But there *is* an option called “Toolbars” within which I found an option called “View/Update”. That’s as close as I could come to “View◃View”. View/Update didn’t work. (No viewer was forthcoming.) * The reply was as follows: * Which version are you using? You should have View>View (Other Formats) in 2.0.x (and it appears you are using the Tutorial from some such version). That has been moved to the Document menu (Document> View (Other Formats)) in 2.1.x. You should be able to choose PDF (pdflatex), e.g., off that menu. FYI, these questions are better suited to the lyx-users list. This list is for discussion of problems with the documentation itself. Which maybe there is some here, but the main issues seem to be using the program. * As it happens I'm using version 2.1 with Mac OS 9. But in the Mac OS 9 version of Version 2.1, the menu Document ◃ View (Other Formats) is empty. Please advise. Thanks, Barry Brent barrybr...@iphouse.com
Re: creating my first lyx doc
On Wed, 7 May 2014, Barry Brent wrote: I got through the first three bullet points, but not the fourth. (I’m using Mac OS 9.2.) In your pull- down menu “View” there is no sub-option also called “View”. But there *is* an option called “Toolbars” within which I found an option called “View/Update”. That’s as close as I could come to “View◃View”. Barry, I use linux, not OS X, but it should make no difference. I've never used the View menu to look at the compiled document. Instead, I use Ctrl-x p (with the emacs keyboard layout). You can get to the same place using Tools -> Preferences -> Editing -> Shortcuts -> Document/Window -> Buffer-View DVI. Assign they keys you want (such as what I use) to that function. The DVI viewer will pop up and display the document as it would be compiled to a pdf with, for example, File -> Export -> pdflatex. Welcome to the club, Rich -- Richard B. Shepard, Ph.D.| Technically sound and legally defensible Applied Ecosystem Services, Inc. | ... guaranteed. www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: creating my first lyx doc
On 05/07/2014 04:54 PM, Barry Brent wrote: As it happens I'm using version 2.1 with Mac OS 9. But in the Mac OS 9 version of Version 2.1, the menu Document ◃ View (Other Formats) is empty. Did you install MacTeX prior to installing LyX? If so, then you might try Reconfiguring LyX. I'm not sure where that is on the OSX menus. Here, it is at Tools> Reconfigure, but it might be elsewhere for you. (OSX has its own way of doing things.) Actually, it is very odd that the menu is completely empty. LyX has certain internal formats it can produce without external assistance, such as XHTML, so you should at least see that, even if LaTeX is not installed. Is that menu still empty if you check it when the Tutorial is open? It is possible there is some Python issue. This has been reported on some systems. I'm going to cc the OSX developers and see if they have any ideas. Richard
Re: Updated a .cls file
Forum, My university provides a .cls file that was last updated around 1998. I found a more up to date .cls file (2011) from another department. When I replace the old .cls file with the new one my document will no longer compile. It has something to do with the ERT at the beginning of the document. To me the error hints that something has been misspelled but I cannot find a spelling error and what it is pointing to is spelled the same in both .cls files. I’m including a link to a .zip file of an example with the new .cls file so you can see the error it produces and also the old .cls file in an appropriately named folder in case it is of any help. -Steve https://docs.google.com/uc?id=0B4Kdj1kZwg6GNkRTMnJDWjVPVkE=download
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
Yes, I was just about to add that. Thanks for the redirection. I am aware it is quite likely the problem is more "user error" and not an actual problem in the packages or in LyX. I have done what I can to refer to the manuals and previous posts, but hadn't found anything about this situation in particular. I posted here first since my suspicion was that I wasn't asking LyX properly to do what I wanted. I've had problems before with the fact that LyX sets up babel and hyperref before the preamble kicks in. Also, in the end my goal(hope) is to have all these work in LyX with the actual document I am trying to produce, even if it is possible to get the packages to work together in TeX. At ths point my best guess is the problem is with how I am using unicode... On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshakwrote: On Wed, May 7, 2014 at 10:56 AM, Richard Heck wrote: This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. For archival purposes, he posted here: http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly Scott
Re: converting from LyX 2.0 to 2.1
Here you go: This is what happens with system python (2.7.5): hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx > Optimal_Software_Design_converted.lyx Traceback (most recent call last): File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 24, in import LyX File "/usr/share/lyx/lyx2lyx/LyX.py", line 26, in import gzip File "/usr/local/lib/python2.7/gzip.py", line 9, in import zlib ImportError: No module named zlib This is what happens with python 3 (3.3.2): hmedal@ws113-16:~$ python3 -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx > Optimal_Software_Design_converted.lyx Traceback (most recent call last): File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 24, in import LyX File "/usr/share/lyx/lyx2lyx/LyX.py", line 23, in from parser_tools import get_value, check_token, find_token, \ File "/usr/share/lyx/lyx2lyx/parser_tools.py", line 152 ''' SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 1492-1493: truncated \u escape On Wed, May 7, 2014 at 1:55 AM, Jürgen Spitzmüllerwrote: > 2014-05-06 3:44 GMT+02:00 Hugh Medal: > >> If I need to I can just move to Fedora 20 (I am currently using 19). Just >> let >> me know if I should do that. >> > > Try to run the lyx2lyx converter manually on your file in a console. What > happens? (the following command should be all in one line) > > python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_ > > Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx > > Optimal_ > > Software_Design_converted.lyx > Jürgen > > -- *Hugh Medal* Assistant Professor Industrial and Systems Engineering Mississippi State University Office: 260K McCain Office: 662-325-3923 Email: hmedal@i se.msstate.edu Website: hm568.ise.msstate.edu Office hours: http://hughmedal.youcanbook.me
Re: blindtext, unicode-math, and babel won't play nice because of setmathfont
On 05/07/2014 09:28 PM, asllearner wrote: Yes, I was just about to add that. Thanks for the redirection. I am aware it is quite likely the problem is more "user error" and not an actual problem in the packages or in LyX. I have done what I can to refer to the manuals and previous posts, but hadn't found anything about this situation in particular. I posted here first since my suspicion was that I wasn't asking LyX properly to do what I wanted. I've had problems before with the fact that LyX sets up babel and hyperref before the preamble kicks in. Also, in the end my goal(hope) is to have all these work in LyX with the actual document I am trying to produce, even if it is possible to get the packages to work together in TeX. At ths point my best guess is the problem is with how I am using unicode... It's possible. Posting a "minimal example" will help people help you. Richard On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshakwrote: On Wed, May 7, 2014 at 10:56 AM, Richard Heck wrote: This really looks like a LaTeX question, not a LyX question. Try some LaTeX forum, or comp.text.tex. For archival purposes, he posted here: http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly Scott
Re: Beamer in Lyx 2.1.0
Dear Jürgen, there is no need for irony on your comments. Everybody is doing an honest effort to work with the "new" Beamer environment. You have quoted the behavior of other environments as the reference for the "Frame" environment. If I am in a, for example, "Problem" environment and I want to get out of it into the standard environment, all I have to do is issue a couple of returns. This behavior is nowhere to be found in the "Frame" environment, as I can issue as many returns as I wish and the UI will accept them. This is, at least IMHO, a first in Lyx. As for the behavior after getting out of the frame title, what Neal was explaining is related to the previous paragraph. After issuing return outside of the frame title, another return should get you to the standard environment. Then issuing a tab would indent this standard environment into the "Frame" environment and you can keep working. This is the behavior I was expecting from my experience with Lyx and all sorts of environments. In this moment, you can issue as many returns as you wish and Lyx would keep adding empty white lines of a "Frame" environment. This behavior is not only annoying and useless, to say the least, but also is nowhere to be found in other environments. I hope that you understand our concerns. Regards. - Julio Rojas jcredbe...@gmail.com On Wed, May 7, 2014 at 11:46 AM, Jürgen Spitzmüllerwrote: > 2014-05-07 17:41 GMT+02:00 Neal Becker : > > Which brings up another question. Alt-A return? How could I have >> discovered this? >> > > Reading the beamer manual perhaps? Also, the shortcut is displayed in the > respective menu (Edit). And it is also documented generally in the LyX > manuals. > > Jürgen >
Re: converting from LyX 2.0 to 2.1
On 05/07/2014 09:54 PM, Hugh Medal wrote: Here you go: This is what happens with system python (2.7.5): hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx > Optimal_Software_Design_converted.lyx Traceback (most recent call last): File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 24, in import LyX File "/usr/share/lyx/lyx2lyx/LyX.py", line 26, in import gzip File "/usr/local/lib/python2.7/gzip.py", line 9, in import zlib ImportError: No module named zlib There is something wrong with your python installation if zlib is not found. This is what happens with python 3 (3.3.2): Python 3 is known not to work with LyX. You may have some kind of conflict. Richard