Re: [Q] How to generate the character « and » ?
Hi... On 19-Jun-2000 Jean-Marc Lasgouttes wrote: > Jean-Pierre> lyx-1.1.5 lyxrc allows to use the compoe key: uncomment > Jean-Pierre> override_x_deadkeys false Didnt't check it however, > Jean-Pierre> should allow to type in the whole isolatin set > Jean-Pierre> (Copyright, Yen, etc.) > > This should _not_ be needed unless I did not understand what I did > with override_x_deadkeys. This is only realted to deadkeys like X > accent keys. Indeed, LyX 1.1.4 uses Compose key just fine. One may easily type things like Ø, ¥, ©... which are not found on standard keyboards. (I've become quite spoiled, BTW, because of this -- when using Windoze- or Mac-type machines, I'll often grumble to others about the difficulty of generating such symbols. Macs have it easier than Wins, I think, but with the Compose-key system I can often just puzzle out how to make a character, by putting components together. I don't have to start KeyCaps, or look at an ASCII chart, if I want to quickly write "150 [Angstrom]." (Ok, I can't do it in Xfmail, but it still works in LyX!) Happily not upgrading just yet, -- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "It's a long, hard road and a full hard drive // and a sector there where I feel alive..." //--Warren Zevon PGP signature
Figure labeling - format question
Hi... I've just noticed something that has apparently been this way for some time, but now that I've noticed it bothers me. :) I have several documents, just for personal and informal use, that use the "report (koma-script)" style. In the printed output, the captions of figures and tables read, "Figure 1.1.: Blah..." Notice the ".:", which looks odd to me. (Is it a standard, somewhere?) Was this layout designed that way intentionally, or is something wrong here? More to my immediate benefit, how may I change this behavior? I know little of TeX except what I've picked up from this list, but I expect there's one little line I could put in the preamble or near the top of the document(s) to solve this... at least I hope so. :) (LyX says it is "Version 1.1.4 of Thu, Feb 3, 2000", which I compiled here from a SRPM. I don't have info on "scrrept.sty", but its header says, "Copyright 1994-1997 Markus Kohm and Frank Neukam.") Thanks, -- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "It's a long, hard road and a full hard drive // and a sector there where I feel alive..." //--Warren Zevon PGP signature
Re: Formatting of multiline equations
Tom... On 25-Oct-99 Tom Crane wrote: > I have followed your instructions but I cannot get it to give the O/P I need. > I have attached a demo .lyx file to better illustrate the point. Do you have > any more suggestions? I do not think you are going to be able to accomplish what you want... at least, not by using clean, effortless code. :) I tried such things as nesting a matrix with hard-spaces in some cells (so as to make them invisible, but still have brackets expand to encompass them)... but I don't think you can have your opening and closing delimiters match each other precisely in this way. Maybe someone who actually knows some (La)TeX can tell you how to "cheat", as I think this is what you'll actually have to do. (To me, that's too much work -- LyX is supposed to make it easier! :) --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
RE: Formatting of multiline equations
Hi... On 22-Oct-99 Tom Crane wrote: > f(x) = x*2 (z+3{aterm + > another_term + > a_third term}) > > I would like to make Latex use a 'largish' round-bracket & brace - as it > would if my equation was all on a single line. How can I do this?? You should be able to achieve something of the sort by doing this: 1. In the Math Editor, type out "f(x)=x*2" (or \times or \cdot or whatever). 2. Now, go to the Math Panel and open the Delimiters dialog; set the left and right delimiters to whatever you need, and hit Ok. 3. Within the delimiters you just inserted, insert a Matrix with however many rows and columns you want... in your example above, you'd probably want two columns so you could left-justify your terms, but you could just use one column if you're not picky. The delimiters will grow to surround the entire matrix. You can even nest matrices; they look odd in LyX, but the printed output will still be nice. Have fun, --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
LyX Suggestion - Re: Pagination Query
Hi! On 30-Sep-99 Jean-Marc Lasgouttes wrote: > If you are using the book class, you can add (marked as TeX) > \frontmatter at the beginning of the document, > \mainmatter at the beginning of the main part > \backmatter at the end of the main part. Now, I know this question comes up a lot (at least, it has recently :) but I have a different question related to it, and a design suggestion related to the related question. :) Q: Is there a way to pass arguments, when printing through LyX, to get those "frontmatter" pages to print? From the dvips docs, you can do stuff like -pp =2-5 to get pages *absolute* 2 (in other words, if you start with page "i", that would be page "ii") through page 5 (relative to the page *numbered* 1 in the book)... however, when I try putting such things in the "pages" field of LyX' print dialog I get error messages. Suggestion: Make a way, via a fancier dialog or a way to pass args to dvips (or whatever the user is using) so that we could print just the frontmatter pages or do other weird stuff. :) (I noted yesterday that if I have some \frontmatter pages and I request to print page 1, I get *both* the absolute first page of the document, *and* the page numbered "1". To get the real second page, I found that I had to do "Update DVI" and use a shell window to print it via dvips; LyX would not print it.) So, there is my stuff... do with it what you will. :) Bye, --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
RE: how to make a rpm for 1.0.4 on RedHat 5.x ?
Hi... On 30-Sep-99 Alexander Wollmann wrote: > I´m very happy to hear that LyX 1.0.4 is out! I use RedHat 5.x, but all the > rpm´s are compiled for RedHat 6.0. > > Can anyone tell me in a few words how to make a rpm-file for my system? I > have > to compile the .src.rpm - file, right? I am on a Mandrake (Redhat) 5.3 system and the 1.0.4 rpm went in without any troubles. If you do need to build from the .src.rpm, it's rather difficult... the horrible, cryptic command is: rpm --rebuild lyx-1.0.4.src.rpm :) Have fun, --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
Re: Printing odd characters?
Hi... On 27-Sep-99 Jean-Marc Lasgouttes wrote: >> "Geepus" == Geepus the Sweeper <[EMAIL PROTECTED]> writes: > > Geepus> properly. Depending on which encoding I select for the > Geepus> document, the ¿, for instance, may print as as a British > Geepus> pound sign or a z with a dot over it. Is there something more > Geepus> I need to do with LyX, or possibly (La)TeX, to actually print > Geepus> these characters? > > To actually print these characters, you should use latin1 encoding, > which is suitable for all (most?) western european countries. Actually I tried it, before I posted that. (I remembered that to get a proper ß instead of SS, you have to use Latin-1, so I thought it might apply there as well.) It did not help. Latin-1 produces the wrong characters, Latin-2 produces LaTeX errors regarding certain characters such as the Yen, Latin-5 produces different wrong characters. Ok: I've gone looking for more information. I made a short document with different characters in it. (Contains lines like "This should be cent: ¢".) Trying to print with Latin-1 produces an error, "Command \textcent unavailable in encoding T1"; printing with "default" encoding produces no errors. In the PS file thus generated is the line, "y(This)d(should)g(be)f(cent:)18 b(\264)-18 b(c)71 702". In the printed output I get a "c" with a ' over it for cent, ¡ instead of ½, and £ instead of ¿. TeX generates \A2 for the cent character. I have: dvips(k) 5.78 kpathsea version 3.2 ghostscript-5.10-7 TeX (Web2C 7.2) 3.14159 lpr 0.33-1 LyX 1.0.3-3 lots of patience :) Bye now, --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
Printing odd characters?
Hi... Ok, here is a difficulty I stumbled across while reading the User's Guide. :) I read with interest the section on printing all those weird foreign characters, and began experimenting with LyX "keymaps" to see how many of those I could enter. It turns out for my normal typing (English and sometimes German) I do not need LyX keymaps, as the customized Xmodmap setup I have works fine. (It utilizes the "Menu" key from my Windoze keyboard -- a key which I have never seen any Windows user actually use -- as a "Multi-key" to allow me to make things like Ø or ß.) However, some things I can enter from the keyboard and might like to use from time to time, such as ½ (one-half) or ¿ (Spanish upside-down question mark) do not print properly. Depending on which encoding I select for the document, the ¿, for instance, may print as as a British pound sign or a z with a dot over it. Is there something more I need to do with LyX, or possibly (La)TeX, to actually print these characters? I don't type in Spanish, but I might occasionally want to use the ½, ¾, or ¢ (cent) signs in my documents, so this knowledge should be useful. Thanks in advance, --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
RE: all floats at end of document: how?
Hi... On 25-Sep-99 Rob Lahaye wrote: > I'm preparing a paper with LyX (article style) and need to shift > all floats (tables and figures) to the end of the end of the > document after all the text. > > Does LyX have a setting to do this? Yes. Open LyX, Select Help -> User's Guide, open the Table of Contents and read section 4.3.1.2 (Float Placement). It will tell you how to select where they all go. :) Bye... --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
Re: Insert->Include File, Verbatim: Tabs are lost
Aha! On 23-Sep-99 Jean-Marc Lasgouttes wrote: > As you can see, my original message stated that I did not try the > code. It happens that it was completely bogus :) Try that instead > [still not tested :)] > > \usepackage{moreverb} > \let\verbatiminput=\verbatimtabinput Now, *that* bit of untested code works quite well! Adding a line I pasted in from moreverb.sty, but with 4 instead of 8 for the tab size, makes it look just perfect: \def\verbatimtabsize{4\relax} Now I shall be the envy of my Windows-using classmates! ;) Bye, --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
Re: Insert->Include File, Verbatim: Tabs are lost
Hi... On 23-Sep-99 Jean-Marc Lasgouttes wrote: > >> \usepackage{moreverb} > >> \renewcommand > >> \let\verbatiminclude\verbatimtabinput > > Geepus> Ok, I tested it, by trying to use it with my LyX > Geepus> version 1.0.3, and it does not work. :( > > OK, I clearly failed to re-read my advice :) Could just try to remove > the \renewcommand? If I do that, the errors go away, but I do not see anything in the DVI differently from the normal method of including a "verbatim" file. Tabs are ignored, just like always. --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
Re: Insert->Include File, Verbatim: Tabs are lost
Hi... Yes, this is a reply to a pretty old message, but I've found nothing any more helpful in the archives, so... On 31-May-99 Jean-Marc Lasgouttes wrote: >> "Michael" == Michael Behrens <[EMAIL PROTECTED]> writes: > Michael> I just tried to include a simple ASCII file including tabs > Michael> with > > Insert-> Include file, option Verbatim > > Michael> But the tabs seem to be silently ignored, they even are not > Michael> interpreted as blanks. Is there a way to get them used or is > Michael> this a featue/bug? > > This is a `feature' of LaTeX. This is handled by the moreverb > package. Something like the following in your preamble should help > [not tested]: > > \usepackage{moreverb} > \renewcommand > \let\verbatiminclude\verbatimtabinput Ok, I tested it, by trying to use it with my LyX version 1.0.3, and it does not work. :( If I include this exactly as it appears above in my preamble, I get 6 LaTeX errors referring to undefined control sequences. I am guessing (though I know no (La)TeX) that something should be after the "renewcommand", as in every other instance where I've seen it used, a bunch of stuff in {} follows, but not here. Can someone tell me what's missing? I'd find this very useful for printing out my programming labs, among other things. :) (I won't even ask about algorithm floats; I'll just wait until their use makes it into the documentation! ;) I also tried a suggestion from Christopher Sawtell, that one use the following (with \usepackage{verbatim} in preamble) to include a file: \verbatiminput[tabstop]{} However, trying such things as "\verbatiminput[4]{/home/blah/file}" doesn't seem to do anything for me; this appears as \latex latex \backslash verbatiminput[4]{/home/rassilon/proj/csc234/craps.cc} ...and does nothing -- except that everything after "verbatiminput[" actually appears in the document. I am now quite confused, and am off to simpler pursuits, like learning gnuplot. ;) Any help appreciated, --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature
Re: double quote
Hi... On 23-Sep-99 Nabil Hathout wrote: > Jean-Pierre.Chretien writes: > > > I did not find how type in « in LyX (did not search a lot however), so > > I use the facility of french GUTenberg style to type in << (with a blank) > > > > -- > > Jean-Pierre > > > You just need to select «text» in the Quotes item of the Layout menu. I seem to recall reading a month or more ago that LyX (or possibly LaTeX) already inserts a small blank space when « or » is used; check the mailing list archives for "guillemet" or, as it's called in the typesetting language, "guillemot". (I believe a French-speaking person said that's a kind of bird...? :) Good luck, --- // Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e // // "I've given up on the whole dating scene. I've // decided to reproduce by asexual cell division." // --Wally PGP signature