Re: No printing of any files
On 21 Nov 2010, Uwe Stöhr wrote: Am 21.11.2010 15:37, schrieb Anthony Campbell: When I try to print any file I get the message: Check that your printer is set up correctly. I have my printer set as Kyocera. LyX's printing is not a real printing. LyX will create a postscript file and try to send this to a printer. This mechanism does for example not work on Windows. So to print your document, export it as PDF (pdflatex) and open the resulting PDF with a program of your choice and use its printing menu to print the PDF. regards Uwe Thanks - yes, that is what I am doing. Cheers, Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
Re: No printing of any files
On 22 Nov 2010, Enrico Forestieri wrote: Anthony Campbell writes: Can someone kindly point to where this printing issue is documented? http://wiki.lyx.org/Windows/LyXWinTips#printing -- Enrico Already found that, but I'm not using Windows. -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
RE: Troubleshooting Windows Installation unable to find textclass file - Win XP, Lyx 1.6.7
That means that your installation got broken. This can be repaired, but as LyX 1.6.8 is already available, I recommend to - uninstall LyX 1.6.7 _completely_ - install LyX 1.6.8 using the alternative installer (for the standard 1.6.8 installer problems were reported today) -- Uninstall / Alt-Install Done: when I start Lyx now I get an CMD box for less than a sec. with a similar error message: WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden:'%WINDOWS\\system32\\cmd.exe /c latex \\nonstopmode\\input{c:/dokume\\string~1/tommy /lokale\\string~1/temp/tmpjq8pb0.ltx}' Lyx: Done! Wired, obviously cmd.exe exists in windows/system32/ and MikTex 2.9 was installed, too. Any ideas? Thanks, Tom
Re: Greek+English documents show English words with Greek letters
On 2010-11-22, Nikos Chantziaras wrote: (This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the Babel package with XeTeX for Greek documents, as this would select a traditional LaTeX font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in ToolsPreferencesLanguage. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Alternative --- I attach a file that provides Latin in Greek with the stable LyX 1.6 series and pdflatex. USAGE Either insert its content or \input{UniGreek.tex} in the DocumentSettingsLaTeX-preamble (for the second option, the file must reside in the working dir or the TEXPATH). Use this together with the languages Greek or Greek (polytonic) and the ASCII output encoding in DocumentSettingsLanguage. Converting this file into a LyX-Module is left as an exercise to the reader. Günter
Re: LyX without menu in Ubuntu Netbook 10.10
2010/11/19 Waluyo Adi Siswanto was.u...@gmail.com: It works by using this command (from the terminal) QT_X11_NO_NATIVE_MENUBAR=1 lyx Perhaps, for those using Ubuntu Netbook and have the same problem; a) Create a file lyx_command.sh #!/bin/sh QT_X11_NO_NATIVE_MENUBAR=1 lyx b) Change permission to Allow executing file as program c) Replace the previous lyx command (lyx %f) by browsing to lyx_command.sh Now clicking LyX menu under applications - office, can see LyX with normal menus. Proper script is that: #!/usr/bin/env sh QT_X11_NO_NATIVE_MENUBAR=1 lyx $@ Such version allows passing of invocation arguments. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
Hello On Sun, Nov 21, 2010 at 11:45 PM, Uwe Stöhr uwesto...@web.de wrote: Use one of the AMS negated relations available in the math toolbar. That are almost all relations one could need. Good to know. See attached example. This file doesn't ope with LyX 1.6.x. If you are not testing LyX for bugs or development, lease use the stable LyX 1.6.x releases! I'm dully reading the warning on each SVN checkout. :) But I've been using 2.0 SVN (at least beginning with alphas, but possibly even before that) in production mode, if what I do can be called so, without much more than a hitch here and there. My personal experience is that trunk is rock stable (anyone reading this, check first the entire list of bugs tagged 'milestone 2.0.0'!!), but for the compilation process where I regularly get crashes. (I think the latter are somehow related to the Sweave module, but I should run a couple of debugs when I get some time for myself.) If you regularly save before hitting the preview button---which I do!---you're ready to go. This is meant as praise to all the devels for their work on 2.0 ;) This won't work because \not is not designed to strike-out characters but to negate relations. But anyway, the syntax you are using in your formula seems to be wrong. If you want to state that a variable is negated, you need to place a \neg if front of it. See the attached example file. Unfortunately my students would probably not much appreciate such finesse, so I'm not yet sure how to handle this. Another issue: you write Var_1 where Var is italic. This would mean V*a*r_1 but I guess that your variable is named Var. So to avoid confusions, write Var upright. (Appendix A of the Math manual gives some advices about math typography.) Thanks for the info. I should take a look at the manual one of these days. Best regards Liviu regards Uwe -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Troubleshooting Windows Installation unable to find textclass file - Win XP, Lyx 1.6.7
2010/11/22 Thomas Vandieken thomas.vandie...@gmail.com: That means that your installation got broken. This can be repaired, but as LyX 1.6.8 is already available, I recommend to - uninstall LyX 1.6.7 _completely_ - install LyX 1.6.8 using the alternative installer (for the standard 1.6.8 installer problems were reported today) -- Uninstall / Alt-Install Done: when I start Lyx now I get an CMD box for less than a sec. with a similar error message: WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden:'%WINDOWS\\system32\\cmd.exe /c latex \\nonstopmode\\input{c:/dokume\\string~1/tommy /lokale\\string~1/temp/tmpjq8pb0.ltx}' Lyx: Done! This should be: %WINDOWS%\\system32\\cmd.exe not %WINDOWS\\system32\\cmd.exe -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: Updating a language for the LaTeX program listings package?
On 11/22/2010 01:07 AM, Robert J Berger wrote: I understand I need to update the lstdrvrs.dtx of the listings package to add a new language. What I'm not clear about is, once I update the listings package, how do I get it into LyX (on a Macintosh using LyX-2.0 beta) You don't need to get it into LyX, but into the right place in your TeX installation. Once you have modified lstdrvrs.dtx, then you run: latex listings.ins and this should take care of everything for you. You may need sudo, though. Richard
Re: Custom character entities
On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote: LyX has several means of defining customized markup: custom insets, paragraph and character styles. However I can not figure out how to define custom character entities like build-in Ellipsis. Am I missing something? No, there is no provision for this. If some character you need is missing, report it as a bug to the devel list. Adding it is easy, but it has to be done in the source. Richard
An old issue with LyX
Dear LyX developers, Today I would like to bring your attention to a very old issue with LyX (Forgive me if it has already been reported). It happens to me, in every version of LyX, that any changes I make to the preferences make the automatic math toolbar and panel disappear. After that, it does not work even if I undo the changes in preferences. Even uninstalling and reinstalling does not work unless I remove LyX from registry. Why is the automatic math toolbar and panel so sensitive to prefences. Hopefully, this issue is fixed in the next versions. Best, Mukhtar
Re: LyX without menu in Ubuntu Netbook 10.10
Proper script is that: #!/usr/bin/env sh QT_X11_NO_NATIVE_MENUBAR=1 lyx $@ Such version allows passing of invocation arguments. Oh.. yes, that's correct. Running LyX from the menu using the previous script, creates another problem. Double clicking lyx document will not be successful. I have corrected the script in my netbook, thank you. Regards waluyo
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
Liviu Andronic wrote: called so, without much more than a hitch here and there. My personal experience is that trunk is rock stable (anyone reading this, check first the entire list of bugs tagged 'milestone 2.0.0'!!), but for the compilation process where I regularly get crashes. care to produce recipies or at least backtraces? they are not going to be fixed unless somebody reports them... as for the 'rock' stability, i have different feeling from the current trunk unfortunately. pavel
Re: Custom character entities
Richard Heck wrote Monday, November 22, 2010, 21:31:38: RH On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote: LyX has several means of defining customized markup: custom insets, paragraph and character styles. However I can not figure out how to define custom character entities like build-in Ellipsis. Am I missing something? RH No, there is no provision for this. If some RH character you need is missing, report it as a RH bug to the devel list. Adding it is easy, but RH it has to be done in the source. I meant user customization by means of inclusion in layouts and modules. This can be used for logotypes, special babel commands, etc. One can not hard code any special symbol in advance.
Re: Updating a language for the LaTeX program listings package?
Would anyone happen to know where the listings.* files are located in MacTeX? I used spotlight and also looked in the app bundle but couldn't find it... Thanks! On Nov 22, 2010, at 7:29 AM, Richard Heck wrote: On 11/22/2010 01:07 AM, Robert J Berger wrote: I understand I need to update the lstdrvrs.dtx of the listings package to add a new language. What I'm not clear about is, once I update the listings package, how do I get it into LyX (on a Macintosh using LyX-2.0 beta) You don't need to get it into LyX, but into the right place in your TeX installation. Once you have modified lstdrvrs.dtx, then you run: latex listings.ins and this should take care of everything for you. You may need sudo, though. Richard __ Robert J Berger Internet Bandwidth Development 15550 Wildcat Ridge, Saratoga, CA 95070 +1 408-838-8896 http://blog.ibd.com
Re: Custom character entities
On 11/22/2010 12:25 PM, Alexander Tsyplakov wrote: Richard Heck wrote Monday, November 22, 2010, 21:31:38: RH On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote: LyX has several means of defining customized markup: custom insets, paragraph and character styles. However I can not figure out how to define custom character entities like build-in Ellipsis. Am I missing something? RH No, there is no provision for this. If some RH character you need is missing, report it as a RH bug to the devel list. Adding it is easy, but RH it has to be done in the source. I meant user customization by means of inclusion in layouts and modules. This can be used for logotypes, special babel commands, etc. One can not hard code any special symbol in advance. If you want to add custom insets, paragraph or character styles, then the best way to do so is to create your own module that defines one or more of these, and then use it in the usual way. Instructions are in chapter 5 of the Customization manual. If what you want to add isn't one of these things, then, well, you can't do do that quite so easily. In fact, though, what I said earlier isn't quite true. You can give LyX the ability to recognize (and even display) new characters and such by adding them to the unicodesymbols file, which lives in the system directory, e.g.: /usr/local/share/lyx/ on Linux, by default. But there's no provision for doing this in modules. Richard
Re: Updating a language for the LaTeX program listings package?
On 11/22/2010 12:49 PM, Robert J Berger wrote: Would anyone happen to know where the listings.* files are located in MacTeX? I used spotlight and also looked in the app bundle but couldn't find it... Try: kpsewhich listings.sty That should tell you. Richard
Re: Updating a language for the LaTeX program listings package?
Am 22.11.2010 um 18:49 schrieb Robert J Berger: Would anyone happen to know where the listings.* files are located in MacTeX? I used spotlight and also looked in the app bundle but couldn't find it... Thanks! Here it's below /usr/local/texlive (I'm using MacTeX too). Stephan
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
On Mon, Nov 22, 2010 at 5:47 PM, Pavel Sanda sa...@lyx.org wrote: care to produce recipies or at least backtraces? they are not going to be fixed unless somebody reports them... Yes, I plan to do so. I tried with earlier alphas, but the traces weren't very informative. I have to study the steps necessary for debugging, and then I'll send something useful. As for a recipe, the crashes are not quite reproducible, but happen regularly. The most often case is when there is some problem in the Sweave code, and R halts execution and returns error. I'll take a look at this a bit later. Regards Liviu as for the 'rock' stability, i have different feeling from the current trunk unfortunately. pavel -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Custom character entities
On 2010-11-22, Richard Heck wrote: You can give LyX the ability to recognize (and even display) new characters and such by adding them to the unicodesymbols file, which lives in the system directory, e.g.: /usr/local/share/lyx/ on Linux, by default. As usual with LyX config files, it works also via copying to the local LYXDIR (~/.lyx/ on Linux) and modifying the copy. Günter
OT: LaTeX Help
So I can get something workable here, but not something good. Here's hoping What I want to do is typeset the following sort of thing: I want a gamma on top of a tilde on top of a delta, all the same (normal) size, and then to the right of that will be something like: f(x,y), and I want the tilde to sit about here the crosspiece is on the f, so the whole thing is kind of centered vertically on the line. Here's what I have: \raisebox{-0.5\baselineskip}{\ensuremath{\stackrel{\stackrel{{\textstyle \gamma}}{{\textstyle \sim}}}{\delta}}} Ugly, to be sure, and I'm worried the -0.5 will go wrong in some cases. Any other ideas? Richard Notation from Frege's Begriffsschrift, if anyone is wondering.
Re: Custom character entities
Richard Heck wrote Monday, November 22, 2010, 23:56:52: I meant user customization by means of inclusion in layouts and modules. This can be used for logotypes, special babel commands, etc. One can not hard code any special symbol in advance. RH If you want to add custom insets, paragraph or RH character styles, then the best way to do so RH is to create your own module that defines one RH or more of these, and then use it in the usual RH way. Instructions are in chapter 5 of the RH Customization manual. Well, I know, but single symbol is not the same as a markup for a piece of text. Custom inset is the most close thing to what I want, but it has contents which is unneeded and for a simple symbol. RH If what you want to add isn't one of these RH things, then, well, you can't do do that quite RH so easily. I see. The thing is very natural and useful while LyX already has much more complicated features. It is strange that LyX lacks it. That's why I asked. What is the best place for such a feature request? Devel list? RH In fact, though, what I said earlier isn't RH quite true. You can give LyX the ability to RH recognize (and even display) new characters RH and such by adding them to the unicodesymbols RH file, which lives in the system directory, RH e.g.: RH /usr/local/share/lyx/ RH on Linux, by default. But there's no provision RH for doing this in modules. Isn't it a bad idea to modify global files? Alexander
Re: Greek+English documents show English words with Greek letters
On 11/22/2010 01:43 PM, Guenter Milde wrote: On 2010-11-22, Nikos Chantziaras wrote: (This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the Babel package with XeTeX for Greek documents, as this would select a traditional LaTeX font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in ToolsPreferencesLanguage. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Thanks for the hints, but there's a problem. That way, the command: \usepackage{polyglossia} comes too late (after the user defined preamble commands) in the generated .tex file resulting in \setmainlanguage not being defined yet. One has to put the above line in the preamble, not in the LyX settings. Also, this is needed to in the preamble: \let\textgre...@undefined otherwise xelatex can't process the file: ! LaTeX Error: Command \textgreek already defined. (That one took me quite a bit of Googling to find out how to solve.) Another thing that became apparent after reading the pdf was that in Language settings it might be a good idea to change the default Command start and Command end fields to: \begin{$$lang} \end{$$lang} respectively. It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.)
Re: I just lost a footnote in a table
Hi Tim, Footnotes in floats are weird. Floats can migrate from page to page in an effort to balance the page layout. This causes their footnotes to get left behind (or cut out completely). Try placing the table inside a minipage (box) within the float. This will make sure that it stays on the same page. It will also use a different numbering scheme (a,b,c ... if using the standard classes) and not screw up your document footnote numbering. Cheers, Rob Oakes
Re: I just lost a footnote in a table
On 11/22/2010 11:56 AM, Rob Oakes wrote: Hi Tim, Footnotes in floats are weird. Floats can migrate from page to page in an effort to balance the page layout. This causes their footnotes to get left behind (or cut out completely). Try placing the table inside a minipage (box) within the float. This will make sure that it stays on the same page. It will also use a different numbering scheme (a,b,c ... if using the standard classes) and not screw up your document footnote numbering. Cheers, Rob Oakes Ah, perfect. That turns it into the 'table note' that I'm used to seeing, and could never coerce OpenOffice or Word into doing correctly (at least not without standing on my head). I could whine and say that should happen automagically, but I won't, because this is very fine. -- Tim Wescott Wescott Design Services Voice: 503-631-7815 Cell: 503-349-8432 http://www.wescottdesign.com
Re: Representing matrix dimensions
On Mon, Nov 22, 2010 at 12:08 PM, Tim Wescott t...@wescottdesign.com wrote: In speaking about the size of a matrix, I would normally say A is a p by q matrix. In shorthand, I may say A is a p x q matrix, where the 'x' is not the letter, but a cross raised slightly above the center line. The closest that I know to get this effect in Lyx would be to render it as a mathimatical expression, essentially saying p cross q. Is that the correct way to do this, or is there a specific typesetting standard for representing a p by q matrix? I'm not aware of the correct way to do this, but I personally use \times inside a math environment. I use that anytime I want a Cartesian product. I think the output looks the way it should using this method. So, you could say A \in p \times q, or A^p\times q, which is also used. Or am I just being lazy, and should I just spell it out: p by q. I like the cross better than saying by, so for me it's more of a preference than a matter of being lazy. Jacob
Re: Custom character entities
On 11/22/2010 02:44 PM, Alexander Tsyplakov wrote: RH In fact, though, what I said earlier isn't RH quite true. You can give LyX the ability to RH recognize (and even display) new characters RH and such by adding them to the unicodesymbols RH file, which lives in the system directory, RH e.g.: RH /usr/local/share/lyx/ RH on Linux, by default. But there's no provision RH for doing this in modules. Isn't it a bad idea to modify global files? As Gunter said, you can copy this file to your user directory and modify that. rh
Re: Representing matrix dimensions
On Mon, Nov 22, 2010 at 1:04 PM, Jacob Bishop bishop.ja...@gmail.comwrote: I'm not aware of the correct way to do this, but I personally use \times inside a math environment. I use that anytime I want a Cartesian product. I think the output looks the way it should using this method. So, you could say A \in p \times q, or A^p\times q, which is also used. Actually, A \in p\times q is not quite correct, it would be A \in R^p\times q or A \in C^p\times q. I hope you can decode what I mean. I've written it here how I would type it into a math environment. It would not paste correctly, though. Jacob
Re: Custom character entities
Richard Heck wrote Tuesday, November 23, 2010, 2:12:05: RH On 11/22/2010 02:44 PM, Alexander Tsyplakov wrote: RH In fact, though, what I said earlier isn't RH quite true. You can give LyX the ability to RH recognize (and even display) new characters RH and such by adding them to the unicodesymbols RH file, which lives in the system directory, RH e.g.: RH /usr/local/share/lyx/ RH on Linux, by default. But there's no provision RH for doing this in modules. Isn't it a bad idea to modify global files? RH As Gunter said, you can copy this file to RH your user directory and modify RH that. I see that the file is for unicode symbols only. So this cannot be used for something which is outside unicode table, can it? Alexander
Re: I just lost a footnote in a table
On Monday 22 November 2010 15:03:38 Tim Wescott wrote: Ah, perfect. That turns it into the 'table note' that I'm used to seeing, and could never coerce OpenOffice or Word into doing correctly (at least not without standing on my head). I could whine and say that should happen automagically, but I won't, because this is very fine. :-) I know how you feel Tim. When I began LyXing in 2001, LyX had no character styles. I learned this the hard way after I had finished outlining and was well into writing Troubleshooting Techniques of the Successful Technologist. This would have been a showstopper -- I would have had to drop LyX. As is my tradition, I griped on the list. Most list members told me just to use emph or noun or maybe a little ERT, which of course would go against my whole styles-based philosophy. I was ready to dump LyX and go back to MS Word when a list member named Dekl Tsur showed me a way that I could use colored text to represent a character style. So instead of having names, my character styles had colors. Here is his method: http://www.troubleshooters.com/linux/lyx/self_publish_lyx.htm#SimulatingCharacterStylesWithColorPseudostyles I happily used Dekl's pseudo-character-styles from late 2001 until March 2006, when version 1.4.0 came out with true character styles (see http://www.lyx.org/announce/1_4_0.txt). I was ecstatic when 1.4.0 came out with true character styles and have used them ever since. So when you say I could whine and say that should happen automagically, but I won't, because this is very fine, I know EXACTLY what you mean. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
remapping the en dash
To get an en dash, we used to type --. But in the age of XeTeX etc, I'd rather input – that would show up in LyX and in the output. Is there an easier way to do this under Windows than Alt+0150 ? Thanks, Eran
Insert program listing: all code ends up on one line
I'm on LyX 2.0 beta1. I wanted to include a *.c file in my document. There doesn't seem to be a way to do that, so I just copypasted the C code inside a program listing box (Insert-Program Listing). However, copypasting results in all code being put in one line. For example, this: steps = 0; while (1. + atom_d 1.) { atom_d /= 2.; ++steps; } ends up as: steps = 0; while (1. + atom_d 1.) { atom_d /= 2.; ++steps;} in LyX (and in the rendered PDF.) So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file?
Re: Insert program listing: all code ends up on one line
So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file? 1. Try Edit-Paste Special-Plain Text. 2. Try Insert-File-Child Document and select Include Type = Program Listing. Vincent
Re: Insert program listing: all code ends up on one line
On 11/23/2010 12:59 AM, Vincent van Ravesteijn wrote: So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file? 1. Try Edit-Paste Special-Plain Text. 2. Try Insert-File-Child Document and select Include Type = Program Listing. Thank you. Both methods work. I think a special paste should not be needed here, given that the only thing one would paste inside a Program Listing box is source code.
Re: Custom character entities
On 11/22/2010 03:23 PM, Alexander Tsyplakov wrote: Richard Heck wrote Tuesday, November 23, 2010, 2:12:05: RH On 11/22/2010 02:44 PM, Alexander Tsyplakov wrote: RH In fact, though, what I said earlier isn't RH quite true. You can give LyX the ability to RH recognize (and even display) new characters RH and such by adding them to the unicodesymbols RH file, which lives in the system directory, RH e.g.: RH/usr/local/share/lyx/ RH on Linux, by default. But there's no provision RH for doing this in modules. Isn't it a bad idea to modify global files? RH As Gunter said, you can copy this file to RH your user directory and modify RH that. I see that the file is for unicode symbols only. So this cannot be used for something which is outside unicode table, can it? There are such things? Anyway, I'm not expert on any of this. I don't know e.g. how one might be able to get LyX to recognize customized glyphs such as in this package: http://www.ctan.org/tex-archive/fonts/fge/ But there are LyX folks who do know a lot more about this, and maybe it is worth a post on lyx-devel, with a very specific question. Richard
Re: remapping the en dash
On 11/22/2010 04:23 PM, Eran Kaplinsky wrote: To get an en dash, we used to type --. But in the age of XeTeX etc, I'd rather input – that would show up in LyX and in the output. Is there an easier way to do this under Windows than Alt+0150 ? Does the dash get handled correctly under line breaks? Worries about this are one reason we haven't started outputting the en-dash instead of just --. Richard
Re: Insert program listing: all code ends up on one line
On Tue, 23 Nov 2010 00:53:41 +0200, Nikos Chantziaras rea...@arcor.de wrote: I'm on LyX 2.0 beta1. I wanted to include a *.c file in my document. There doesn't seem to be a way to do that, so I just copypasted the C code inside a program listing box (Insert-Program Listing). However, copypasting results in all code being put in one line. For example, this: steps = 0; while (1. + atom_d 1.) { atom_d /= 2.; ++steps; } ends up as: steps = 0;while (1. + atom_d 1.) { atom_d /= 2.; ++steps;} in LyX (and in the rendered PDF.) So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file? After you do Ctrl + c place your cursor where you want to paste and do Shift + Ctrl + v but that might not work for you? I can't test it just now. HTH Charlie
Re: I just lost a footnote in a table
- Original Message From: Steve Litt sl...@troubleshooters.com To: lyx-users@lists.lyx.org Sent: Mon, 22 November, 2010 21:18:48 Subject: Re: I just lost a footnote in a table On Monday 22 November 2010 15:03:38 Tim Wescott wrote: (The following quotes are in reverse order to the original email, since that's the order I want to reply in.) I happily used Dekl's pseudo-character-styles from late 2001 until March 2006, when version 1.4.0 came out with true character styles (see http://www.lyx.org/announce/1_4_0.txt). I was ecstatic when 1.4.0 came out with true character styles and have used them ever since. Wow, that is _so useful_! I really wish I knew about character styles when I wrote my MSc project in LyX last year; there was a certain type of label that I'd finger painted with underline, and at the last minute changed my mind and switched them all to bold. This wouldn't have been so bad, except that I needed an ERT pre/postfix to get the maths in each label bold as well ({\boldmath and }). I was ready to dump LyX and go back to MS Word when a list member named Dekl Tsur showed me a way that I could use colored text to represent a character style. So instead of having names, my character styles had colors. Here is his method: http://www.troubleshooters.com/linux/lyx/self_publish_lyx.htm#SimulatingCharacterStylesWithColorPseudostyles s That is a dirty, nasty hack... and I love it! Even this would have been good enough for what I needed in my MSc project. Oh well, thanks for sharing. I'm sure the character styles knowledge will still save me plenty of time in future! Jim
Re: remapping the en dash
Richard, what do you mean by handled correctly under line breaks? Thanks, Eran Does the dash get handled correctly under line breaks? Worries about this are one reason we haven't started outputting the en-dash instead of just --. Richard
Re: Insert program listing: all code ends up on one line
- Original Message From: Vincent van Ravesteijn v...@lyx.org To: Nikos Chantziaras rea...@arcor.de Cc: lyx-users@lists.lyx.org Sent: Mon, 22 November, 2010 22:59:39 Subject: Re: Insert program listing: all code ends up on one line So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file? 1. Try Edit-Paste Special-Plain Text. 2. Try Insert-File-Child Document and select Include Type = Program Listing. Vincent I've also noticed in the past that pasting plain text swallows line breaks (although I've not realised in the past that I can paste special to avoid it, thanks for the tip). Perhaps this makes sense on Linux, even Mac, where people sometimes copy from console windows, but on Windows this just breaks 99% of non-LyX pastes. Maybe LyX could be changed, at least on Windows, to not join lines by default? I notice there is an explicit option in Paste Special to join lines, so that wouldn't be completely lost? Jim
Re: OT: LaTeX Help
- Original Message From: Richard Heck rgh...@comcast.net To: lyx-users lyx-users@lists.lyx.org Sent: Mon, 22 November, 2010 19:10:28 Subject: OT: LaTeX Help What I want to do is typeset the following sort of thing: I want a gamma on top of a tilde on top of a delta, all the same (normal) size, and then to the right of that will be something like: f(x,y), and I want the tilde to sit about here the crosspiece is on the f, so the whole thing is kind of centered vertically on the line. Best I can think of is a zero width mbox containing a 1x2 matrix with the gamma and delta overlaid with a zero width mbox containing the sim. The spacing is very tight, but could be loosened by inserting a \hphantom and a big symbol of your choice in each of the matrix cells. basic version: \makebox[0pt][c]{\begin{array}{c} \gamma\\ \delta\end{array}} \makebox[0pt][c]{\sim} Here's a version with a \sum vphantom (displayed, in case used inline) in each cell, and some horizontal space too. Quite a beast! \enskip\makebox[0pt][c]{\begin{array}{c} \vphantom{{\displaystyle \sum}}\gamma\\ \vphantom{{\displaystyle \sum}}\delta\end{array}}\makebox[0pt][c]{\sim}\enskip Jim
Re: No printing of any files
On 21 Nov 2010, Uwe Stöhr wrote: Am 21.11.2010 15:37, schrieb Anthony Campbell: When I try to print any file I get the message: Check that your printer is set up correctly. I have my printer set as Kyocera. LyX's printing is not a real printing. LyX will create a postscript file and try to send this to a printer. This mechanism does for example not work on Windows. So to print your document, export it as PDF (pdflatex) and open the resulting PDF with a program of your choice and use its printing menu to print the PDF. regards Uwe Thanks - yes, that is what I am doing. Cheers, Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
Re: No printing of any files
On 22 Nov 2010, Enrico Forestieri wrote: Anthony Campbell writes: Can someone kindly point to where this printing issue is documented? http://wiki.lyx.org/Windows/LyXWinTips#printing -- Enrico Already found that, but I'm not using Windows. -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
RE: Troubleshooting Windows Installation unable to find textclass file - Win XP, Lyx 1.6.7
That means that your installation got broken. This can be repaired, but as LyX 1.6.8 is already available, I recommend to - uninstall LyX 1.6.7 _completely_ - install LyX 1.6.8 using the alternative installer (for the standard 1.6.8 installer problems were reported today) -- Uninstall / Alt-Install Done: when I start Lyx now I get an CMD box for less than a sec. with a similar error message: WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden:'%WINDOWS\\system32\\cmd.exe /c latex \\nonstopmode\\input{c:/dokume\\string~1/tommy /lokale\\string~1/temp/tmpjq8pb0.ltx}' Lyx: Done! Wired, obviously cmd.exe exists in windows/system32/ and MikTex 2.9 was installed, too. Any ideas? Thanks, Tom
Re: Greek+English documents show English words with Greek letters
On 2010-11-22, Nikos Chantziaras wrote: (This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the Babel package with XeTeX for Greek documents, as this would select a traditional LaTeX font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in ToolsPreferencesLanguage. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Alternative --- I attach a file that provides Latin in Greek with the stable LyX 1.6 series and pdflatex. USAGE Either insert its content or \input{UniGreek.tex} in the DocumentSettingsLaTeX-preamble (for the second option, the file must reside in the working dir or the TEXPATH). Use this together with the languages Greek or Greek (polytonic) and the ASCII output encoding in DocumentSettingsLanguage. Converting this file into a LyX-Module is left as an exercise to the reader. Günter
Re: LyX without menu in Ubuntu Netbook 10.10
2010/11/19 Waluyo Adi Siswanto was.u...@gmail.com: It works by using this command (from the terminal) QT_X11_NO_NATIVE_MENUBAR=1 lyx Perhaps, for those using Ubuntu Netbook and have the same problem; a) Create a file lyx_command.sh #!/bin/sh QT_X11_NO_NATIVE_MENUBAR=1 lyx b) Change permission to Allow executing file as program c) Replace the previous lyx command (lyx %f) by browsing to lyx_command.sh Now clicking LyX menu under applications - office, can see LyX with normal menus. Proper script is that: #!/usr/bin/env sh QT_X11_NO_NATIVE_MENUBAR=1 lyx $@ Such version allows passing of invocation arguments. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
Hello On Sun, Nov 21, 2010 at 11:45 PM, Uwe Stöhr uwesto...@web.de wrote: Use one of the AMS negated relations available in the math toolbar. That are almost all relations one could need. Good to know. See attached example. This file doesn't ope with LyX 1.6.x. If you are not testing LyX for bugs or development, lease use the stable LyX 1.6.x releases! I'm dully reading the warning on each SVN checkout. :) But I've been using 2.0 SVN (at least beginning with alphas, but possibly even before that) in production mode, if what I do can be called so, without much more than a hitch here and there. My personal experience is that trunk is rock stable (anyone reading this, check first the entire list of bugs tagged 'milestone 2.0.0'!!), but for the compilation process where I regularly get crashes. (I think the latter are somehow related to the Sweave module, but I should run a couple of debugs when I get some time for myself.) If you regularly save before hitting the preview button---which I do!---you're ready to go. This is meant as praise to all the devels for their work on 2.0 ;) This won't work because \not is not designed to strike-out characters but to negate relations. But anyway, the syntax you are using in your formula seems to be wrong. If you want to state that a variable is negated, you need to place a \neg if front of it. See the attached example file. Unfortunately my students would probably not much appreciate such finesse, so I'm not yet sure how to handle this. Another issue: you write Var_1 where Var is italic. This would mean V*a*r_1 but I guess that your variable is named Var. So to avoid confusions, write Var upright. (Appendix A of the Math manual gives some advices about math typography.) Thanks for the info. I should take a look at the manual one of these days. Best regards Liviu regards Uwe -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Troubleshooting Windows Installation unable to find textclass file - Win XP, Lyx 1.6.7
2010/11/22 Thomas Vandieken thomas.vandie...@gmail.com: That means that your installation got broken. This can be repaired, but as LyX 1.6.8 is already available, I recommend to - uninstall LyX 1.6.7 _completely_ - install LyX 1.6.8 using the alternative installer (for the standard 1.6.8 installer problems were reported today) -- Uninstall / Alt-Install Done: when I start Lyx now I get an CMD box for less than a sec. with a similar error message: WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden:'%WINDOWS\\system32\\cmd.exe /c latex \\nonstopmode\\input{c:/dokume\\string~1/tommy /lokale\\string~1/temp/tmpjq8pb0.ltx}' Lyx: Done! This should be: %WINDOWS%\\system32\\cmd.exe not %WINDOWS\\system32\\cmd.exe -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: Updating a language for the LaTeX program listings package?
On 11/22/2010 01:07 AM, Robert J Berger wrote: I understand I need to update the lstdrvrs.dtx of the listings package to add a new language. What I'm not clear about is, once I update the listings package, how do I get it into LyX (on a Macintosh using LyX-2.0 beta) You don't need to get it into LyX, but into the right place in your TeX installation. Once you have modified lstdrvrs.dtx, then you run: latex listings.ins and this should take care of everything for you. You may need sudo, though. Richard
Re: Custom character entities
On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote: LyX has several means of defining customized markup: custom insets, paragraph and character styles. However I can not figure out how to define custom character entities like build-in Ellipsis. Am I missing something? No, there is no provision for this. If some character you need is missing, report it as a bug to the devel list. Adding it is easy, but it has to be done in the source. Richard
An old issue with LyX
Dear LyX developers, Today I would like to bring your attention to a very old issue with LyX (Forgive me if it has already been reported). It happens to me, in every version of LyX, that any changes I make to the preferences make the automatic math toolbar and panel disappear. After that, it does not work even if I undo the changes in preferences. Even uninstalling and reinstalling does not work unless I remove LyX from registry. Why is the automatic math toolbar and panel so sensitive to prefences. Hopefully, this issue is fixed in the next versions. Best, Mukhtar
Re: LyX without menu in Ubuntu Netbook 10.10
Proper script is that: #!/usr/bin/env sh QT_X11_NO_NATIVE_MENUBAR=1 lyx $@ Such version allows passing of invocation arguments. Oh.. yes, that's correct. Running LyX from the menu using the previous script, creates another problem. Double clicking lyx document will not be successful. I have corrected the script in my netbook, thank you. Regards waluyo
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
Liviu Andronic wrote: called so, without much more than a hitch here and there. My personal experience is that trunk is rock stable (anyone reading this, check first the entire list of bugs tagged 'milestone 2.0.0'!!), but for the compilation process where I regularly get crashes. care to produce recipies or at least backtraces? they are not going to be fixed unless somebody reports them... as for the 'rock' stability, i have different feeling from the current trunk unfortunately. pavel
Re: Custom character entities
Richard Heck wrote Monday, November 22, 2010, 21:31:38: RH On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote: LyX has several means of defining customized markup: custom insets, paragraph and character styles. However I can not figure out how to define custom character entities like build-in Ellipsis. Am I missing something? RH No, there is no provision for this. If some RH character you need is missing, report it as a RH bug to the devel list. Adding it is easy, but RH it has to be done in the source. I meant user customization by means of inclusion in layouts and modules. This can be used for logotypes, special babel commands, etc. One can not hard code any special symbol in advance.
Re: Updating a language for the LaTeX program listings package?
Would anyone happen to know where the listings.* files are located in MacTeX? I used spotlight and also looked in the app bundle but couldn't find it... Thanks! On Nov 22, 2010, at 7:29 AM, Richard Heck wrote: On 11/22/2010 01:07 AM, Robert J Berger wrote: I understand I need to update the lstdrvrs.dtx of the listings package to add a new language. What I'm not clear about is, once I update the listings package, how do I get it into LyX (on a Macintosh using LyX-2.0 beta) You don't need to get it into LyX, but into the right place in your TeX installation. Once you have modified lstdrvrs.dtx, then you run: latex listings.ins and this should take care of everything for you. You may need sudo, though. Richard __ Robert J Berger Internet Bandwidth Development 15550 Wildcat Ridge, Saratoga, CA 95070 +1 408-838-8896 http://blog.ibd.com
Re: Custom character entities
On 11/22/2010 12:25 PM, Alexander Tsyplakov wrote: Richard Heck wrote Monday, November 22, 2010, 21:31:38: RH On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote: LyX has several means of defining customized markup: custom insets, paragraph and character styles. However I can not figure out how to define custom character entities like build-in Ellipsis. Am I missing something? RH No, there is no provision for this. If some RH character you need is missing, report it as a RH bug to the devel list. Adding it is easy, but RH it has to be done in the source. I meant user customization by means of inclusion in layouts and modules. This can be used for logotypes, special babel commands, etc. One can not hard code any special symbol in advance. If you want to add custom insets, paragraph or character styles, then the best way to do so is to create your own module that defines one or more of these, and then use it in the usual way. Instructions are in chapter 5 of the Customization manual. If what you want to add isn't one of these things, then, well, you can't do do that quite so easily. In fact, though, what I said earlier isn't quite true. You can give LyX the ability to recognize (and even display) new characters and such by adding them to the unicodesymbols file, which lives in the system directory, e.g.: /usr/local/share/lyx/ on Linux, by default. But there's no provision for doing this in modules. Richard
Re: Updating a language for the LaTeX program listings package?
On 11/22/2010 12:49 PM, Robert J Berger wrote: Would anyone happen to know where the listings.* files are located in MacTeX? I used spotlight and also looked in the app bundle but couldn't find it... Try: kpsewhich listings.sty That should tell you. Richard
Re: Updating a language for the LaTeX program listings package?
Am 22.11.2010 um 18:49 schrieb Robert J Berger: Would anyone happen to know where the listings.* files are located in MacTeX? I used spotlight and also looked in the app bundle but couldn't find it... Thanks! Here it's below /usr/local/texlive (I'm using MacTeX too). Stephan
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
On Mon, Nov 22, 2010 at 5:47 PM, Pavel Sanda sa...@lyx.org wrote: care to produce recipies or at least backtraces? they are not going to be fixed unless somebody reports them... Yes, I plan to do so. I tried with earlier alphas, but the traces weren't very informative. I have to study the steps necessary for debugging, and then I'll send something useful. As for a recipe, the crashes are not quite reproducible, but happen regularly. The most often case is when there is some problem in the Sweave code, and R halts execution and returns error. I'll take a look at this a bit later. Regards Liviu as for the 'rock' stability, i have different feeling from the current trunk unfortunately. pavel -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Custom character entities
On 2010-11-22, Richard Heck wrote: You can give LyX the ability to recognize (and even display) new characters and such by adding them to the unicodesymbols file, which lives in the system directory, e.g.: /usr/local/share/lyx/ on Linux, by default. As usual with LyX config files, it works also via copying to the local LYXDIR (~/.lyx/ on Linux) and modifying the copy. Günter
OT: LaTeX Help
So I can get something workable here, but not something good. Here's hoping What I want to do is typeset the following sort of thing: I want a gamma on top of a tilde on top of a delta, all the same (normal) size, and then to the right of that will be something like: f(x,y), and I want the tilde to sit about here the crosspiece is on the f, so the whole thing is kind of centered vertically on the line. Here's what I have: \raisebox{-0.5\baselineskip}{\ensuremath{\stackrel{\stackrel{{\textstyle \gamma}}{{\textstyle \sim}}}{\delta}}} Ugly, to be sure, and I'm worried the -0.5 will go wrong in some cases. Any other ideas? Richard Notation from Frege's Begriffsschrift, if anyone is wondering.
Re: Custom character entities
Richard Heck wrote Monday, November 22, 2010, 23:56:52: I meant user customization by means of inclusion in layouts and modules. This can be used for logotypes, special babel commands, etc. One can not hard code any special symbol in advance. RH If you want to add custom insets, paragraph or RH character styles, then the best way to do so RH is to create your own module that defines one RH or more of these, and then use it in the usual RH way. Instructions are in chapter 5 of the RH Customization manual. Well, I know, but single symbol is not the same as a markup for a piece of text. Custom inset is the most close thing to what I want, but it has contents which is unneeded and for a simple symbol. RH If what you want to add isn't one of these RH things, then, well, you can't do do that quite RH so easily. I see. The thing is very natural and useful while LyX already has much more complicated features. It is strange that LyX lacks it. That's why I asked. What is the best place for such a feature request? Devel list? RH In fact, though, what I said earlier isn't RH quite true. You can give LyX the ability to RH recognize (and even display) new characters RH and such by adding them to the unicodesymbols RH file, which lives in the system directory, RH e.g.: RH /usr/local/share/lyx/ RH on Linux, by default. But there's no provision RH for doing this in modules. Isn't it a bad idea to modify global files? Alexander
Re: Greek+English documents show English words with Greek letters
On 11/22/2010 01:43 PM, Guenter Milde wrote: On 2010-11-22, Nikos Chantziaras wrote: (This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the Babel package with XeTeX for Greek documents, as this would select a traditional LaTeX font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in ToolsPreferencesLanguage. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Thanks for the hints, but there's a problem. That way, the command: \usepackage{polyglossia} comes too late (after the user defined preamble commands) in the generated .tex file resulting in \setmainlanguage not being defined yet. One has to put the above line in the preamble, not in the LyX settings. Also, this is needed to in the preamble: \let\textgre...@undefined otherwise xelatex can't process the file: ! LaTeX Error: Command \textgreek already defined. (That one took me quite a bit of Googling to find out how to solve.) Another thing that became apparent after reading the pdf was that in Language settings it might be a good idea to change the default Command start and Command end fields to: \begin{$$lang} \end{$$lang} respectively. It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.)
Re: I just lost a footnote in a table
Hi Tim, Footnotes in floats are weird. Floats can migrate from page to page in an effort to balance the page layout. This causes their footnotes to get left behind (or cut out completely). Try placing the table inside a minipage (box) within the float. This will make sure that it stays on the same page. It will also use a different numbering scheme (a,b,c ... if using the standard classes) and not screw up your document footnote numbering. Cheers, Rob Oakes
Re: I just lost a footnote in a table
On 11/22/2010 11:56 AM, Rob Oakes wrote: Hi Tim, Footnotes in floats are weird. Floats can migrate from page to page in an effort to balance the page layout. This causes their footnotes to get left behind (or cut out completely). Try placing the table inside a minipage (box) within the float. This will make sure that it stays on the same page. It will also use a different numbering scheme (a,b,c ... if using the standard classes) and not screw up your document footnote numbering. Cheers, Rob Oakes Ah, perfect. That turns it into the 'table note' that I'm used to seeing, and could never coerce OpenOffice or Word into doing correctly (at least not without standing on my head). I could whine and say that should happen automagically, but I won't, because this is very fine. -- Tim Wescott Wescott Design Services Voice: 503-631-7815 Cell: 503-349-8432 http://www.wescottdesign.com
Re: Representing matrix dimensions
On Mon, Nov 22, 2010 at 12:08 PM, Tim Wescott t...@wescottdesign.com wrote: In speaking about the size of a matrix, I would normally say A is a p by q matrix. In shorthand, I may say A is a p x q matrix, where the 'x' is not the letter, but a cross raised slightly above the center line. The closest that I know to get this effect in Lyx would be to render it as a mathimatical expression, essentially saying p cross q. Is that the correct way to do this, or is there a specific typesetting standard for representing a p by q matrix? I'm not aware of the correct way to do this, but I personally use \times inside a math environment. I use that anytime I want a Cartesian product. I think the output looks the way it should using this method. So, you could say A \in p \times q, or A^p\times q, which is also used. Or am I just being lazy, and should I just spell it out: p by q. I like the cross better than saying by, so for me it's more of a preference than a matter of being lazy. Jacob
Re: Custom character entities
On 11/22/2010 02:44 PM, Alexander Tsyplakov wrote: RH In fact, though, what I said earlier isn't RH quite true. You can give LyX the ability to RH recognize (and even display) new characters RH and such by adding them to the unicodesymbols RH file, which lives in the system directory, RH e.g.: RH /usr/local/share/lyx/ RH on Linux, by default. But there's no provision RH for doing this in modules. Isn't it a bad idea to modify global files? As Gunter said, you can copy this file to your user directory and modify that. rh
Re: Representing matrix dimensions
On Mon, Nov 22, 2010 at 1:04 PM, Jacob Bishop bishop.ja...@gmail.comwrote: I'm not aware of the correct way to do this, but I personally use \times inside a math environment. I use that anytime I want a Cartesian product. I think the output looks the way it should using this method. So, you could say A \in p \times q, or A^p\times q, which is also used. Actually, A \in p\times q is not quite correct, it would be A \in R^p\times q or A \in C^p\times q. I hope you can decode what I mean. I've written it here how I would type it into a math environment. It would not paste correctly, though. Jacob
Re: Custom character entities
Richard Heck wrote Tuesday, November 23, 2010, 2:12:05: RH On 11/22/2010 02:44 PM, Alexander Tsyplakov wrote: RH In fact, though, what I said earlier isn't RH quite true. You can give LyX the ability to RH recognize (and even display) new characters RH and such by adding them to the unicodesymbols RH file, which lives in the system directory, RH e.g.: RH /usr/local/share/lyx/ RH on Linux, by default. But there's no provision RH for doing this in modules. Isn't it a bad idea to modify global files? RH As Gunter said, you can copy this file to RH your user directory and modify RH that. I see that the file is for unicode symbols only. So this cannot be used for something which is outside unicode table, can it? Alexander
Re: I just lost a footnote in a table
On Monday 22 November 2010 15:03:38 Tim Wescott wrote: Ah, perfect. That turns it into the 'table note' that I'm used to seeing, and could never coerce OpenOffice or Word into doing correctly (at least not without standing on my head). I could whine and say that should happen automagically, but I won't, because this is very fine. :-) I know how you feel Tim. When I began LyXing in 2001, LyX had no character styles. I learned this the hard way after I had finished outlining and was well into writing Troubleshooting Techniques of the Successful Technologist. This would have been a showstopper -- I would have had to drop LyX. As is my tradition, I griped on the list. Most list members told me just to use emph or noun or maybe a little ERT, which of course would go against my whole styles-based philosophy. I was ready to dump LyX and go back to MS Word when a list member named Dekl Tsur showed me a way that I could use colored text to represent a character style. So instead of having names, my character styles had colors. Here is his method: http://www.troubleshooters.com/linux/lyx/self_publish_lyx.htm#SimulatingCharacterStylesWithColorPseudostyles I happily used Dekl's pseudo-character-styles from late 2001 until March 2006, when version 1.4.0 came out with true character styles (see http://www.lyx.org/announce/1_4_0.txt). I was ecstatic when 1.4.0 came out with true character styles and have used them ever since. So when you say I could whine and say that should happen automagically, but I won't, because this is very fine, I know EXACTLY what you mean. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
remapping the en dash
To get an en dash, we used to type --. But in the age of XeTeX etc, I'd rather input – that would show up in LyX and in the output. Is there an easier way to do this under Windows than Alt+0150 ? Thanks, Eran
Insert program listing: all code ends up on one line
I'm on LyX 2.0 beta1. I wanted to include a *.c file in my document. There doesn't seem to be a way to do that, so I just copypasted the C code inside a program listing box (Insert-Program Listing). However, copypasting results in all code being put in one line. For example, this: steps = 0; while (1. + atom_d 1.) { atom_d /= 2.; ++steps; } ends up as: steps = 0; while (1. + atom_d 1.) { atom_d /= 2.; ++steps;} in LyX (and in the rendered PDF.) So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file?
Re: Insert program listing: all code ends up on one line
So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file? 1. Try Edit-Paste Special-Plain Text. 2. Try Insert-File-Child Document and select Include Type = Program Listing. Vincent
Re: Insert program listing: all code ends up on one line
On 11/23/2010 12:59 AM, Vincent van Ravesteijn wrote: So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file? 1. Try Edit-Paste Special-Plain Text. 2. Try Insert-File-Child Document and select Include Type = Program Listing. Thank you. Both methods work. I think a special paste should not be needed here, given that the only thing one would paste inside a Program Listing box is source code.
Re: Custom character entities
On 11/22/2010 03:23 PM, Alexander Tsyplakov wrote: Richard Heck wrote Tuesday, November 23, 2010, 2:12:05: RH On 11/22/2010 02:44 PM, Alexander Tsyplakov wrote: RH In fact, though, what I said earlier isn't RH quite true. You can give LyX the ability to RH recognize (and even display) new characters RH and such by adding them to the unicodesymbols RH file, which lives in the system directory, RH e.g.: RH/usr/local/share/lyx/ RH on Linux, by default. But there's no provision RH for doing this in modules. Isn't it a bad idea to modify global files? RH As Gunter said, you can copy this file to RH your user directory and modify RH that. I see that the file is for unicode symbols only. So this cannot be used for something which is outside unicode table, can it? There are such things? Anyway, I'm not expert on any of this. I don't know e.g. how one might be able to get LyX to recognize customized glyphs such as in this package: http://www.ctan.org/tex-archive/fonts/fge/ But there are LyX folks who do know a lot more about this, and maybe it is worth a post on lyx-devel, with a very specific question. Richard
Re: remapping the en dash
On 11/22/2010 04:23 PM, Eran Kaplinsky wrote: To get an en dash, we used to type --. But in the age of XeTeX etc, I'd rather input – that would show up in LyX and in the output. Is there an easier way to do this under Windows than Alt+0150 ? Does the dash get handled correctly under line breaks? Worries about this are one reason we haven't started outputting the en-dash instead of just --. Richard
Re: Insert program listing: all code ends up on one line
On Tue, 23 Nov 2010 00:53:41 +0200, Nikos Chantziaras rea...@arcor.de wrote: I'm on LyX 2.0 beta1. I wanted to include a *.c file in my document. There doesn't seem to be a way to do that, so I just copypasted the C code inside a program listing box (Insert-Program Listing). However, copypasting results in all code being put in one line. For example, this: steps = 0; while (1. + atom_d 1.) { atom_d /= 2.; ++steps; } ends up as: steps = 0;while (1. + atom_d 1.) { atom_d /= 2.; ++steps;} in LyX (and in the rendered PDF.) So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file? After you do Ctrl + c place your cursor where you want to paste and do Shift + Ctrl + v but that might not work for you? I can't test it just now. HTH Charlie
Re: I just lost a footnote in a table
- Original Message From: Steve Litt sl...@troubleshooters.com To: lyx-users@lists.lyx.org Sent: Mon, 22 November, 2010 21:18:48 Subject: Re: I just lost a footnote in a table On Monday 22 November 2010 15:03:38 Tim Wescott wrote: (The following quotes are in reverse order to the original email, since that's the order I want to reply in.) I happily used Dekl's pseudo-character-styles from late 2001 until March 2006, when version 1.4.0 came out with true character styles (see http://www.lyx.org/announce/1_4_0.txt). I was ecstatic when 1.4.0 came out with true character styles and have used them ever since. Wow, that is _so useful_! I really wish I knew about character styles when I wrote my MSc project in LyX last year; there was a certain type of label that I'd finger painted with underline, and at the last minute changed my mind and switched them all to bold. This wouldn't have been so bad, except that I needed an ERT pre/postfix to get the maths in each label bold as well ({\boldmath and }). I was ready to dump LyX and go back to MS Word when a list member named Dekl Tsur showed me a way that I could use colored text to represent a character style. So instead of having names, my character styles had colors. Here is his method: http://www.troubleshooters.com/linux/lyx/self_publish_lyx.htm#SimulatingCharacterStylesWithColorPseudostyles s That is a dirty, nasty hack... and I love it! Even this would have been good enough for what I needed in my MSc project. Oh well, thanks for sharing. I'm sure the character styles knowledge will still save me plenty of time in future! Jim
Re: remapping the en dash
Richard, what do you mean by handled correctly under line breaks? Thanks, Eran Does the dash get handled correctly under line breaks? Worries about this are one reason we haven't started outputting the en-dash instead of just --. Richard
Re: Insert program listing: all code ends up on one line
- Original Message From: Vincent van Ravesteijn v...@lyx.org To: Nikos Chantziaras rea...@arcor.de Cc: lyx-users@lists.lyx.org Sent: Mon, 22 November, 2010 22:59:39 Subject: Re: Insert program listing: all code ends up on one line So I have two questions at this point: How do I copypaste correctly, and is there a way to not copypaste at all and use an external *.c file? 1. Try Edit-Paste Special-Plain Text. 2. Try Insert-File-Child Document and select Include Type = Program Listing. Vincent I've also noticed in the past that pasting plain text swallows line breaks (although I've not realised in the past that I can paste special to avoid it, thanks for the tip). Perhaps this makes sense on Linux, even Mac, where people sometimes copy from console windows, but on Windows this just breaks 99% of non-LyX pastes. Maybe LyX could be changed, at least on Windows, to not join lines by default? I notice there is an explicit option in Paste Special to join lines, so that wouldn't be completely lost? Jim
Re: OT: LaTeX Help
- Original Message From: Richard Heck rgh...@comcast.net To: lyx-users lyx-users@lists.lyx.org Sent: Mon, 22 November, 2010 19:10:28 Subject: OT: LaTeX Help What I want to do is typeset the following sort of thing: I want a gamma on top of a tilde on top of a delta, all the same (normal) size, and then to the right of that will be something like: f(x,y), and I want the tilde to sit about here the crosspiece is on the f, so the whole thing is kind of centered vertically on the line. Best I can think of is a zero width mbox containing a 1x2 matrix with the gamma and delta overlaid with a zero width mbox containing the sim. The spacing is very tight, but could be loosened by inserting a \hphantom and a big symbol of your choice in each of the matrix cells. basic version: \makebox[0pt][c]{\begin{array}{c} \gamma\\ \delta\end{array}} \makebox[0pt][c]{\sim} Here's a version with a \sum vphantom (displayed, in case used inline) in each cell, and some horizontal space too. Quite a beast! \enskip\makebox[0pt][c]{\begin{array}{c} \vphantom{{\displaystyle \sum}}\gamma\\ \vphantom{{\displaystyle \sum}}\delta\end{array}}\makebox[0pt][c]{\sim}\enskip Jim
Re: No printing of any files
On 21 Nov 2010, Uwe Stöhr wrote: > Am 21.11.2010 15:37, schrieb Anthony Campbell: > > >When I try to print any file I get the message: "Check that your printer > >is set up correctly." > > > >I have my printer set as Kyocera. > > LyX's printing is not a real printing. LyX will create a postscript > file and try to send this to a printer. This mechanism does for > example not work on Windows. > So to print your document, export it as PDF (pdflatex) and open the > resulting PDF with a program of your choice and use its printing > menu to print the PDF. > > regards Uwe Thanks - yes, that is what I am doing. Cheers, Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
Re: No printing of any files
On 22 Nov 2010, Enrico Forestieri wrote: > Anthony Campbell writes: > > Can someone kindly point to where this printing issue is documented? > > http://wiki.lyx.org/Windows/LyXWinTips#printing > > -- > Enrico Already found that, but I'm not using Windows. -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
RE: Troubleshooting Windows Installation "unable to find textclass file" - Win XP, Lyx 1.6.7
>That means that your installation got broken. This can be repaired, >but as >LyX 1.6.8 is already >available, I recommend to >- uninstall LyX 1.6.7 _completely_ >- install LyX 1.6.8 using the alternative installer (for the standard >1.6.8 >installer problems were reported today) --> Uninstall / Alt-Install Done: when I start Lyx now I get an CMD box for less than a sec. with a similar error message: "WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden:'%WINDOWS\\system32\\cmd.exe /c latex "\\nonstopmode\\input{c:/dokume\\string~1/tommy /lokale\\string~1/temp/tmpjq8pb0.ltx}"' Lyx: Done!" Wired, obviously cmd.exe exists in windows/system32/ and MikTex 2.9 was installed, too. Any ideas? Thanks, Tom
Re: Greek+English documents show English words with Greek letters
On 2010-11-22, Nikos Chantziaras wrote: > (This is probably grave-digging :P) > I left LyX (and TeX) alone since that thread. Recently I was asked to > create a paper in LaTeX and therefore looked at the LyX site again. I > saw that LyX 2.0 beta supports "XeTeX", which presumably does exactly > what I described in this thread! > So after all, thanks LyX devs! I just tried it out and indeed it works > like a charm after enabling XeTeX in the Document Settings. I can write > Latin and Greek characters at the same time without being driven insane > by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the "Babel" package with XeTeX for Greek documents, as this would select a "traditional LaTeX" font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in Tools>Preferences>Language. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Alternative --- I attach a file that provides "Latin in Greek" with the stable LyX 1.6 series and pdflatex. USAGE Either insert its content or \input{UniGreek.tex} in the Document>Settings>LaTeX-preamble (for the second option, the file must reside in the working dir or the TEXPATH). Use this together with the languages Greek or Greek (polytonic) and the ASCII output encoding in Document>Settings>Language. Converting this file into a LyX-Module is left as an exercise to the reader. Günter
Re: LyX without menu in Ubuntu Netbook 10.10
2010/11/19 Waluyo Adi Siswanto: >> It works by using this command (from the terminal) >> >> QT_X11_NO_NATIVE_MENUBAR=1 lyx >> > > Perhaps, for those using Ubuntu Netbook and have the same problem; > > a) Create a file lyx_command.sh > #!/bin/sh > QT_X11_NO_NATIVE_MENUBAR=1 lyx > b) Change permission to "Allow executing file as program" > c) Replace the previous lyx command (lyx %f) by browsing to lyx_command.sh > > Now clicking LyX menu under applications -> office, can see LyX with > normal menus. Proper script is that: #!/usr/bin/env sh QT_X11_NO_NATIVE_MENUBAR=1 lyx "$@" Such version allows passing of invocation arguments. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
Hello On Sun, Nov 21, 2010 at 11:45 PM, Uwe Stöhrwrote: > Use one of the AMS negated relations available in the math toolbar. That are > almost all relations one could need. > Good to know. >> See attached example. > > This file doesn't ope with LyX 1.6.x. If you are not testing LyX for bugs or > development, lease use the stable LyX 1.6.x releases! > I'm dully reading the warning on each SVN checkout. :) But I've been using 2.0 SVN (at least beginning with alphas, but possibly even before that) in production mode, if what I do can be called so, without much more than a hitch here and there. My personal experience is that trunk is rock stable (anyone reading this, check first the entire list of bugs tagged 'milestone 2.0.0'!!), but for the compilation process where I regularly get crashes. (I think the latter are somehow related to the Sweave module, but I should run a couple of debugs when I get some time for myself.) If you regularly save before hitting the preview button---which I do!---you're ready to go. This is meant as praise to all the devels for their work on 2.0 ;) > This won't work because \not is not designed to strike-out characters but to > negate relations. > But anyway, the syntax you are using in your formula seems to be wrong. If > you want to state that a variable is negated, you need to place a \neg if > front of it. See the attached example file. > Unfortunately my students would probably not much appreciate such finesse, so I'm not yet sure how to handle this. > Another issue: you write Var_1 where "Var" is italic. This would mean > V*a*r_1 but I guess that your variable is named "Var". So to avoid > confusions, write "Var" upright. > (Appendix A of the Math manual gives some advices about math typography.) > Thanks for the info. I should take a look at the manual one of these days. Best regards Liviu > regards Uwe > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Troubleshooting Windows Installation "unable to find textclass file" - Win XP, Lyx 1.6.7
2010/11/22 Thomas Vandieken: >>That means that your installation got broken. This can be repaired, >but as >>LyX 1.6.8 is already >>available, I recommend to > >>- uninstall LyX 1.6.7 _completely_ >>- install LyX 1.6.8 using the alternative installer (for the standard >1.6.8 >>installer problems were reported today) > > --> Uninstall / Alt-Install Done: when I start Lyx now I get an CMD box for > less than a sec. with a similar error message: > > "WindowsError: [Error 2] Das System kann die angegebene Datei nicht > finden:'%WINDOWS\\system32\\cmd.exe /c latex > "\\nonstopmode\\input{c:/dokume\\string~1/tommy > /lokale\\string~1/temp/tmpjq8pb0.ltx}"' > Lyx: Done!" This should be: %WINDOWS%\\system32\\cmd.exe not %WINDOWS\\system32\\cmd.exe -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: Updating a language for the LaTeX program listings package?
On 11/22/2010 01:07 AM, Robert J Berger wrote: I understand I need to update the lstdrvrs.dtx of the listings package to add a new language. What I'm not clear about is, once I update the listings package, how do I get it into LyX (on a Macintosh using LyX-2.0 beta) You don't need to get it into LyX, but into the right place in your TeX installation. Once you have modified lstdrvrs.dtx, then you run: latex listings.ins and this should take care of everything for you. You may need sudo, though. Richard
Re: Custom character entities
On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote: LyX has several means of defining customized markup: custom insets, paragraph and character styles. However I can not figure out how to define custom character entities like build-in "Ellipsis". Am I missing something? No, there is no provision for this. If some character you need is missing, report it as a bug to the devel list. Adding it is easy, but it has to be done in the source. Richard
An old issue with LyX
Dear LyX developers, Today I would like to bring your attention to a very old issue with LyX (Forgive me if it has already been reported). It happens to me, in every version of LyX, that any changes I make to the preferences make the automatic math toolbar and panel disappear. After that, it does not work even if I undo the changes in preferences. Even uninstalling and reinstalling does not work unless I remove LyX from registry. Why is the automatic math toolbar and panel so sensitive to prefences. Hopefully, this issue is fixed in the next versions. Best, Mukhtar
Re: LyX without menu in Ubuntu Netbook 10.10
> Proper script is that: > #!/usr/bin/env sh > QT_X11_NO_NATIVE_MENUBAR=1 lyx "$@" > > Such version allows passing of invocation arguments. Oh.. yes, that's correct. Running LyX from the menu using the previous script, creates another problem. Double clicking lyx document will not be successful. I have corrected the script in my netbook, thank you. Regards waluyo
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
Liviu Andronic wrote: > called so, without much more than a hitch here and there. My personal > experience is that trunk is rock stable (anyone reading this, check > first the entire list of bugs tagged 'milestone 2.0.0'!!), >but for the > compilation process where I regularly get crashes. care to produce recipies or at least backtraces? they are not going to be fixed unless somebody reports them... as for the 'rock' stability, i have different feeling from the current trunk unfortunately. pavel
Re: Custom character entities
Richard Heck wrote Monday, November 22, 2010, 21:31:38: RH> On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote: >> LyX has several means of defining customized >> markup: custom insets, paragraph and character >> styles. However I can not figure out how to define >> custom character entities like build-in >> "Ellipsis". Am I missing something? RH> No, there is no provision for this. If some RH> character you need is missing, report it as a RH> bug to the devel list. Adding it is easy, but RH> it has to be done in the source. I meant user customization by means of inclusion in layouts and modules. This can be used for logotypes, special babel commands, etc. One can not hard code any special symbol in advance.
Re: Updating a language for the LaTeX program listings package?
Would anyone happen to know where the listings.* files are located in MacTeX? I used spotlight and also looked in the app bundle but couldn't find it... Thanks! On Nov 22, 2010, at 7:29 AM, Richard Heck wrote: > On 11/22/2010 01:07 AM, Robert J Berger wrote: >> I understand I need to update the lstdrvrs.dtx of the listings package to >> add a new language. >> >> What I'm not clear about is, once I update the listings package, how do I >> get it into LyX (on a Macintosh using LyX-2.0 beta) >> > You don't need to get it into LyX, but into the right place in your TeX > installation. > > Once you have modified lstdrvrs.dtx, then you run: >latex listings.ins > and this should take care of everything for you. You may need sudo, though. > > Richard > __ Robert J Berger Internet Bandwidth Development 15550 Wildcat Ridge, Saratoga, CA 95070 +1 408-838-8896 http://blog.ibd.com
Re: Custom character entities
On 11/22/2010 12:25 PM, Alexander Tsyplakov wrote: Richard Heck wrote Monday, November 22, 2010, 21:31:38: RH> On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote: LyX has several means of defining customized markup: custom insets, paragraph and character styles. However I can not figure out how to define custom character entities like build-in "Ellipsis". Am I missing something? RH> No, there is no provision for this. If some RH> character you need is missing, report it as a RH> bug to the devel list. Adding it is easy, but RH> it has to be done in the source. I meant user customization by means of inclusion in layouts and modules. This can be used for logotypes, special babel commands, etc. One can not hard code any special symbol in advance. If you want to add custom insets, paragraph or character styles, then the best way to do so is to create your own module that defines one or more of these, and then use it in the usual way. Instructions are in chapter 5 of the Customization manual. If what you want to add isn't one of these things, then, well, you can't do do that quite so easily. In fact, though, what I said earlier isn't quite true. You can give LyX the ability to recognize (and even display) new characters and such by adding them to the unicodesymbols file, which lives in the system directory, e.g.: /usr/local/share/lyx/ on Linux, by default. But there's no provision for doing this in modules. Richard
Re: Updating a language for the LaTeX program listings package?
On 11/22/2010 12:49 PM, Robert J Berger wrote: Would anyone happen to know where the listings.* files are located in MacTeX? I used spotlight and also looked in the app bundle but couldn't find it... Try: kpsewhich listings.sty That should tell you. Richard
Re: Updating a language for the LaTeX program listings package?
Am 22.11.2010 um 18:49 schrieb Robert J Berger: > Would anyone happen to know where the listings.* files are located in MacTeX? > I used spotlight and also looked in the app bundle but couldn't find it... > > Thanks! Here it's below /usr/local/texlive (I'm using MacTeX too). Stephan
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
On Mon, Nov 22, 2010 at 5:47 PM, Pavel Sandawrote: > care to produce recipies or at least backtraces? they are not going to be > fixed unless somebody reports them... > Yes, I plan to do so. I tried with earlier alphas, but the traces weren't very informative. I have to study the steps necessary for debugging, and then I'll send something useful. As for a recipe, the crashes are not quite reproducible, but happen regularly. The most often case is when there is some problem in the Sweave code, and R halts execution and returns error. I'll take a look at this a bit later. Regards Liviu > as for the 'rock' stability, i have different feeling from the current trunk > unfortunately. > > pavel > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Custom character entities
On 2010-11-22, Richard Heck wrote: > You can give LyX the ability to recognize (and even display) new > characters and such by adding them to the unicodesymbols file, which > lives in the system directory, e.g.: /usr/local/share/lyx/ on Linux, by > default. As usual with LyX config files, it works also via copying to the local LYXDIR (~/.lyx/ on Linux) and modifying the copy. Günter
OT: LaTeX Help
So I can get something workable here, but not something good. Here's hoping What I want to do is typeset the following sort of thing: I want a gamma on top of a tilde on top of a delta, all the same (normal) size, and then to the right of that will be something like: f(x,y), and I want the tilde to sit about here the crosspiece is on the f, so the whole thing is kind of "centered" vertically on the line. Here's what I have: \raisebox{-0.5\baselineskip}{\ensuremath{\stackrel{\stackrel{{\textstyle \gamma}}{{\textstyle \sim}}}{\delta}}} Ugly, to be sure, and I'm worried the -0.5 will go wrong in some cases. Any other ideas? Richard Notation from Frege's Begriffsschrift, if anyone is wondering.