Re: How to debug a lyx file: where the error is?
[EMAIL PROTECTED] wrote: Hello! May I ask you a question? I have a 40 pages document with 2 lyx errors in it. The lyx latex error notes appear at the very begining of the document they are: missing $ inserted and bad math environment delimiter. The first math formula appears many pages later and the error appeared during the time I was working on chapters in the middle of the document. So I do not understand where the errors could be. I tried to go to the tmpdir and to run pdflatex directly, but it was compiling fine, but the index of the resulting file had a strange line. So I checked it and found \( and \) in an index field I removed them and it is now compiling fine with lyx !! What bug fighting strategy do you recomend in this kind of case? With problematic compilation errors, the best thing is often to export the document as LaTeX, then run "latex" on it. Robin -- "Don't be lucid and ironic; people will turn this against you to show that you aren't a nice person." - Albert Camus Robin Turner IDMYO Bilkent Universitesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Spell-as-you-type ??? am I the only one interested?
Paul Smith wrote: [..] A spell checker that underline misspelled words with a wavy red line as you write them - and that provide the possibility to right-click a word [..] [..] I am curious in knowing if I am the only LyX user who is interested in this feature? If not, please say. Definitely interested. Me too. Paul A couple of years back I would have said it was a nice feature, but there are far more features with higher priority. Now, most of the features I was waiting for have materialised, so if there are developers around who are prepared to put in the time, I'd say "yay, go for it!" Robin -- "The other major kind of computer is the "Apple", which I do not recommend, because it is a wuss-o-rama New-Age computer that you basically just plug in and use." - Dave Barry Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: word to lyx
Andre Poenitz wrote: On Sun, Aug 03, 2003 at 01:05:41PM +0200, Moritz Moeller-Herrmann wrote: Andre Poenitz wrote: On Fri, Aug 01, 2003 at 09:17:54AM +0200, Ulla Stubbe wrote: [Can OpenOffice export to LaTeX? If so, this would be worth a try, too] Yes it can using the writer2latex filter. I've not managed to get this thing up and running. The binary crashes my JVM and the source thingy does not even come with a Makefile. Same problem: java -classpath ~/classes/writer2latex.jar writer2latex.Application /home/nalan/Documents/fast/admin/appraisal_robin_2003.sxw gives Exception in thread "main" java.lang.NoClassDefFoundError: org/openoffice/xmerge/util/registry/RegistryException Now I know almost nothing about Java, but that looks like it's looking for a Java-enabled OpenOffice (OO stubbornly refuses to recognise my Java, bot I'll go into that on a different list!). You can also use the program on the command line without openoffice. Maybe someone could adapt it as a lyx import filter? Would be nice... Definitely, and probably not too difficult to implement, so long as reLyX can handle the TeX it produces. (don't ask me to do it though - I know even less about C++ than Java!). I like OO, and use it a lot for some things (mainly the spreadsheet and, of course, dealing with all those bloody Word docs people send me) but I'd still rather use LyX, given the choice. Sir Robin -- "There are other rules, but you'll find out what those are when you break them." - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Problems installing Lyx 1.3.2 on Mandrake 9.1
Janus Sandsgaard wrote: On Wednesday 30 July 2003 02:57, Robin Turner wrote: Bad spec file? Try it - you can always uninstall it if it doesn't work. It seems to work just perfetc! I updated from LyX 1.2.x and I must say (among other things) it is an improvement with the QT-integration. :-) Yep, the 1.3.* series is sweet! Qt eye-candy aside, you'll find a number of nice usability features. Now I just need to learn averything about the BibTex integration. I want to use LyX for my academic work - and I am working on a small book about Linux-tools for students and researcher at non-technical educations at Danish universities. As I said in another post, I recommend Jurabib. Feel free to mail me off-list if you have any BibTeX questions - I'm no expert, but I have a fair amount of trial-and-error experience. Robin -- "There are other rules, but you'll find out what those are when you break them." - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: alternative BibTex styles for LyX
Janus Sandsgaard wrote: I am currently trying to get an overview of the integration between BibTex and LyX. Where can I find alternative styles for BiBTex in Lyx? LyX will detect any BibTeX styles you have installed. If you want more, just download them from CTAN and don't forget 1. to run texhash after you copy them to the appropriate directory; 2. that sometimes you will need to add a line to your preamble to get the package to work properly. Incidentally, I recommend the Jurabib package, which I recently used to write a course book using Chicago format. It takes a while to work through the documentation, but once you get the hang of it, it's amazingly powerful. Robin -- "There are other rules, but you'll find out what those are when you break them." - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Problems installing Lyx 1.3.2 on Mandrake 9.1
Janus Sandsgaard wrote: On Tuesday 29 July 2003 23:50, Robin Turner wrote: Use urpmi with the "allow nodeps" option. And this won't cause problems? Why does it Ask for an old qt? Bad spec file? Try it - you can always uninstall it if it doesn't work. Robin -- "There are other rules, but you'll find out what those are when you break them." - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: no bibtex style file not seen in LYX!
John Levon wrote: On Tue, Jul 29, 2003 at 06:37:20PM +0300, Robin Turner wrote: There was a change in the way bibtex was referred to. Click on the bibliography box in your document and reset the database and style - your citations should come back. If you have to do this, we have a bug. I did have to do it with some documents I imported from 1.1.6 - I don't remember if I did with 1.2. Unfortunately I don't have any 1.1.6 document left (at least not ones with bibliographies) so I can't reprodcue the behaviour. Robin -- "There are other rules, but you'll find out what those are when you break them." - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: no bibtex style file not seen in LYX!
Manjunatha, K.R. wrote: Hello all, I have upgraded the Lyx from 1.2 to 1.3.1 on my debian woody, when I open old lyx document, which is created by lyx 1.2 with 1.3.1, I dont see my citations in, I mean they are replace by question mark. I dont see any bibtex style file when I try to insert the reference from bibtex database. There was a change in the way bibtex was referred to. Click on the bibliography box in your document and reset the database and style - your citations should come back. Robin -- "There are other rules, but you'll find out what those are when you break them." - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: word count
Alberto Sanchez wrote: Yep...that is exactly what I meant. As Andre pointed out, the operation of couting words, from a latex point of view, is not easy, but I think this feature is something many people have to do when writting articles, theses or other documents. If someone were to write a word count feature, something that would make it really nice would be the ability to count words in only one part of a document. Very useful for those "which section to I need to cut in order to fit in the maximum wordcount?" moments! Robin -- "A strategy is still being formulated." Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Jurabib: my own question answered, plus another one
In case anyone is interested in using Jurabib in LyX (see my earlier question), here's how to do it ... Insert something allong the lines of the following in your preamble: \usepackage{babel} \usepackage[% titleformat=italic,% titleformat=commasep,% commabeforerest,% ibidem=strict,% citefull=first,% chicago,% pages=format,% ]{jurabib} \renewcommand{\cite}{\footcite} 1. It is necessary to invoke babel in the preamble - having it set in Edit->Preferences->Language doesn't seem to work. 2. The options here are for a humanities paper using Chicago Manual of Style format. There are plenty of other configurations possible. With no options specified, you get the standard ones for legal papers. Check out the examples on the Jurabib homepage. 3. Don't use the lookat option, as it will generate errors. 4. The last line is important, otherwise you'll wind up with all your citations in the body of your text. One glitch, though. I've noticed that in an article citation, the date appears between the volume number and the issue number; e.g. _Journal of Religion and Film_ 5 October (2001), no. 2 Does anyone know what's causing this problem? Robin -- "A strategy is still being formulated." Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Index question
Rafa García wrote: Hello! El Martes, 1 de Julio de 2003 01:22, Robin Turner escribió: Is it possible to make different words (or forms of the same word) point to the same index entry while including all the original words in the index? For example, I can make "simulacrum" and "simulacra" have the same entry by usng the same index label, but I can only then have one word in the index; i.e., simulacrum, 6, 8, 16 You can find the solution in the LaTeX documentation. You've got some posibilities: If you want the output something like simulacra, simulacrum, 6, 8, 16 the only thing you have to do is to use the following keyword in the index entry: "simulacra, simulacrum", every time that word appears. (I think it could be a little annoying) Yes! However, if you'd like an output like simulacra - see simulacrum simulacrum, 6, 8, 16 you always have to use the keyword "simulacrum" wherever you need a reference. You only have to add an index entry with the keyword "simulacra|see{simulacrum}", or "simulacra!\ |see{simulacrum}", at any place in the document (only once). The word "see" is compulsory. It'll be translated to your language when you get the DVI or PDF file. If you want more information, go to http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/makeindex.dvi You have to put the word(s) between brackets in the keyword of the index entry. e.g. If you see \index{bites!vegetable}, you have to use the words bites!vegetable as keyword. I wish it help you. Thanks, this does the trick! There are some other useful documents on the site you mentioned - I'm currentlydownloading the guide to making glossaries. Robin -- "A strategy is still being formulated." Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Index question
James Frye wrote: On Tue, 1 Jul 2003, Robin Turner wrote: or simulacra - see simulacrum simulacrum, 6, 8, 16 A bit off the track, but IMHO this is the single most annoying thing anyone can do in an index. I would love to have an option in the index generator that says A and B are equivalent, so both A and B get a list of the references to either. I agree, but I can't see a way to do it in makeindex. Having said that ... The single and most annoying thing anyone can do in an index is not provide an index. Call me anal retentive, but I even want an index in a novel. Robin -- "A strategy is still being formulated." Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Index question
Is it possible to make different words (or forms of the same word) point to the same index entry while including all the original words in the index? For example, I can make "simulacrum" and "simulacra" have the same entry by usng the same index label, but I can only then have one word in the index; i.e., simulacrum, 6, 8, 16 whereas what I would like is either simulacra, simulacrum, 6, 8, 16 or simulacra - see simulacrum simulacrum, 6, 8, 16 (OK, not a wonderful example, since these will appear next to each other anyway, but it becomes more useful if I need to have, say, "Albigensian - see Cathar"). Thanks, Robin -- "A strategy is still being formulated." Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: others like lyx?
Thomas CLive Richards wrote: [snip] 5.- Users *should* be able to fine tune *all* the details about the typesetting. Boxing users in so they can only use what *you* think is good type setting is (IMHO) plain silly. I personally can't find any styles in the pretty small style list which exactly matches the style i need. I should be able to set everything, like the whitespace above and below titles, whether chapters/sections/subsections start on a new page, whether tables are set out on a seperate page, and a whole lot more. Again, forcing users to use *your* style of typesetting just makes users unhappy with the results. The use of "your" here is misleading. The LyX developers do not set the paragraph environments, they come from whoever writes the LaTeX styles. A style editor would be a nice feature, but it would also be a lot of work. Yeah, ok, maybe "your" was not the right word. and perhaps tuning all the features is also a bad idea. However, tuning some of the more important ones shouldn't be too hard, surely? things like section numbering style, font size and type & indent for the different sections... There is already quite a bit you can do - font size, for example is included in document settings (though you only get a choice of 10, 11 or 12 points - if you want anything bigger, you need to use a class like poster or manually fine-tune the whole of your document). Expanding the rangeof font faces has been on the table for a long time, but it's a larger piece of work than it looks - LyX just comes up with the fonts that are common to just about any TeX installation, and adding more fonts would require it to search the user's TeX directory to see what had been installed. As far as I can tell (C++ is beyond me!) it wouldn't be rocket science, but it would be donkey work. Numbering style is still handled by the document class, though it wouldn't be hard to over-ride it in a similar way to bullet styles, I suppose. Again, indentation of headings is automatically done by the document class. It seems you're looking for one of two things. Either your needs would be best met by some kind of style editor, so you could create LyX layout files on the fly (which would, I agree, be very nice) or you need the ability to micro-format everything as you type. In the latter case, LyX is probably not the best program for you, and I suspect that anything based on LaTeX wouldn't be either. You either need a very clever frontend to TeX which doens't rely on LaTeX, or you need a good conventional word processor (e.g. OpenOffice) or DTP program (Scribus is getting there slowly, though it's still not in the same league as the big commercial DTP programs). Robin -- "Some guy breaking into a government computer system and wreaking havoc makes for a more interesting movie plot than some guy writing device drivers. It's hard to work in a good 10-minutes car chase scene with some guy who writes device drivers..." - tjc, post to LWN Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: table
Raphael Clifford wrote: I am trying to copy a table from an existing tex file. How would I produce this in lyx? Can I import just that bit of latex code somehow? \begin{table}[ht] \caption{Post-construction average time complexities for 5 different problems using standard and distributed suffix trees with $k$ computing nodes. $r$ is the number of strings for the All Pairs Suffix-Prefix problem and the number of patterns for Exact Set Matching.} \centering \begin{tabular}{||c|c|c||}\hline Problem&\multicolumn{2}{c||}{Expected Running Time}\\ \cline{2-3} &Standard ST (Serial)&Distributed ST (Parallel)\\\hline LCS and ELM &$O(n)$&$O(n/k)$\\ Maximal Repeat Finding & $O(n)$&$O(n/k)$\\ All Pairs Suffix-Prefix&$O(n+r^2)$&$O((n+r^2)/k)$\\ Exact Set Matching&$O(r\log n)$&$O((r\!\log n)/k)$\\ \hline \end{tabular} \end{table} Easy - just click the TeX button and insert your LaTeX into the red box that comes up (assuming you're using a relatively recent version of LyX). I just checked it - it came out fine for me in 1.3.2. Robin -- "Some guy breaking into a government computer system and wreaking havoc makes for a more interesting movie plot than some guy writing device drivers. It's hard to work in a good 10-minutes car chase scene with some guy who writes device drivers..." - tjc, post to LWN Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: teach me how to fish
[EMAIL PROTECTED] wrote: The LaTeX Companion. http://www.amazon.com/exec/obidos/tg/detail/-/0201541998/104-4610119-3007930?vi=glance I second that recommendation - that book is a treasure trove. I've been known to abuse my faculty member borrowing priveleges by keeping it out of the library for a whole semester (along with Unix Power Tools and Programming Perl). I'd also recommend browsing the Tips and Tricks pages. You can pick up a lot of LaTeX by osmosis. Robin -- "Some guy breaking into a government computer system and wreaking havoc makes for a more interesting movie plot than some guy writing device drivers. It's hard to work in a good 10-minutes car chase scene with some guy who writes device drivers..." - tjc, post to LWN Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Lighter Version
Konrad Scorciapino wrote: Hello, I am trying to run LyX on my old P166, but it gets too slow. So, I was wondering if: 1 - Is there a lighter version of LyX or a lighter program that works just like it? LyX itself is about as light as you can get - it's LaTeX that eats resources, but you only need that when you preview or export. 2 - Can I convert .rtf to .lyx? There is a rtf editor (Ted) which is pretty light; If that is possible, I can work with it and then convert its files to .lyx later. Not directly, but I saw a program once that converted RTF to LaTeX. OTOH, RTF has such minimal formatting that it's probably better to convert it to plain text, then redo your formatting in LyX. 3 - Is there any other solution to this problem? I'd suggest investing in some RAM. CPU speed is not so important, but a decent amount of RAM is essential, unless you want to cook dinner while you're running latex. Robin -- "Some guy breaking into a government computer system and wreaking havoc makes for a more interesting movie plot than some guy writing device drivers. It's hard to work in a good 10-minutes car chase scene with some guy who writes device drivers..." - tjc, post to LWN Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: 1.2.2 rpms?
Myriam Abramson wrote: Where can I find rpms for the new version? I saw some Mandrake rpms on rpmfind.net a while back - there may be versions for other architectures as well. Last time I looked the LyX ftp site only had solaris rpms, but there may be others there by now. Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: can lyx print with CUPS?
Peter Christensen wrote: from Matej Cepl: Let's try some testing: 1) open some webpage in Konqueror and print it out, 2) export some document from LyX to Postscript and then try in xterm 'kprinter nameoffile.ps' If these tests fail, you have something wrong with CUPS. Make it work and then return. I can print a webpage in Konqueror, but am unable or unsure how to export from Lyx to Postscript. When I click on file (after creating a test document), then export, the following options are available: ASCII, DVI, Latex, and PDF. I wonder if my installation is incomplete. To install I did an "apt-get install Lyx" (in Debian/Linux). I assumed that this would install everything that I needed to use Lyx. But according to the tutorial I should be able to click on view->DVI (after creating a test file), and a new window should pop up. Nothing happens. The tutorial says I need a dvi viewer (e.g. xdvi) and a postscript converter (e.g. dvips). Perhaps they have to be installed separately? I searched the Debian packages and could not find xdvi or dvips. Do you have gv (Ghostscript) installed? Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Font change
[EMAIL PROTECTED] wrote: Dear All, I know that must has been asked a zillion times before but... I just install ArialNarrow on my Linux box and X apps sees this fonts. Now I want to use the font in Lyx, How do I tell Lyx that he/she has to output all text, or parts of this text in ArialNarrow? Pointer to some doc will do... I wrote some documentation on fonts in LyX. It's at http://www.bilkent.edu.tr/~robin/ Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: How to write layout files?
Ananda Murthy R S wrote: Hello: Can any body tell me where we can get information regarding writing layout files for LyX 1.2.2? Help -> Customization. The relevant section is 6.2. Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: 1.2.2 RPM, anyone?
Ananda Murthy R S wrote: Nalan Turner wrote: I've spent the best part of today trying unsuccessfully to compile 1.2.2, and now 1.2.1 won't reinstall either. If anyone has an i386/i586 RPM, could they point me to it? Thanks, Robin Search in www.rpmfind.net Anand That was my first response. It wasn't there yesterday, but it's just arrived today. Works fine on Mandrake 8.2, though unfortunately bug 413 (Turkish characters not coming out correctly) seems to be there still (I've posted this on bugzilla). If anyone's interested the output of a Turkish Q keyboard is at www.bilkent.edu.tr/~robin/turkish_keyboard.lyx www.bilkent.edu.tr/~robin/turkish_keyboard.dvi Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: problem accessing ftp.lyx.org
Matej Cepl wrote: Nalan Turner wrote: I'm trying to download the i386 rpm of lyx 1.2.2 from ftp.lyx.org/incoming that was recently uploaded there, but am getting "permission denied" messages, even though the file has -rw-r--r-- permissions. What gives? Usually one cannot read from incoming directories (just write to them) so as the site is not tool for distributing viruses, trojan horse, badly debugged programs, etc. Matej So assuming that this RPM works, can it be transferred to /pub ? Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Including external files
Jean-Marc Lasgouttes wrote: "Peter" == Peter Hutnick <[EMAIL PROTECTED]> writes: Peter> I'd like to be able to "include" (like in the C preprocessor Peter> sense) some external flat text files in my LyX document. Peter> I have the following requirements: Peter> 1. Whitespace must be preserved. 2. The file must be read Peter> "live" when the .lyx is built into another type of file (i.e. Peter> PDF) 3. The font should be different (i.e. roman for normal Peter> text, currier for the "included" text). Insert>Include file>verbatim shold fulfill these requirements. Peter> 4. Bonus: extra-double-good if it can read the file from a URL Peter> (probably FTP since whitespace gets weird with HTML). This is more difficult. Is there some way to pipe from wget into a lyx include command? That would be amzingly cool. Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Linespacing in list environments so huge
Michael Jaeger wrote: Hi list, for my thesis I need a linespacing-factor of 1.3 which I get in LyX through Layout->Document->Linespacing Everything looks fine but unfortunately the linespacing between list-items ist quite huge. Does anybody know how to change the linespacing just for every list-environment (or at least the enumeration and itemize environments)? Everything you need to know about lists: http://www.educat.hu-berlin.de/~voss/lyx/list/list.phtml Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: OT: psbooklet
Thanks to all who contributed to this thread. Today my colleagues were oohing and aahing over our pretty little exam booklet! Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: table question
Myriam Abramson wrote: Hi! I have 2 lines text to insert in a table cell. It seems that it only accepts 1 line. Is the only way to have 2 lines to make another row without the top/bottom border set? If you make the column fixed width, you can insert extra lines using Ctl-Enter. It's a pain, I know, but I think it's a LaTeX thing rather than a LyX thing. Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: OT: psbooklet
Matej Cepl wrote: robin wrote: Many system upgrades ago, I had a neat little script called psbooklet which would take a PostScript file and turn it into an A4 booklet (sort of a combination of pstops and psbook). Now I can't find it anywhere on the net. Does anyone know a download location for this script, or any equivalent program (I tried psheft, but couldn't get it to compile). What is wrong with this? #!/bin/sh TMPF1=`mktemp /tmp/psbooklet1XX` TMPF2=`mktemp /tmp/psbooklet2XX` psbook $1 $TMPF1 psnup -2 $TMPF1 $TMPF2 [ $? == 0 ] && { mv $TMPF2 $1 ; rm $TMPF1 } Matej Got this message: *] [1] [*] [*] Wrote 4 pages, 26691 bytes [1] [2] Wrote 2 pages, 29669 bytes /home/nalan/Documents/psbooklet: line 7: syntax error: unexpected end of file Running the commands manually is fine for psbook, but psnup for some reason won't put two virtual pages on one physical page. Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: MS Word and Lyx
Tuukka Toivonen wrote: On Wed, 27 Nov 2002 [EMAIL PROTECTED] wrote: How can I convert Documents from MS-Word to Lyx-format? http://www.educat.hu-berlin.de/~voss/lyx/converter.phtml MS-Word->TeX Word2TeX 32-bit 1.0 Intelligent 32-bit External converter for Microsoft Word 7.0 (or later) to TeX ... :-)) wv works OK for most Word documents, but can choke on some MS encodings. It also, IMHO, tries to be too faithful to the physical format of a Word doc (which is usually ugly anyway). One rather roundabout solution with awkward Word documents is to load them into Star Office / OpenOffice and tidy them up (converting them to OpenOffice's native format then converting back to Word might get rid of some glitches). Btw, does anybody happen to know a program for converting HTML to LyX/TeX/LaTeX? Can't find from the Herbert's page. There's a Perl script called html2latex which works reasonably well. You may have to hack it to get it to find your Perl installation, though. Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: lyc-code and latex2html
Manfred Wischin wrote: Hi! How do I make latex2html output lyx-code sections correctly (single linespace and typewriter font)? I spent the last nine hours searching the web, the mailingslist archives, google groups, etc, and tried anything i could think of, but no avail! Maybe i missed something because it seems to me that this problem should be common to everybody writing some technical documentation with lyx. Has anybody got this working? I did it with CSS. latex2html generates a style sheet, so you can just alter the settings for whatever CSS paragraph type your code is rendered in. Inserting font-family: Courier; typewriter; should do the trick. Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: lyx pdf and ps viewing
Jonathan Murray wrote: I am using lyx version 1.2.1 on linux 2.4.9-31 When I am root, I can use the drop down menus to view .lyx documents as pdf and .ps formats. If I am any other user, including myself, I get an error that says " An error has occured, you should fix it " I love those helpful error messages! What do I need to set so all users can view their .lyx documents as .pdf or .ps? Do you have the same problem with exporting? Is it just with PS/PDF, or do you also get an error when exporting as LaTeX? In the former case I'd suggest checking permissions on ghostscript, in the latter, ditto for latex. Just a guess ... Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Separation above bibliography in article.cls
Rochat E wrote: Dear all I am using the article.cls (RevTex4) to write a publication for a conference. Since I must restrain myself to 1 page A4, I have to get rid of all skips and so on. In particular, the bottom of the document looks like this: text text text text text text empty line -- empty line [1] reference 1 [2] reference 2... and I would like something without the empty lines and the separation, so that I have text text text text text text [1] reference 1 [2] reference 2... Could anybody help me please? Thank you very much Regards Etienne Check out http://www.educat.hu-berlin.de/~voss/lyx/list/list.phtml Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: presentation experiences with seminar.cls
Christian Ridderström wrote: On Tue, 19 Nov 2002, Holger Zebner wrote: Hi. What experiences have you made with Lyx and presenations? I don't value the suggested nesting pratice (see template on tips&tricks) since you spend a lot of time with nesting and inserting empty lines. I also got a lot f error msg. The slides.cls doesn't provide enough env. for my case. What I did: I wrote the article on which my presenation will be baseed on first and then saved it as a new file. In that file I changed the doc class to seminar and put the page to landscape. I now have a good basis for the presentation on which I only need to do some fine-tuning like pic, headlines etc. Hi I did some presentations with LyX and FoilTeX, which worked ok for simple stuff. Then I tried PowerPoint once (never again, spent too much time "fiddling"), Star Office once or twice (couldn't get nice equations) and then went back to LyX with something called Prosper. That seems enough for me anyway. At this URL you can find my latest presentation created with LyX/Prosper http://www.md.kth.se/~chr/lyx/presentation/ It's there both in .lyx-format and in .pdf, so you can see both what it looks like and what the code's like. Very pretty - I think I'll try Prosper. I've used OpenOffice Impress and it's OK, but still too fiddly (using LyX has spoiled me, I guess - I expect things to look right first time!). As for Powerpoint, it's an invitation to Aesthetic Hell. If I have to sit through another presentation with puce backgrounds and bouncing letters, I think I'll scream. Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: quote spacing
Christian Ridderström wrote: On Tue, 19 Nov 2002, Jeroen Vriesman wrote: Hi! How do I change the spacing above and below when I use 'Quote', when I look in the command reference I just see that you can begin and end a quote. The question seems stupid, but I cannot find the answer myself, sorry. Cheers, Jeroen. What about Layout->Paragraph and then change vertical spacing above and below the paragraph? /Christian That would work, but if you want all your quote environments to behave the same way, you could try something in the preamble using \topsep (which sets the space above the first item in a list and below the last item). This might do what you want: \renewenvironment{quote}{\setlength{\topsep}{2\baselineskip}} The "2" here can be replaced by any number (as a multiple of the baselineskip for whatever document class you are using). Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Some problems which are IMHO not necessary
John Levon wrote: On Wed, Nov 13, 2002 at 12:50:36AM +0100, Heiko Schroeder wrote: again I mention one remark which shows IMHO that in LyX version 1.2.1 there are some inconveniences which are IMHO really not necessary and which have been much better done in version 1.6.3. Until version 1.6.3 it was normal that images of the EPS format were normally imported. Now in this version EPS is missing in the filter. It is really IMHO a bit a waste of time to search for the possibility to get EPS stored in the filter (I know how to get this format into the image-filter). LyX is such a great product. Why do developers abolish things which have been the standard in other versions? Sorry Probably due to vague and inaccurate "bug reports" like this one. Uh, maybe I'm missing something here, but I've not had any problems with importing EPS figures in 1.2. (I still haven't been able to work out how to do inlined EPS, but I assume that's my obtuseness). Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
[Getting a bit OT] Re: PDF looks good
Nirmal Govind wrote: Or install the cm-super fonts, an (almost) complete type 1 replacement of the computer modern fonts: http://www.ctan.org/tex-archive/fonts/ps-type1/cm-super/ Jürgen. I just did this (warning: cm-super package is a pretty big file ~ 65MB in rpm format) and yes, the PDF output on screen is a lot better.. however, in print, they still are a bit too light just like the CM fonts.. I wish they would release a 600DPI compatible version of these fonts. Am I alone in liking the lightness of Computer Modern? I often print out CM documents at 600dpi and I like the almost ethereal quality. In contrast, I recently PDFed a Word document in Times New Roman because I couldn't be bothered to do the reformatting necessary to import-export it through LyX (wv doesn't handle tables terribly well). I found the output really heavy and black (to be fair, times new Roman is a copy of Times Roman, which is a newspaper font, not a book font, so the requirements are different). Call me a Knuth fanatic, but CM is still the most aesthetically pleasing font I've ever seen (I'm not talking about fancy fonts here, though I wish Knuth had done a version of half-uncial). Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: fonts (still newbe)
Jeroen Vriesman wrote: Hi, I seem to have been able to install a font (called allrunes) in tex, but I've got no idea how to test it. When I do reconfigure from lyx, I expected it to be in the layout charcter or layour document window. it turned out to be an illusion, after generating all kind of files with latex and doing a texhash, lyx doesn't seem to know anything about it. How can I make lyx know about a new font? You can't. Fonts in LyX are "hardwired" - you only get the standard eX fonts in the fonts dialogue. To use other fonts you need ERT. See www.bilkent.edu.tr/~robin/lyxfonts2.lyx and... what kind of electroshock therapy is needed to make the latex/lyx stuff become clear and simple :-) ? Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: totally lost newby (yes I'm blond) question.
Jeroen Vriesman wrote: Well, I'm still very new to lyx (second day I'm trying it), on this list it was suggested to use new layout files from ctan, so I tried. I downloaded: script10.sty script12.sty script.cls script_l.cls script11.sty script18.sty script_s.cls Some kind of mix of cls and sty files (do they need each other or are they the same stuff in another format?) I've put them all under ~/.lyx/layouts, or should the sty files or cls files go somewhere else? sty and cls files need to go in the latex subdirectory of your TeX installation. As root, cd to wherever it is (e.g. /usr/share/texmf/tex/latex) then copy the files (you probably want to makea new subdirectory for them first, though putting them in ./base should also work). Then run texhash to update your TeX installation. Only then run reconfigure from LyX. IIRC Help->Customisation has the details. \begin{idlethought} Some kind of "Add style wizard" might be an idea for future releases. It's not something that warrants high priority, since at the moment most LyX users either come in with at least a litlle LaTeX knowledge, or acquire it prtty damn' quick, but as the user base grows, we could think about making the TeX engine as invisible as possible.\end{idlethought} And something else, I'm trying to work with a pretty plain dutch story book, with some pictures, which one of the styles (there are so many...) would be best to use, most of them seem to be for scientifical stuff. It's a matter of taste. AMS unnumbered might give you a nice overall layout. I actually use AMS quite often, despite having no use for the One thing which will definitely pretty it up is to put \usepackage{pandora} in your preamble. Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: newbe question
Jeroen Vriesman wrote: Hello, I'm new to lyx, and I'm trying produce an -already written- book with lyx. I have a very simple question: When I make a one-word text, and call it a title, I see that it's placed in the middle, above the text, which is what I want. When I look at the dvi preview, it produces an entire page with the title, and the date, and it puts the text on the next page -I use "book" as document style-, which is not what I want. The standard set of text types doesn't seem to have what I want. Q: Is there a collection of extra text types and documents styles, and how do I install it? The place to find extra goodies is CTAN - look for a mirror near you (it's probably your nearest university) and browse through to the latex section. You'll find styles and a whole lot more. See Help->Customisation Is there a good howto about how to write my own types and document styles? Help->Customisation b.t.w. I really like the lyx way of doing things, it's great. Good. It grows on you, too! You start by appreciating the easy way you can type things without having to worry about the details of formatting. Documents produced on ordinary word processors start to look unbearably ugly. Then you start getting interested in the details of formatting, read a book on LaTeX and start putting lots of unnecessary LaTeX commands into your documents just because you can. Finally you buy a copy of a book by Donald Knuth and are lost to the world ... ;-) Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Small poll - Results
Lars Gullik Bjønnes wrote: slitt <[EMAIL PROTECTED]> writes: | John -- has anyone started character styles yet? This is just a wild guess, | but could it be accomplished by a translation to | \begin{\whatever}\begin{\whichever}text to | format\end{\whichever}\end{\whatever}? | | So maybe in the LyX file, it would look like this: | | I want character styles | | \begin{\charstyle{shout}} | big time | | \end{\charstyle{shout}} | , because they're so vital to today's authoring. or... I want character styles \shout{big time}, because they're so vital to today's authoring. | Then, assuming shout is defined as Largest and Bold, perhaps LyX could | translate the begin to \begin{LARGE}\begin{bfseries} and end to | \end{bfseries}\end{LARGE} | | Does that look doable to you? \newcommand{shout}{...} I want character styles \shout{big time}, because they're so vital to today's authoring. I really, really do not want this feature as just a new hack (which actually would be quite ease), but us to prepare the core of lyx properly for this... In terms of code, would it be really different from the toggle-font feature? (speaking as an ignoramus here - my C++ experience didn't get further than "Hello World") I like the idea of character styles - like almost anyone who does documentation, I frequently write with a roman font, but with keys and menu items in sans-serif and user input in a typewriter font. Can't toggle three ways! Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: How to edit postscript?
Les Denham wrote: On Monday 28 October 2002 1349 pm, Darren Freeman wrote: I have a document that is confidential, and I will export it when finished into postscript. I would then like to take the postscript and either put black boxes over the confidential stuff or remove it. But what remains must be pixel-accurate compared to the uncencored version - if possible. The Gimp -- but it would be rather fiddly if you have a lot of black boxes to put in. You can then achieve your censoring effect by changing the background colour of the text to black while still in LyX (though of course this wouldn't work if you're distributing the .ps file rather than a printout, since anyone with a text editor could read the file directly). The only workaround I could think of in that case would be to convert it into some impenetrable binary format (even PDF is convertable to text, though the average non-UNIX, non-DTP professional probably won't know this). The problem with editing the .ps file is that unless you use a fixed-width font, it's virtually impossible to calculate the exact length of your blank. I said "virtually" - it depends on how much of yur life you want to spend learning PostScript. Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Small poll
I go for (b) as well. I played around with a snapshot of 1.3 some time back and there are some very nice features there, but I'm in no desperate hurry to upgrade. Since LyX is going up a major notch in version number, it may as well do it with a bang. Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: Qt?
Andre Poenitz wrote: On Wed, Oct 23, 2002 at 10:53:33AM -0700, Chris Carlen wrote: I just wonder if there is any known considerations going on about using Qt in Lyx. I wonder if this might be a good long-term move? Next release (1.3) is supposed to have an optional Qt frontend. It would be nice to have consistent user interfaces for all Linux programs. Yes. Everybody should move to xforms. Aaargh! xforms was fine in its time, when all UNIX interfaces were pretty ugly and a lot of us were still using B/W monitors, but that time has passed. We have Qt, GTK and XUL now, and changing from one of those to xforms is like travelling from a pretty village to an industrial estate. The only thing to be said in favour of using LyX with xforms is the feeling you get when you do the xdvi preview - that something so ugly could produce something so beautiful. Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: unknown tag
Looks like you don't have kghostview or reLyX in your path. Best thing is to delete ~/.lyx/lyxrc and let it configure itself with the defaults, then twek any settings you want. Robin Wolfgang Engelmann wrote: starting lyx on a shell gives me the following message: wolfgang:~$ lyx& [1] 2527 wolfgang:~$ LyX: Unknown tag `\latex_command' [around line 6 of file ~/.lyx/lyxrc] LyX: Unknown tag `\relyx_command' [around line 7 of file ~/.lyx/lyxrc] LyX: Unknown tag `\literate_command' [around line 8 of file ~/.lyx/lyxrc] LyX: Unknown tag `\literate_extension' [around line 9 of file ~/.lyx/lyxrc] LyX: Unknown tag `\view_ps_command' [around line 11 of file ~/.lyx/lyxrc] LyX: Unknown tag `\view_pspic_command' [around line 12 of file ~/.lyx/lyxrc] LyX: Unknown tag `\view_dvi_command' [around line 13 of file ~/.lyx/lyxrc] LyX: Unknown tag `\fax_command' [around line 17 of file ~/.lyx/lyxrc] it refers to this file (note, that it is ~/.lyx/lyxrc, and not LYXDIR/lyxrc): # This file has been automatically generated by LyX' lib/configure # script. It contains default settings that have been determined by # examining your system. PLEASE DO NOT MODIFY ANYTHING HERE! If you # want to customize LyX, make a copy of the file LYXDIR/lyxrc as # ~/.lyx/lyxrc and edit this file instead. Any setting in lyxrc will # override the values given here. \latex_command "latex" \relyx_command "reLyX" \literate_command "none" \literate_extension "none" \ps_command "gs" \view_ps_command "kghostview" \view_pspic_command "kghostview" \view_dvi_command "xdvi" \ascii_roff_command "groff -t -Tlatin1 $$FName" \chktex_command "none" \spell_command "ispell" \fax_command "none" \print_spool_command "lpr" \print_spool_printerprefix "-P" \font_encoding "T1" #number of recently used files in File-menu in a new lyx session \num_lastfiles 9 \serverpipe "~/.lyx/lyxpipe" It does not seem to interfere much with my lyxing, however if somebody knows what it means and how to get rid of the message I would appreciate the advice Wolfgang -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: determining next style
Matthieu Amiguet wrote: However, a nice feature would be something to force keeping the previous paragraph environment (though having said that, the defaults are usually pretty logical). You could bind it to something like M-Enter (by analogy with C-Enter for a line-break within the current environment). Wonderful idea... but just try it out: it's already there! at least it works for me: M-enter preserves the environment type and the nesting depth. Well, I've learnt two lessons from this: 1. Always have LyX open when reading the LyX list! 2. Have a look at the bind files and write myself a cheat-sheet (I did that once, but that was in the days when I was using KLyX). a somwhat bashful Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: determining next style
Paul Tremblay wrote: On Fri, Oct 18, 2002 at 08:34:18AM +0100, José Abílio Oliveira Matos wrote: Thanks. I had actually already actually figured out how to do this. Isn't there a way to use the same style for several paragraphs if this style is not the default style? How about if you made your own "quote" style, and wanted to use it to quote 3 pages of text? Well, that's what the "quotation" environment is for, so if you wanted to customise a style for several pages of quotation, you'd customise that one. There's also the simple workaround of writing in Standard, blocking and changing the whole lot (like you do for depth in lists). However, a nice feature would be something to force keeping the previous paragraph environment (though having said that, the defaults are usually pretty logical). You could bind it to something like M-Enter (by analogy with C-Enter for a line-break within the current environment). Robin -- "A free man ought not to learn anything under duress. Compulsory physical exercise does no harm to the body, but compulsory learning never sticks in the mind." - Plato Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: How to export to HTML with images ?
Mario Carugno wrote: I'm exporting from Lyx to HTML (using latex2html), but images aren't translated. Why ? What can i do to get html with images from Lyx ? Thank you That's odd - normally latex2html will convert all images to PNG format using (I think) pstopnm and pnmtopng (so you may be missing those programs). Try exporting as LaTeX, then running latex2html on the .tex file to see what errors you get. Robin
Re: Why two runs to make a correct TOC
Steve Litt wrote: > Hi all, > > This has been puzzling me for awhile. I make a new LyX file, inserting a TOC > button. View->Postscript and I get the word "Contents" with no TOC. In order > to generate the TOC I must add or delete a space (or otherwise materially > change the text of the document), and then View->Postscript again. > > Worse yet, any change in the file must be accompanied by a similar change in > the document. Stuff in the Layout->Document is not always sufficient -- for > instance, I can Layout->Document->Document_tab->Font_size: 12, save, and > view->postscript, and the contents will still have the page numbering they > had when the font size was 10. > > Sure, I can go back in, add a space, and again view->postscript to get the > right TOC, but clearly this behavior is an accident waiting to happen. > > I'm using LyX 1.1.6fix4 on Mandrake 8.2. > > Are there packages I can use to stop this behavior? Is there a workaround? > One really shouldn't need to recheck the TOC with every regeneration. > > Thanks > > Steve That is odd, but Mandrake and LyX often don't play nice. Try upgrading to LyX 1.2.1 - that works fine for me in Mandrake 8.2 and 9.0. Robin
Patches
Can anyone explain in really simple terms how to apply patches to CVS code (or point me to an appropriate page)? Thanks, Robin -- "We do not imprison ourselves with laws, or impoverish ourselves with money" - Iain Banks Robin Turner IDMYO Bilkent Universitesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin
OT - Mandrake/KDE icon
Just installed Mandrake 9.0 with KDE3. I noticed that the default icon for LyX is a typewriter. Is someone taking the piss or what? ;-) Robin
Re: libraries problem
On Friday 17 May 2002 08:39, [EMAIL PROTECTED] wrote: > please someone help me > > I get this error when installing lyx > failed dependencies: libstdc++-libc6.1-2.so.3 > or cannot load those libraries > I made a simbolic link but it didnt work either > undefined symbol: _default_alloc_template2b1i0._S_start_free Obvious question, but have you tried updating your lidstdc++ package or installing one of the devel packages? This did the trick for me. Robin -- "No discipline is ever necessary to force attendance upon lectures which are really worth the attending." - Adam Smith Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: Word count ;-)
On Tuesday 14 May 2002 09:52, Martin Vermeer wrote: > Read the comments here about word count in OpenOffice:: > > http://linuxtoday.com/news_story.php3?ltsn=2002-05-13-014-26-RV-DT >-SW&tbovrmode=1#talkback_area > > We have a word count function too, somewhat hidden: > custom export to ASCII defining the command as wc -w. The spellcheck also works as a word count. > Should this be provided more explicitly? Yes, if only to save time and prove to the skeptics that LyX can count! Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: 1.2.0pre5 install problems
On Monday 13 May 2002 11:02, [EMAIL PROTECTED] wrote: > On Mon, 13 May 2002, Herbert Voss wrote: > > what happens after edit->reconfigure and restart of LyX? > > There's no reconfigure on the edit menu! Only cut, copy, paste, and > emphasize. > > When the program opens there is only a file menu. When I open a new > or old doc, then only edit and document menus appear. > > It really seems crippled. Hoping this provides a further clue. I had a similar problem with one of the CVS builds (typing resulted in "unknown conmmand" messages, items missing from menus). In my case, removing my old lyx and the .lyx directory in my home directory before reinstalling fixed it. Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: lyx 1.20pre5 bugs and misses
On Monday 13 May 2002 07:45, Fernando Perez wrote: > > > And it must be easy to change, something like call unselect() > > > after the paste() function (I don't know the code, but I can't > > > imagine this being hard). > > > > You would be surprised :) > > > > Selection code is particularly crufty ... but Jug can it be fixed > > for all cases easily ? > > Well, sorry if I misjudged the complexity of the task. As I said, > I've never actually looked at the lyx code. > > But I do think that you are going to have a lot of people screaming > bloody murder if this goes into a public release. Going against > what basically every text editor/word processor on earth does on > something as common as a paste operation is going to throw a lot of > people off. > > And I think it's not just habit, but there's a good reason for the > common behavior to be so: after you hit 'paste' (whether via > keyboard or mouse) you should be able to continue editing right > there. If the first key you touch automatically destroys your > pasted text (because it remained selected), I can't see that being > anything other than an unpleasant surprise. I'm inclined to agree. Some word processor conventions come from pretending to be typewriters, but others have evolved through a long process of seeing what users need to do most often, and can do most easily. We can afford to ignore/modify some of the first group (e.g. LyX's ignoring double spaces) but, perhaps because of this, we should be careful to avoid flouting the more sensible conventions, and the pasting issue falls into this category, I think. Similar considerations apply to the GUI, IMHO. When GUI independence is realised, I for one would like to see the cryptic exclamation mark and little man replaced with something a little more guessable. > > I hope this isn't too much of a burden to you guys. I know you've > put a lot of work into this release and we're all waiting eagerly > for it. And we are _really_ grateful for the fabulous tool that lyx > is, honest. Amen to that. Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: making slides
On Wednesday 01 May 2002 19:24, [EMAIL PROTECTED] wrote: > thanks guys. I am looking already how to create my slides. Your comments > are really cool. > I don't want to ask something to start a controverse but from your > experience what Linux > distribution is better from LaTeX point of view: more TeX packages > installed by default etc. Some ideas ? AFAIK there's not much difference, if any -- a typical install will give you more packages than you could possibly use, in my experience. The main consideration, IMO, for choosing a particular distro is how compatible it is with your hardware and how easy it is to configure. TeX packages tend to be pretty small in any case, so downloading from your nearest CTAN mirror shouldn't eat too much bandwidth. Robin
Re: viruses
On Tuesday 30 April 2002 16:51, Thomas Templin wrote: > On Tuesday 30 April 2002 01:56, Robin Turner wrote: > > On Tuesday 30 April 2002 00:13, Thomas Templin wrote: > > [snip] > > > > Two problems here. While I prefer plain text mail, some people > > have email accounts which insist on sending as HTML (sounds > > stupid, but this issue has come up on a number of lists). Again, > > the sensible precaution is to be taken by the user: if you don't > > like HTML, whether as an indicator of spam or a bearer of > > malicious code, just set your mail client to read everything as > > plain text by default. If you really hate HTML, filter it out > > yourself. The second problem is with filtering attachments - > > it's frequently useful on a list of this type for people to be > > able to attach LyX files. Filtering out certain types of > > attachments (e.g. .exe, .bat) would of course be useful. > > We are talking about lyx-users list arent we? > So would you please show me who insist on using HTML coded mail > please. I didn't say the issue had come up on this list, but on "a number of lists". These include linux lists (so it doesn't just seem to be a question of ignorance). I don't know which mail services insist on HTML, but I assume that people who post to lists apologising for sending in HTML are those who are knowledgable but have no choice in the matter. Beats me. If everyone on the list is happy with a no-HTML policy, that's fine with me - I always have my mail client read HTML as text in any case. IMHO, the only point in using HTML for e-mail is when non-ascii characters are required, which doesn't really apply on an English language list. > > BTW. You dont say a word that _lyx-users_ liust is spreading > viruses. It had already been said, so I saw no point in repeating it. > Its one thing if a virus comes from a Windows machine but > it is an other if the maintainer of a list spreads them to all > subscribers. And the list maintainer knows about techniques to > avoid this but he dont care a bit. Point taken. OTOH, you seem to be assuming that Windows users on the list should be sufficiently knowledgable to prefer text-only mail, but lack the knowledge to install anti-virus software (people using Windows at work should already be protected). If the list maintainer wants to screen for viruses, then good on him, but to be honest, I don't see why he should pay to do so. Money spent on anti-virus software has to come from somewhere. Robin
Re: viruses
On Tuesday 30 April 2002 00:13, Thomas Templin wrote: [snip] > > > > --- I certainly want to make list participation as pleasant as > > possible but I feel no responsibility of any kind if "your hard > > drive is ruined". Indeed, I do not see why it is my > > responsibility to protect you from viruses; I am not your ISP. > > But you ar th maintainer of a mailing list which spreads viruses to > a lot of users, which may not be as professional as you are. Due to > my experience a lot/most users are not familiar with system > administration. Especially Windows users. Well, even Windows users should know enough to install anti-virus software. I sympathise with people who lose data because of virii, but then that's a risk you take if you choose to run Windows. And I seriously doubt that the kind of Windows user who doesn't know how to install and run something like Norton Antivirus would be up to installing LyX with CygWin! > > Viruses are just one of our problems: spam is the other. I can > > safely say that the only way to tackle both if we implement one > > of the two methods I described in my previous email. So we have > > to make the usual choice between security and convenience. > > Most of the spam mails was coded as HTML mail which could be > blocked. Up to now I have not seen any spam mail going over this > list which was not HTML coded. > > Sorry, but I have to disagree. > Lyx List is the only one I know which don't filter theese > attachments. > Most list maintainers dont allow attachments and HTML mailings. > Tools which allow a precise filtering of those trash can be found at > freshmeat and savannah. Two problems here. While I prefer plain text mail, some people have email accounts which insist on sending as HTML (sounds stupid, but this issue has come up on a number of lists). Again, the sensible precaution is to be taken by the user: if you don't like HTML, whether as an indicator of spam or a bearer of malicious code, just set your mail client to read everything as plain text by default. If you really hate HTML, filter it out yourself. The second problem is with filtering attachments - it's frequently useful on a list of this type for people to be able to attach LyX files. Filtering out certain types of attachments (e.g. .exe, .bat) would of course be useful. Robin
Re: 1.2 crashes on launch
On Saturday 27 April 2002 00:33, John Levon wrote: > On Sat, Apr 27, 2002 at 01:31:42AM +0300, Robin Turner wrote: > > 1.2 was working fine, but now crashes, giving the following message: > > > > Could not set menu font to -*-helvetica-bold-r-*-*-*-?-*-*-*-*-iso8859-1 > > Could not set popup font to > > -*-helvetica-medium-r-*-*-*-?-*-*-*-*-iso8859-1 > > compressed xlsfonts output please. Can you look at helvetica and/or > fixed in xfontsel ? > > If nothing's changed I can't see how LyX can be at fault ;) Me neither! LyX 1.2 produced this error message when I first ran it, but recovered itself by using a standard fixed-width font - now it doesn't. There is no helvetica font on my system, but this never used to produce problems in the past. The xlsfonts output is attached (gzipped). Robin xlsfont.txt.gz Description: GNU Zip compressed data
Re: more fonts in the font menu?
On Saturday 27 April 2002 12:52, Nirmal Govind wrote: > Hi, > > A couple of questions: > > 1. Is it possible to have the menu for Fonts in Layout->Document > show more fonts if they are installed and available? If yes, then > what's the procedure? If no, then is this going to be part of > 1.2.0? > > 2. Will it be possible to select parts of the text and change the > font in the next release? Right now, using Layout->Character, one > can change the family and shape etc. but not the font itself. (I > had a similar question abt entries in tables and was told that > that's been taken care of in 1.2.0) Unfortunately, there are no plans to incorporate either of these in the near future, AFAIK. You can, of course, change the font with LaTeX code (aka Evil Red Text). See "Using different Fonts in LyX" at http://www.bilkent.edu.tr/~robin Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: I hate asking compile questions...
On Saturday 27 April 2002 00:01, John Levon wrote: > Besides, only a proportion of the dialogs have been converted. Our next > major release will have a fully working Qt frontend. Here's a sneak peak > > http://www.movement.uklinux.net/ss2.png Nice to finally get away from that clunky grey 1980's-UNIX-look GUI! Will we be able to substitute our own icons, though? Robin
Re: New to LyX
On Saturday 27 April 2002 00:04, Emil Erlandsson wrote: > Hi > > I'm a new LyX user, and I have played with it a bit. My question is, is > there a site with example publications written in LyX ? (Except for those > included in the LyX package) . Not as far as I know. To get a good idea of what LyX can do, with a bit of added ERT (= Evil Red Text = raw LaTeX code), just print out the Extended Features help page - there are some impressive effects there. Somone on this list also used LyX to produce a very nice-looking fanzine some time back. One of my own ventures into LyX publishing (admittedly only within my own university) is at http://www.bilkent.edu.tr/~fast/term.ps Happy LyXing! Robin
1.2 crashes on launch
1.2 was working fine, but now crashes, giving the following message: Could not set menu font to -*-helvetica-bold-r-*-*-*-?-*-*-*-*-iso8859-1 Could not set popup font to -*-helvetica-medium-r-*-*-*-?-*-*-*-*-iso8859-1 Using 'helvetica' font for menus Could not find helvetica font. Using 'fixed'. BadFont (invalid Font parameter) id: 1077224896 I haven't done anything to either my lyx files or my fonts in the interim. Same happens if I delete the .lyx directory and create a new one. Robin
Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)
Sorry, I forgot to send my version information as requested. LyX 1.2.0cvs of Thu, Jan 11, 2001 Built on Mar 10 2002, 01:03:33 Configuration Host type: i686-pc-linux-gnu Special build flags:warnings assertions included-libsigc C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (2.96) C++ Compiler flags: -g -O -fno-exceptions -W -Wall Linker flags: Frontend: xforms libXpm version: 4.11 libforms version: 0.88.1 LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx Robin
Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)
On Thursday 25 April 2002 19:00, Juergen Spitzmueller wrote: > Jan Ulrich Hasecke wrote: > > /src/lyx starts fine. > > > > But I cannot type anything. > > Do you have a modified bind file (Preferences->Look'n'Feel->Interface)? > What does the console say? I had a similar problem, deleted my .lyx directory and started from scratch - worked OK. Robin
Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)
On Thursday 25 April 2002 15:07, Lars Gullik Bjønnes wrote: > Robin Turner <[EMAIL PROTECTED]> writes: > >> > How can ar be segfaulting? > >> > I just do not get it! > | > | I got the same thing. Reran make and it continued where it left off > | - no worries (that's one good thing about gcc and a well-written > | makefile). > > so you say that the first time it reach this spot it segfaulted and > the second time it worked? > Without changing ar? Yes, though I probably rebooted in the interim, which may have something to do with it. I left it compiling overnight, so I probably switched off when I went to work in the morning. Robin
Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)
On Thursday 25 April 2002 17:05, Jean-Marc Lasgouttes wrote: > >>>>> "Robin" == Robin Turner <[EMAIL PROTECTED]> writes: > > Robin> On Thursday 25 April 2002 10:41, Jean-Marc Lasgouttes wrote: > >> >>>>> "Robin" == Robin Turner <[EMAIL PROTECTED]> writes: > > Robin> Phew - I'd hate to do all that configuring/compiling again! > Robin> Seems to work well - the only thing I noticed was that you > Robin> can't change an inserted graphic from the dialogue box, you > Robin> have to delete the old image and insert a new one (I don't > > >> know Robin> if this was an issue with earlier versions). > >> > >> What do you mean? This should not happen. > > Robin> Well it sure did! This is running Mandrake 8.0, 1.2 CVS > Robin> compiled on 21/04/02. > > Could you give a step-by-step recipe to reproduce this? Oops - just realised that in Browse (from the insert graphics box) it's not enough to select and click OK - you need to double-click. What I was doing was selecting the same graphic file twice. I have to say, though, that this behaviour is a little counter-intuitive. In all other dialogue boxes, if you select a file and click OK, that is the file you get (the way xforms works, this is more reliable than double-clicking). Robin
Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)
On Thursday 25 April 2002 10:41, Jean-Marc Lasgouttes wrote: > >>>>> "Robin" == Robin Turner <[EMAIL PROTECTED]> writes: > > Robin> Phew - I'd hate to do all that configuring/compiling again! > Robin> Seems to work well - the only thing I noticed was that you > Robin> can't change an inserted graphic from the dialogue box, you > Robin> have to delete the old image and insert a new one (I don't > know Robin> if this was an issue with earlier versions). > > What do you mean? This should not happen. Well it sure did! This is running Mandrake 8.0, 1.2 CVS compiled on 21/04/02. Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)
On Thursday 25 April 2002 10:08, Koen Martens wrote: > Hello, > > This may seem pretty far fetched, but I had similar stange > behaviour last summer when compiling my linux kernel.. It turned > out the cpu fan wasn't rotating at full speed anymore, and that > together with the hot weather made the cpu overheat when doing > something heavy-duty like compiling a kernel.. > > Anyway, as I said. That is probably not it. > > Regards, > > Koen Martens > > On Wed, Apr 24, 2002 at 11:52:28PM +0200, Lars Gullik Bjønnes wrote: > > Ronald Florence <[EMAIL PROTECTED]> writes: > > | rm -fr .libs/libinsets.la .libs/libinsets.* .libs/libinsets.* > > | ar cru .libs/libinsets.a ExternalTemplate.o inset.o insetbib.o > > | insetbutton.o insetcaption.o insetcite.o insetcollapsable.o > > | insetcommand.o inseterror.o insetert.o insetexternal.o > > | insetfloat.o insetfloatlist.o insetfoot.o insetfootlike.o > > | insetgraphicsParams.o insetgraphics.o insetinclude.o > > | insetindex.o insetlabel.o insetlatexaccent.o insetmarginal.o > > | insetminipage.o insetnote.o insetparent.o insetquotes.o > > | insetref.o insetspecialchar.o insettabular.o insettext.o > > | insettoc.o inseturl.o Segmentation Fault - core dumped > > > > How can ar be segfaulting? > > I just do not get it! I got the same thing. Reran make and it continued where it left off - no worries (that's one good thing about gcc and a well-written makefile). Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: Prelease of LyX 1.2.0 and graphics
On Thursday 25 April 2002 07:14, Rod Pinna wrote: > Hi all, > > Just downloaded 1.2.0pre4 and tried it on one of my current docs, > from 1.1.6fix4. Under the present version, every graphics comes up > with an "Error scaling etc." message. The document still goes > through latex properly though. My system shows same behaviour (Mandrake 8.0, recent 1.2 CVS compiled from source). Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: problems with latex2html handling of eps figures
On Wednesday 24 April 2002 23:37, Stuart MacGregor wrote: > On further testing, the latex2html seems ok - it generates all the files it > needs, however it also generates .png image files which the .html file > needs - I can not persuade it to build these into the .html (it that > possible anyway?) No, it isn't. HTML only provides links to images. - I tried '-nosubdir -noexternal_images -nops_images > -split 0', to no avail. Those are probably the very commands that are screwing things up. I'd say you want to lose at least the first two. You might also consider using TTH if you want a more straightforward HTML converter. latex2html is good for longer documents where you want an index, forward and back buttons etc. but TTH works fine for one-page conversions. Robin
Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)
On Wednesday 24 April 2002 23:11, Lars Gullik Bjønnes wrote: > Robin Turner <[EMAIL PROTECTED]> writes: > | On Wednesday 24 April 2002 20:34, Lars Gullik Bjønnes wrote: > >> I belive that we have managed to stabilize 1.2.0pre4 to the degree > >> that we are confident with makeing its existance a bit more > >> widespreadly known. > >> > >> You can find the fourth prelease of LyX 1.2.0 at: > >> > >> ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.2.0pre4.tar.gz > | > | Is this substantially the same as the last CVS snapshot (which I compiled > | yesterday)? > > Yes, with only some small changes. Phew - I'd hate to do all that configuring/compiling again! Seems to work well - the only thing I noticed was that you can't change an inserted graphic from the dialogue box, you have to delete the old image and insert a new one (I don't know if this was an issue with earlier versions). Well done, guys! Robin
Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)
On Wednesday 24 April 2002 20:34, Lars Gullik Bjønnes wrote: > I belive that we have managed to stabilize 1.2.0pre4 to the degree > that we are confident with makeing its existance a bit more > widespreadly known. > > You can find the fourth prelease of LyX 1.2.0 at: > > ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.2.0pre4.tar.gz Is this substantially the same as the last CVS snapshot (which I compiled yesterday)? Robin
Re: bibtex file
On Monday 22 April 2002 20:34, Mauro Bardini wrote: > I have a bibtex file and I would like to build a reference list of all the > pubblications without making any citation. > How can I do that? Within a LyX document: (In ERT) \nocite{*} before you insert your bibliography If you just want a printout of the bibliography, printbib will creat a .dvi file from a .bib file. I don't have it on my system though, so don't know what the output is like. Robin
Re: Encrypted PDF???
On Sunday 21 April 2002 02:16, Yannick Patois wrote: > Real world example: I got once an encrypted pdf that didnt wanted to > 'print', I already had to recompile xpdf to patch with the crypt > functionality. I just modified 2 lines in the source code (just commented > out something like 'if document says that it dont want to print, then > dont print') and I could print the pages I wanted. AFAIK, disabling printing is the main purpose - a lot of journals that post online articles seem to prefer this, so that people will still pay for offprints of articles. Except of course, we usually don't. I hear that KDE 3.0 will have support for cut and paste in the PDF viewer, so that would screw that one up anyway. Let's face it, if someone really wanted to copy/edit/print and encrypted PDF file that much, they could view it, print out a screen shot and scan it into an OCR. Or just type it out by hand. Robin
Re: Printing
On Saturday 13 April 2002 23:27, jbw wrote: > I've having a problem printing directly from Lyx. I open a doc and select > print from the menu and nothing happens. I save out the doc as a *.ps file > and do lpr *.ps and it prints with no problem. > > Anyone know why this is happening. I'm using lyx 1.1.6.4 on FreeBSD 4.5. Have you checked Edit->Preferences->Outputs? On the Printer tab check that you have the right printer name (on most UNIX/Linux systems this will be lp). Robin
Re: Re: No math menu
On Thursday 11 April 2002 09:18, Guenter Milde wrote: > On Wed, 10 Apr 2002 13:46:30 -0400 wrote "David R. F. Love" <[EMAIL PROTECTED]>: > > Andre' Poenitz wrote. > > > > > Ah... but it's in Insert again in 1.2.0 > > > > That's still in beta isn't it? > > Worse, it's in cvs. It works pretty well for the most part, though. Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: Re: International Phonetic Alphabet wit lyx
On Wednesday 10 April 2002 17:55, Ronald Florence wrote: > Matej Cepl writes: > > One more reason for Python support in LyX. > > Hear, hear!!! (frenetic applause) > > No thank you. Some of us are too old to learn yet another minor > programming language. I'm sure python, like tcl or icon (from the > University of Arizona), has its strong points, just as sh/ksh/csh have > their strong points -- but python, tcl, and icon remain fringe > programming languages with tiny user and library bases. If LyX is to > have a language for user extensions and modifications, I'd rather see > a traditional and powerful language like elisp, which has proved so > versatile in emacs/xemacs and would allow so much of the xemacs/emacs > extensions to be easily ported to LyX. Or perhaps the developers > could borrow from Apache mod_perl and allow users to code extensions > in perl. I'd say perl, given the massive user base and the wide availability of existing modules. OK, it's not the most aesthetic language around (generally looks like a spider's been tap-dancing on my punctuation keys) but it's familiar and well-suited to operations on text. Robin
Re: Suppressing page numbering
On Tuesday 09 April 2002 17:01, Matej Cepl wrote: > On Tue, Apr 09, 2002 at 12:40:37AM -0600, Kent Kostuk wrote: > > I was just wondering if there is a better way to suppress the page > > numbering on a title page. > > > > I used > > > > \pagestyle{empty} > > > > on the page that I wanted to suppress the page number, and then used > > \thispagestyle{empty} works only the one page. It may be better > for you. Why not just use a layout that puts the title on a separate un-numbered page, like report or book? Alternatively, in LaTeX you can do \begin{titlepage} Your title page material \end{titlepage} If you use this in LyX, make sure there are no formatting features (e.g. centre alignment) in the paragraphs you use for your commands. Robin
Re: Problems with cedilla
On Wednesday 03 April 2002 22:29, Robin Turner wrote: > On Wednesday 03 April 2002 18:08, Jean-Marc Lasgouttes wrote: > > >>>>> "Alexandre" == Alexandre Jacarandá <[EMAIL PROTECTED]> writes: > > > > Alexandre> I had LinuxPPC on this machine, but I upgrade ( reinstall) > > Alexandre> with Mandrake PPC 8.0 with kernel 2.4.18 Thanks, Alexandre > > Alexandre> Gonçalves Jacarandá > > > > I suspect the problem is more due to the system upgrade than to lyx. > > Do you have problems with other applications? What version of xforms > > do you use (lyx -flversion)? > > I've had similar problems with the Turkish character set - it seems to be a > complex thing between the Linux version and the LyX version. Mandrake 8.0 > doesn't play nicely with LyX 1.1.6, but so far I've had good results after > installing 1.2 CVS. Mandrake 8.1 has no problems with either version. Sorry - I should have mentioned that 1.2 was compiled from source, which might be what makes the difference. You might be able to get the same results by compiling 1.1.6, but I've not tried that. Robin
Re: Problems with cedilla
On Wednesday 03 April 2002 18:08, Jean-Marc Lasgouttes wrote: > > "Alexandre" == Alexandre Jacarandá <[EMAIL PROTECTED]> writes: > > Alexandre> I had LinuxPPC on this machine, but I upgrade ( reinstall) > Alexandre> with Mandrake PPC 8.0 with kernel 2.4.18 Thanks, Alexandre > Alexandre> Gonçalves Jacarandá > > I suspect the problem is more due to the system upgrade than to lyx. > Do you have problems with other applications? What version of xforms > do you use (lyx -flversion)? I've had similar problems with the Turkish character set - it seems to be a complex thing between the Linux version and the LyX version. Mandrake 8.0 doesn't play nicely with LyX 1.1.6, but so far I've had good results after installing 1.2 CVS. Mandrake 8.1 has no problems with either version. Robin
Re: General typesetting question (slightly OT)
I'd go along with what Ronald said, especially the bit about your publisher/printer's tastes (if you're lucky, you'll find one that accepts a straightforward TeX document, but this is a rarity outside academic publishing). I still think Knuth's Computer Modern fonts provide the most elegant solution, though, since the different faces are designed to go well together. OTOH, if your printer asks for copy in PDF format (as apparently most do these days) you may have problems using non-Adobe fonts. BTW, I heard on another list that printers aren't keen on the PDF output from ps2pdf. Anybody know what the problem is? Robin
Re: Re: centered section titles without without words
On Wednesday 27 March 2002 09:41, Guenter Milde wrote: [snippet] > > still more elegant: create a new LyX *.layout in your > ~/.lyx/layouts directory. > > Example for article: > > > #% Do not delete the line below; configure depends on this > # \DeclareLaTeXClass{article (with empty centered headings)} > > Input article.layout > > Style Section > KeepEmpty 1 > Align Center > AlignPossible Left, Center, Right > End I tried a similar thing once, the relevant part being # Heading style definition (adapted from Part*) Style Heading MarginDynamic LatexType Command LatexName part NeedProtect 1 NextNoIndent 1 LabelType No_Label ParSkip 0.4 TopSep4 BottomSep 4 ParSep0.8 Align Center Alignpossible Left Center Right This comes out centre-aligned in LyX, but is still left-aligned in the output. Any idea what I'm doing wrong? Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: centered section titles without without words
On Tuesday 26 March 2002 23:38, Roman Milner wrote: > Hello. What I want to do is have sections without titles with centered > numbers. ie. the beginning of a sction would looke like this: > >3 > > Lyx forces me to types words by the section number and as far as I can > find gives me no way to center the section title. I tried putting the > latex center command around the section title, but that didnt' work. Inelegant kludge Use the "article (AMS)" style, which centres sections. Then put a protected space (Ctrl-space) to stop it disappearing. Robin
Re: look of tables
On Tuesday 26 March 2002 18:47, Lars Ehrichs wrote: > Hi ! > Watching my table as dvi it looks not very good , the borders are very > close to the characters. Also there is no linewrap. Can I use a different > kind of tables in lyx ? I am using document type article. You can adjust the height of rows by putting the following in your preamble: \usepackage{array} \setlength{\extrarowheight}{8pt} where the measurement (8pt in this case) can be anything you want. For width of columns, the easiest is to choose a fixed width column in the Tabular dialogue. Robin
[OT] Re: spam (was Re: TRANSACTION)
On Friday 22 March 2002 16:16, Ronald Florence wrote: > Robin Turner writes: > > Some spam is so funny [...] > > A certain amount of spam may be inevitable on the mailing list, but I > suspect I'm not alone in hoping that subscribers won't aggravate the > annoyance with commentary on the spam. Or commentary on commentaries? We could get into a Von Neumann infinite regress here ;-) I had assumed a certain amount of light-hearted commentary on _whatever_ was acceptable on the list. I admit I should have marked it OT (as I have done with this one) though why someone who doesn't wish to read commentary on spam should bother opening a post marked Re: is beyond me. Robin
Re: TRANSACTION
Some spam is so funny, I can't even get angry at it! I have a legal question, though. Does this mean that the members of this list are, collectively, the next of kin, or is it the LyX program itself? And if so, is this 1.1.6 or 1.2 CVS? We could see some ugly wrangling here; 1.1.6 is the elder version, but 1.2 may be able to make a stronger claim to being the "real" LyX. My vote is that the money go into a trust fund to be claimed by version 2.0 when it comes of age. No GUI-indpendence, no inheritance. Robin On Friday 22 March 2002 03:38, Scott Ogun wrote: > It is my humble pleasure to write this letter irrespective of the fact > that you do not know me. However, I came to know of you in my private > search for a reliable and trustworthy person that can handle a > confidential transaction of this nature in respect of this, I got your > contact through an uprooted search on the internet. Though I know that a > transaction of this magnitude will make any one apprehensive and worried, > but I am assuring you that all will be well at the end of the day. > > Let me start by first introducing myself properly to you. I am Scott Ogun, > I work in a bank at the private banking sector > > A foreign customer of my bank died under mysterious circumstances in a air > crash, until his death five years ago, He had a closing balance of > USD$20.5M (Twenty Million Five Hundred Thousand United States Dollars) > which the bank now unquestionably expects to be claimed by any of his > available foreign next of kin. Or, alternatively be donated to a > discredited trust fund for arms and ammunition at a military war college > here in Nigeria. The banking ethics here does not allow such money to stay > more than six year, because the money will be recalled to the bank > treasury as unclaimed after this period. The bank will now have the right > to do as they please with this money. > > Fervent valuable efforts made by my Bank to get in touch with any next of > kin (he had no known wife and children) has been unsuccessful. The > management under the influence of our chairman and board of directors, are > making arrangement for the fund to be declared "UNCLAIMABLE " and then be > subsequently donated to the trust fund for Arms and Ammunition which will > further enhance the course of war in Africa and the world in general. > > In order to avert this negative development. I now seek for your > permission to have you stand as the next of kin. So that the fund > (USD$20.5M), would be subsequently transferred and paid into your bank > account as the beneficiary next of kin I am assuring you a 100% risk free > involvement. Your share would be 40% of the total amount. You should not > entertain any fear as all modalities for fund transfer can be finalized > within five banking days, after you apply to the bank as the next of kin. > > If this proposal meets your approval, then kindly contact me immediately > via my e-mail furnishing me with your most confidential telephone, fax and > e-mail, so I can forward to you the relevant details of this transaction. > The email address to respond to is [EMAIL PROTECTED] > fax number: +234-1-7590244 > > Thank you in advance for your anticipated cooperation. > > Respectfully submitted. > > Mr. Scott Ogun > > N.B > (If you have received this email in error, please accept my apology. If > you no longer wish to receive email from me, please do not reply. Your > request will be honored).
Re: [OT] Converting image files to PS or PDF
On Wednesday 20 March 2002 20:13, Roberto Hernandez wrote: > Hi everyone, > > This is a bit off-topic, but I can't think of a better place to ask. I > have a bunch of scanned pages, which I would like to convert to PS or > PDF. In case the format matters, most of them are TIFF or JPEG. > > Is there any program that can take all these files as input and produce > one PS or PDF document? Sorry, I missed the significance of the last sentence. Assuming they're all in the same directory (and there are no non-graphic files in that directory) just cd to it and convert -adjoin * ps:foo.ps That will give you a multipage PS document called foo.ps with an image on each page. Robin
Re: [OT] Converting image files to PS or PDF
On Wednesday 20 March 2002 20:13, Roberto Hernandez wrote: > Hi everyone, > > This is a bit off-topic, but I can't think of a better place to ask. I > have a bunch of scanned pages, which I would like to convert to PS or > PDF. In case the format matters, most of them are TIFF or JPEG. > > Is there any program that can take all these files as input and produce > one PS or PDF document? Assuming you're using Linux/UNIX, "convert" should do the trick; for example convert foo.tiff eps:foo.eps You could also batch convert; e.g. for i in *.tiff; do convert $i eps:$i.eps; done There's probably a more elegant way to do that (you end up with filenames liek foo.tiff.eps) using the convert options - I just skimmed the man page. If you prefer to do things GUI-style, then the GIMP or Image Magick should do the trick, but it's a lot slower than doing it through the command line. Robin
Re: Dangerous BUG: Search/Replace
Doesn't happen in 1.2 CVS, Mdk 8.1, fortunately. I didn't find anything on this in Bugzilla. Perhaps someone could try to reproduce this in 1.1.6 (not on their latest novel!) and post a bug report. Robin On Tuesday 19 March 2002 03:26, Laszlo E Szabo wrote: > Hello, > > RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4 > > I reported a dangerous bug some days ago, but I made a mistake. The > actual problem is even more dangerous: > Enter a word into the search box AND PRESS (sorry, I wrote > in my previous mail). It starts to DELETE all instances of > the word you entered. It is dangerous if you have a long part of > the document which was not yet saved. Because you cannot step by > step undo deleting say 5000 "The"-s in a book (it would take a few > hours). The other possibility is to close the file without saving > and opening it again without using the autosaved version, which > means you lost the not yet saved part of the document. So, you are > enforced to make a choice between loosing 5000 "the"-s or loosing > the new part of the text you wrote. So, you cannot search, "the > apple", for example, because of the space. > > Laszlo -- "Give me the views, and I'll give you the arguments." - Chrysippus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: addition of LaTeX packages
On Monday 11 March 2002 12:07, Carlo F. wrote: > Hello everybody. > I use LyX 1.1.6fix3 provided with GNU/Linux Mandrake 8.1 > distribution. On my PC is installed Tetex with latex 2e. I have a > document written by LyX and I would like now to "format" it > according a new document class package provided by an editor. I > have download from the editor web site via ftp, such a code, with > ".cls" and ".sty" files. > Perhaps, is there someone so kind as to tell me what I have to do > with such files, where I have to put them in order to use them > within LyX ? 1. become root 2. copy the files to a directory where TeX can see them e.g. /usr/share/texmk/tex/latex/mynewdirectory 3. run texhash > And can I avoid to rewrite the whole old document (containing five > float tables), for having it formatted accorting to the desidered > new "format" ? How? See the documentation with the class, if there is any. Normally it's enough to put \usepackage{name_of_package} in the LaTeX preamble. Robin -- "Give me the views, and I'll give you the arguments." - Chrysippus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: A Newsgroup For LyX
On Saturday 09 March 2002 15:07, Koen Martens wrote: > Furthermore, I think a newsgroup is much more vulnerable to spam and if > there's anything i'm not waiting for it's more spam.. It's not just spam, it's cross-posting and other irrelevancies. People tend to subscribe and post to far more newsgroups than they have a real interest in. Robin
Re: Landscape figure
On Tuesday 05 March 2002 20:02, Herbert Voss wrote: > On Tuesday, 5. March 2002 17:37, Roberto Hernandez wrote: > > I have some very large figures to include in a document. What I'd like > > to do is include them in a page of their own in landscape format (the > > images are such that width > height), but the rest of the text is in > > portrait format. They need to be in a float so I can include a caption. > > Any tips on how to do this? > > use packages lscape and nonfloats. > Also have a look at > http://www.lyx.org/help/floats/nonFloat.php3 I dream of a super-LyX with it's own TeX-spider which will constantly check CTAN for packages which it thinks I might find useful and, based on what I'm trying to do, include whichever one is most important. There again, by that time, AI will probably have advanced to the point where I can say to LyX 2030, "Hey, you remember that conversation I was having with Larry about categorisation and phenomenology? Write it up as a paper and send it off to _Cognitive Linguistics_ would you?" ;-) Robin
Re: Transfer Latex documents to Lyx environment
On Monday 04 March 2002 19:40, Juergen Fenn wrote: > Giorgio Corani schrieb: > > File->Import->Latex > > and you're done:=) > > I'm afraid not. I have not managed to import any of my LaTeX files into > LyX so far. Importing LaTeX into LyX seems to be harder than it appears > at first sight. > > I am running SuSE Linux 7.2. Has the import feature been improved > lately? > > Are there LaTeX commands the import filter definitely does not work > with? It just crashes without any further notice. :-( See Help->Extended Features 5.4.3.6. Robin
Re: booktabs
On Monday 04 March 2002 17:13, Matej Cepl wrote: > On Mon, Mar 04, 2002 at 08:37:22AM +0100, Herbert Voss wrote: > > what about this? > > > > http://www.lyx.org/help/table/vline.php > > Well, almost. See attached example -- I have to use multicolumn > (because of the last subheading) and of course latex hugely > complains, when it has \midrule in \multicolumn. > > Another note, is that booktabs just cries for WYSIWYM solution: > user creates regular table with \hlines, and then when ``Use > booktabs'' option is checked, LyX translates the first \hline to > \toprule, the last one to \bottomrule and everything else to > \midrule or \cmidrule. That's WYSIWYM as I would like to have it. > Well, I know, maybe in 1.3.*. But, I suppose, that this paragraph > is not for you, Herbert, but rather for developers on this list > (yes, I know, I should file it on bugzilla; I will do, > sometimes). I'd love a table wizard with loads of groovy styles - that's one of the few things I miss about conventional word processors. Given what's possible with pstricks etc., it's feasible, but I think I'll have to wait well beyond 1.3 for something like that (more like 3.1!). As far as I remember, only bugs go to bugzilla, feature requests go here, unless you're a developer. Robin
Re: printing esolution
On Thursday 28 February 2002 11:08, Oliver Margraf wrote: > Well, I tried this and set the resolution in GhostScript options > to 1200x1200, but it's still looking the same. > Maybe there is a special config file? -> the man page of gs only > tells you how to use the gs command, but where you can handle the > preferences. Did you try gs -sDEVICE=laser -r1200x1200 The defaults are held in the .Xdefaults file. From the gs documentation: To set X resources, put them in a file (such as ~/.Xdefaults on Unix) in a form like this: Ghostscript*geometry: 595x842-0+0 Ghostscript*xResolution: 72 Ghostscript*yResolution: 72 Then merge these resources into the X server's resource database: xrdb -merge ~/.Xdefaults Robin -- "Never mind the quality, feel the bandwidth." Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: printing esolution
On Wednesday 27 February 2002 23:58, you wrote: > Hi all, > > I'm fairly new to LyX and have a (hopefully) simple problem: How can I > force LyX to create PDF's (or even PS) with more than 300 dpi resolution > for printing? I've read the manual and the special tips, but there was not > mentioned, how to change the printing resolution (only screen).I hope this > is possible, because the layout looks very good, but the printing quality > on a 600/1200 dpi printer doesn't look that good. I'm using LyX under > Darwin/OSX and view the file first in ghostscript (as PDF) and then I save > it for printing it from OS X side (haven't set up the printcap yet) > respectively storing it for exchange with others. > Thanks in advance. That's a tricky one. One possible solution is to set up gs so that it has a certain resolution. Try "man gs" for information on this. Robin
Re: Chapters without the big word Chapter??
On Wednesday 27 February 2002 20:18, Juergen Fenn wrote: > Aaron Broad schrieb: > > I'm trying to write some reports for school. The report layout would be > > perfect except it precedes chapter headings with the word chapter. I'd > > like just the numbers. So i use article layout but then it doesn't > > insert any useful pagebreaks. > > [...] > > You do not need to use article. Try anonchap.sty from CTAN to supress > the word "Chapter" in headings. Or just use ERT: \renewcommand{\chaptername}{} Robin
Re: Spammers and viruses?
On Wednesday 27 February 2002 18:07, Niklas Werner wrote: > [EMAIL PROTECTED] wrote: > >OK, it seems we have some spammers around here. > > > >In the last two days I've received via the lyx list a message from > >[EMAIL PROTECTED] with attachments named "playboy.gif", and two other > >messages with a possible virus. This could explain why I received a mail from postmaster@somewhere-or-other telling me that I'd sent them a virus, when in fact _I_ hadn't sent them anything at all (and no, I _don't_ use MS Outlook!). Robin
Re: pandora breaks pdf output ? (was Re: kewl resource
On Thursday 21 February 2002 03:40, Paul Johnson wrote: > Hm. When I use the pandora package, my pdf output is no good. Do you > see the same? Looks fine usng Export->PDF, but won't work with Export->pdflatex. It's probably that PDF bug to do with vector fonts that has launched a thousand posts. I'll just reboot into Windows and check it ... Robin
Re: kewl resource
On Wednesday 20 February 2002 18:30, Rachel Collins wrote: > > > > > > \usepackage{pandora} > > > > This is especially cool for slides (e.g. with seminar), as pandora fonts > > are wider than the normal fonts and also kind of "semi-serif". > > In my effort to learn more about LyX, I tried this. When I try to view the > file, I get: > > Error: /invalidfontGNU Ghostscript 6.51: Unrecoverable error, exit code 1 > in /F17 That's odd - if you have the pandora.sty file in your TeX distribution, you should have the fonts. Could be something wrong with Ghostscript, or you might not have an entry in $TEXMF/dvips/base/psfonts.map. Robin