Re: debian and the latex file structure
First, if you'll go to http://packages.debian.org you can see at the bottom a form to search for file names in packages, specifically for a4.sty you can find that tetex-extra includes a4.sty, just apt-get install tetex-extra and you'll be fine. .dtx and .ins are the latex "package", you need to run it through latex and they will produce the .sty file and anything else necessary. * Alexis Wiasmitinow <[EMAIL PROTECTED]> [010911 10:14]: > Hi > > if I want to make a A4-small margins format, lyx (or latex) says "file a4.sty > not found". I know from the latex configuration file that the package is not > installed. so I tried to get it from ctan.tug.org but there is only a > "a4.dtx" and a "a4.ins" file. > so where do I get the a4.sty file? > > I got lyx from debian by apt-get, and so I have no idea what is the system > between all the folders I have in my /usr/share/texmf directory. > so what has to be put where? > > what is the debian package with a4.sty in it? > the geometry package would also be nice, but my problems are the same than > above... > > thanksAlexis Wiasmitinow -- Baruch Even http://baruch.ev-en.org/
Re: problems with eps and lyx 1.1.6fix3 (and fix1)
On Sun, 9 Sep 2001, Praedor Tempus wrote: > I am having problems with lyx 1.1.6 fix3 and and eps file. I suspect that this is a problem with the EPS file. What program have you used to generate it? Maybe it is a postscript file, not actually EPS. If it is a bitmapped image and you have the original (.png or .tiff, for example) try converting it to EPS using some other program.
debian and the latex file structure
Hi if I want to make a A4-small margins format, lyx (or latex) says "file a4.sty not found". I know from the latex configuration file that the package is not installed. so I tried to get it from ctan.tug.org but there is only a "a4.dtx" and a "a4.ins" file. so where do I get the a4.sty file? I got lyx from debian by apt-get, and so I have no idea what is the system between all the folders I have in my /usr/share/texmf directory. so what has to be put where? what is the debian package with a4.sty in it? the geometry package would also be nice, but my problems are the same than above... thanks Alexis Wiasmitinow
Re: problems with eps and lyx 1.1.6fix3 (and fix1)
I'm actually running a Cooker system so I am beyond 8.0 (and closer to 8.1). In any case, I haven't even tried printing because the gv image clearly show me that the right side of the table is way too close to the right page margin - the printer will clip it and cannot print that close to the margin. On Monday 10 September 2001 10:12 pm, Steve Litt wrote: > Are you using Mandrake 8.0? If so, try updating your CUPS printing system. > That fixes some problems with printing files containing .eps graphics. > > STeve
Re: problems with eps and lyx 1.1.6fix3 (and fix1)
Are you using Mandrake 8.0? If so, try updating your CUPS printing system. That fixes some problems with printing files containing .eps graphics. STeve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk. On Sunday 09 September 2001 07:05, Praedor Tempus wrote: > I am having problems with lyx 1.1.6 fix3 and and eps file. > > I open a new document, type in "Table 1a" and then select Insert ->Figure > and then I have tried with both eps and inlined eps for an eps file I > generated. It displays just fine IN lyx but if I try to view a preview page > with dvi, pdf, or ps, all I see is the text I typed: Table 1a. No inserted > table eps file. > > Furthermore, with previewing a ps file in gv, it invariably indicates that > there are 3 pages, the first page simply displays "Table 1a" which I > entered but there is nothing on any of the 3 pages - and I get an error > window for ghostview with a totally gibberish error, with all the text > rapidly rendering on top of itself. > > Nothing like this happens with dvi or pdf, just the blank page with the > text I entered. > > I upgraded to fix3 from fix1 when I ran into this but it remains the same. > > Why would it display fine IN lyx but trying to render it for printing or > display totally wrecks it? > > praedor
problems with eps and lyx 1.1.6fix3 (and fix1)
I am having problems with lyx 1.1.6 fix3 and and eps file. I open a new document, type in "Table 1a" and then select Insert ->Figure and then I have tried with both eps and inlined eps for an eps file I generated. It displays just fine IN lyx but if I try to view a preview page with dvi, pdf, or ps, all I see is the text I typed: Table 1a. No inserted table eps file. Furthermore, with previewing a ps file in gv, it invariably indicates that there are 3 pages, the first page simply displays "Table 1a" which I entered but there is nothing on any of the 3 pages - and I get an error window for ghostview with a totally gibberish error, with all the text rapidly rendering on top of itself. Nothing like this happens with dvi or pdf, just the blank page with the text I entered. I upgraded to fix3 from fix1 when I ran into this but it remains the same. Why would it display fine IN lyx but trying to render it for printing or display totally wrecks it? praedor
Re: LyX<->Palm Document Exchange....
Hi, > > Question: what software are you using to sync your HandEra under Linux? I've > been trying to use KPilot, but it's been a pain (doable, but a real pain). > I use jpilot for a Palm m100(standard in Mandrake, otherwise google will get it). Works great, has a very nice "desktop" interface, and does one thing Palm's own software doesn't do: a true 100% backup of the handheld. It has already saved me a lot of grief after I inadvertedly ran out of batteries once. I don't know if it will work with the HandEra, give it a try. By the way, I wish you good luck on what you want to do with Lyx and handheld editing, but I'm not very optimistic. Most document converters are somewhat imperfect, and trying to go back and forth between two different formats is typically a recipe for disaster. In most cases you can get away with one conversion, but doing Lyx->Other_format->Editing->Lyx I suspect is *very* likely to give you lots of grief. Again, good luck, and maybe drop a line when you are further ahead letting us know if you got it to work without as a real day to day system. Regards, Fernando.
Hello, and my first problem.
Hi. I've had LyX around for awhile now, but am still a newbie at using it. Until the other day, I didn't really have any need to write anything. Now I am attempting to write a tutorial for the PHP language, and have run into a few problems. Sorry for the not-so-descriptive subject, but I couldn't figure out the best way to summarize my problem. :) My version of LyX is 1.1.6fix2-1 (installed via RPM), and I'm running it on Redhat 7.1. Also, I know nothing about LaTeX. In order to conserve list bandwidth, I uploaded my (23k) document to my website, so please retrieve it from http://cyclist.newcreature.org/phptut.lyx First of all, when I export it as HTML I get the following error: /usr/bin/nsgmls:0:329:5:E: end tag for element "TAG" which is not open It doesn't abort on the error. I.e., the html does get generated. However, when I first started I was using the "DocBook Article" layout instead of the "LinuxDoc Article" one and I think it was aborting with that layout...can't remember for sure. The other problems occur in section "4.1 Arithmatic Operators". The snippet of PHP code in the "code" paragraph environment wraps in the output even thought the lines aren't too long, and don't wrap within LyX. Some of the shorter lines wrap while longer ones don't! The last problem occurs in the next-to-last paragraph. There is a mysterious line break between "10%3" and "is 1" in the output even though LyX doesn't show one. I would greatly appreciate any help, Ben Logan -- When Linux won't install on some hardware configuration, it means you you need to switch to Windoze; but when a M$ product won't install, it means you need to buy a new computer.
HFill with leading periods?
I'am using LyX now for about a year and I still like it very much. I helped my wife to write a 35 page long paper for her diploma. Thanks to all the developers and specially to Herbert Voss and his very helpful compendium of useful LaTeX and LyX tricks!! But I have a small problem which I could not yet solve and for which I didn't find any help on the web. Sometimes I would like to have "HFill with periods". Sometimes (in other programs) also called "tabs with leading character" e.g. {.,-}. E.g. my line should look like Some text ...After HFILL with period I have found in my "A guide to LaTeX" the TeX-function \dotfill which does the job for me. Is there a LyX-way to use this feature (except the trivial solution to insert it using the TeX-style)? (I fear that the LaTeX-solution is not very appealing to newbie's). Regards --- Niklaus Giger Wieshoschet 6 CH-8753 Mollis [EMAIL PROTECTED] Tel. + 41 55 618 64 68, Private + 41 55 612 20 54
Re: LyX tables in a A4 document
Adolfo Pachón wrote: > > HI all!! > > How have I to make tables to keep it in the doc? My tables output the > paper. Two possible solutions. 1. If you want to keep your column widths the same and have the rest of the table printed below (usually ugly), right-click on your table and select Lontable. 2. Set the column width -- right click, click the Column/row tab and enter your desired width in the Width box. Remember you need to specify the units, e.g. "3cm". Robin
LyX tables in a A4 document
HI all!! How have I to make tables to keep it in the doc? My tables output the paper. thanks -- Adolfo Pachón (Director Desarrollos).
Only one LyX source document for all exports
Hi all!! I've one LyX document with figure floats & PS figures. I want to produce the HTML & PDF versions, but the PDF version do not produce the images. My question is: How can I export the same source LyX document to HTML (with LaTeX2HTML) and to PDF (with pdflatex) with quality? Thanks. -- Adolfo Pachón (Director Desarrollos).
Re: Can I name a font?
On Monday 10 September 2001 06:57, Dekel Tsur wrote: > On Sat, Sep 08, 2001 at 05:54:31PM -0400, Steve Litt wrote: > > I'd like to create my own custom font (in LyX, not just in Latex). > > According to Customization.lyx, > > > > Is there a name property to give it a name so I can bind it to a menu? Is > > there a latex property so I can associate it with a latex font? > > > > What I'm trying to do is create a custom character style (NOT an > > Environment) called "step" that I use for steps in the Universal > > Troubleshooting Process. There are hundreds of occurrences of these, so I > > don't want to use font-underline or something like that. Nor do I want to > > stop every time and go into tex mode. What I'd like to do is highlight > > the phrase, and Layout->StepStyle, and have the right thing happen in LyX > > and in the Postscript output. There are several other character styles I > > need to do, but once I have one I can do the rest myself. > > No. This is one of the main missing features of LyX, but there are plans to > add it soon. > > In the meantime, you can use the following hack: > Use colors for character styles, and put \usepackage{mystyles} in the > preamble (you can put it in the layout file), where mystyles.sty is > something like > > \usepackage{ifthen} > \renewcommand{\textcolor}[2]{% > \ifthenelse{\equal{#1}{red}}{\textit{#2}}{}% > \ifthenelse{\equal{#1}{green}}{\textbf{#2}}{}% > } > > (the % at the end of the lines is important) You're a genius Dekel! I used your coloration method to do EXACTLY what's needed in my book. Each color is a character style, and it leaves its own name in the .lyx file for future parsing and easy modification. So red is the "steps" character style, and magenta is the "chapters" character style, and I can change all instances with a single change to the stuff inside the preamble/endpreamble in my .layout file. The one significant change to your example was the inclusion of a third ifthenelse{}{} so that #2 gets printed if it's not red or magenta. You might think it would be confusing remembering red is steps and magenta is Chapters, but I'll put a note on my monitor to remember, and maybe a comment in the document. Thank you very much. This fixed a BIG problem for me. \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{{\LARGE\textsf{#2}}}{}% Steps \ifthenelse{\equal{#1}{magenta}}{{\LARGE\textit{\textsf{#2{}% Chapters \ifthenelse{\equal{#1}{magenta}\or\equal{#1}{red}}{}{#2}% fallthrough } By the way, if \textsf is sans, and \textbf is bold, anyone know how to make underline? Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Re: LyX<->Palm Document Exchange....
On Sunday 09 September 2001 13:10, Nicholas Piper wrote: > I got QuickWord free with my HandEra. It isn't as comprehensive as > WordSmith, but my LyX/Palm system only calls for a very basic editor. I wanted something more comprehensive as I am going to be doing a lot more work with the machine on the road. Basically, I am treating this as a laptop instead of getting a laptop. I know, may be a bit strange to do something like that, but the power and functionality for what I need is there, and the expense is significantly less. So, it seem(s) appropriate to me. > I use the normal "doc" format. I convert with txt2pdbdoc, but you can > use anything. There are loads of answers to txt <-> doc. Yeah, I thought WordSmith was using JDoc, but as it turns out, it is using the normal doc format. > I use CVS. I keep a CVS respository, and checkout once for LyX to > edit, and once for the palm. I use txt2pdbdoc to convert the .lyx file > from one checkout, and then the same program to convert it back to > text (.lyx) and copy it over the existing version when I'm done > editing on the palm. CVS will merge things by itself. Yeah, I was thinking about doing something with CVS, but hadn't thought it all the way through yet. Glad to see that I am on the right track there. > I'm going to write some helper apps when I need them, for now I just > have Makefile rules to help a little with the conversions. Makefile's would be a good way to handle the conversion for now. But, I think having a set of tools, or better a "wrapper" application for this might be more useful. Should be something that even I could work on once I have the right tools in place. > Note that this system gives a rather messy "internal" file on the > palm, with all the LyX commands and stuff in. It's not so bad though, > it means you can use all the LyX features if you hunt around in the > file for a place you used it before and copy the syntax :-) That is the problem that I was trying to get around. When I am writing, I don't really want to have all of the codes being displayed, that's the reason that I use LyX for writing, instead of using a TeX or LaTeX front end with emacs or vi. > I don't use it to change major parts of the file, only to add things > or make adjustments to the content; leaving the formatting pretty much > alone until I get back home. This is the other part for me. I work on _lots_ of documents, and make heavy edits to them on a very frequent basis... That can mean chaning the structure, or formatting, etc. Or, even more so, I end up creating a lot of documents. So, the more transparent the markup is, the better for me. I was thinking that I can keep pretty easily to a standard template, just enough to mark headings and outlines, that's the major stuff that I need. I don't need to do diagrams, floats or tables (well, maybe an occasional table). As I look more at things here, it seems that WordSmith uses RTF for it's conversion layer. That means that with the right interface from LyX to RTF it should be possible to have a template that preserves the structural formatting. That would make it much easier to convert back and forth between LyX and WordSmith. There are quite a few tools that do things like SGML<->RTF conversion, and other formats. Will just have to investigate them some more. But, I really, really, like the idea of using CVS to manage the files. The major trick then remains to move from CVS->WordSmith and back. Question: what software are you using to sync your HandEra under Linux? I've been trying to use KPilot, but it's been a pain (doable, but a real pain). Thanks for the input! // George
Re: manipulate margins
On Sat, 8 Sep 2001, Carsten Grewe wrote: > Date: Sat, 8 Sep 2001 22:33:23 +0200 > From: Carsten Grewe <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: manipulate margins > > Hi! > > I try to manipulate the margins, but couldn't do it until now. I use the > report class. In Layout-Document-Paper, Papersize is A4, Special is none and > the geometry package is used. As far as I got the User's Guide I should be > able to adjust the margins now, but whatever figures I put in the fields, I > can't click on OK. Why is that? > > As an alternative: Is there a command for the Latex preamble to set the left > margin to 3 cm? Would be great! > > Thanks > Carsten > You have to specify the margin units (cm, mm, in). Example: 3cm or 30mm. -- Francisco Stefano Wechsler Diga não ao monopólio: use Gnu-Linux. Dep. Prod. Expl. Animal Enviado por meio do PINE 4.33. Fac. Med. Vet. Zoot.Que a força do pingüim esteja contigo! UNESP C.P. 560Say no to monopoly: use Gnu-Linux. 18618-000 Botucatu, SP Sent through PINE 4.33. Brasil May the penguin be with you! Tel.: 0-xx-14-6802-7180 0-xx-14-6802-7185 0-xx-14-6802-7189
Re: Displaying Math Equations in lyx
Thanks, It worked on my Mandrake installation as well. It also made my fonts not so *ugly* with the non-anti-alaised look. :) On Friday 07 September 2001 11:23 pm, you wrote: > On 7 September 2001 at 16:20, "Matthew L. Fidler" > <[EMAIL PROTECTED]> wrote: '> "I'm trying to display greek > math equations under Mandrake 8, and instead of > > '> "displaying the greek characters, said characters disappear, and I get > nothi ng > '> "until output. > '> " > '> "I suppose that I can still deal with this issue, since the output is > fine, '> "but having to look at the output to see the actual alpha or beta > characters > > '> "is very cumbersome. I was wondering if it was a font issue, or > something '> "else that I could fix. > '> " > '> "Matt. > '> "[EMAIL PROTECTED] > > Hi: > > On my, Red Hat, distro the solution was to change the LyX preferences so > that scaled fonts were not used. If that doesn't work, try the archive for > this list, where there were some Mandrake specific threads about this issue > recently. > > Regards, > > Rick
Problem with sun5t latin1 keyboard
Hello, lys users, I compiled the 1.1.6fix 3 release on a sun sparc station 5 under debian potato. I'm using the sun5t latin 1 keyboard. I got the following problem : I can't make an "ê" in lyx. pressing simultaneously ^ and e gives me an e. In fact the ^ key seems to have no effect. Using "xev" to show the key I got KeyPress event, serial 20, synthetic NO, window 0x281, root 0x2b, subw 0x0, time 3699913641, (158,468), root:(727,555), state 0x40, keycode 71 (keysym 0x1005ff01, SunFA_Circum), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 23, synthetic NO, window 0x281, root 0x2b, subw 0x0, time 3699913781, (158,468), root:(727,555), state 0x40, keycode 71 (keysym 0x1005ff01, SunFA_Circum), same_screen YES, XLookupString gives 0 characters: "" after pressing the ^ key KeyPress event, serial 23, synthetic NO, window 0x281, root 0x2b, subw 0x0, time 3699916981, (158,468), root:(727,555), state 0x40, keycode 63 (keysym 0x65, e), same_screen YES, XLookupString gives 1 characters: "e" KeyRelease event, serial 23, synthetic NO, window 0x281, root 0x2b, subw 0x0, time 3699917051, (158,468), root:(727,555), state 0x40, keycode 63 (keysym 0x65, e), same_screen YES, XLookupString gives 1 characters: "e" after e key is anybody have an idea to fix this problem Yann -- "Y faut liiirrreee, Arlequin, Champion de l'amou" Dany Boon --- (Yann MORERE ICQ=#97130491 mailto:[EMAIL PROTECTED]) (Docteur en Automatique http://ymorere.multimania.com/ )
no wrap using LyxCode?
Hi.. i have some lyxcode on my thesis and.. its not word wrapping! the long lines go all trough the border of the page. Its not going to look very nice once printed really. Is this "normal" ? same thing happens to 1 long url i have pasted somewhere (not lyxcode) Thanks for any suggestion and advice. Sincerely Giovanni Tummarello [EMAIL PROTECTED]
Re: Can I name a font?
On Sat, Sep 08, 2001 at 05:54:31PM -0400, Steve Litt wrote: > I'd like to create my own custom font (in LyX, not just in Latex). According > to Customization.lyx, > > Is there a name property to give it a name so I can bind it to a menu? Is > there a latex property so I can associate it with a latex font? > > What I'm trying to do is create a custom character style (NOT an Environment) > called "step" that I use for steps in the Universal Troubleshooting Process. > There are hundreds of occurrences of these, so I don't want to use > font-underline or something like that. Nor do I want to stop every time and > go into tex mode. What I'd like to do is highlight the phrase, and > Layout->StepStyle, and have the right thing happen in LyX and in the > Postscript output. There are several other character styles I need to do, but > once I have one I can do the rest myself. No. This is one of the main missing features of LyX, but there are plans to add it soon. In the meantime, you can use the following hack: Use colors for character styles, and put \usepackage{mystyles} in the preamble (you can put it in the layout file), where mystyles.sty is something like \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{\textit{#2}}{}% \ifthenelse{\equal{#1}{green}}{\textbf{#2}}{}% } (the % at the end of the lines is important)
Re: bug after compilation
On Sat, Sep 08, 2001 at 04:57:13PM +0200, Zarathustra wrote: > Hallo, > > I've compiled LyX_1.1.6_fix-3.src.rpm (with the '--rebuild' command). > When I run LyX, it crashes with a segmentation error (Sigsegv) > > With lyx dbg, I get following relevant messages: > kbmap.c: No such keysym: dead-tie > parse error in position 17 in keysequence '~c-~s-~m-dead-tie' > > After: > Create tmpdir: mask='lyx-tmp-dir > it crashes. > > I run a RedHat 7.1 with xforms-0.88-3 > > First, I built lyx with xforms-0.88-9, but because of the segfault I tried > the same with 0.88-3. It is possible that you have a wrong version of XForms which is compiled for glibc 2.0, while your system is glibc >= 2.1.
Re: Trouble installing lyx
> After successfully running lyx on Windows98 for over a year, I > am now trying to install lyx on windows 2000. Unfortunately, I cannot > get latex (Miktex) to run from lyx. Latex is never called, and no error > messages appear. Miktex's dvi view, yap is called successfully, although > it is not able to open the garbage dvi file that appears in the lyx temp > directory. The path variables check out, as latex runs from the dos > prompt. I tried reinstalling lyx, but that wasn't successful. > Any suggestions? It seems that you have installed Cygwin's tetex package (which is not configured and therefore not usable). So any DOS program will find latex.exe from the MikTex package but any Cygwin program (like Lyx) will find /usr/bin/latex.exe because all internal pathes in Cygwin are in front of $PATH! So uninstall the tetex package this way: 1. Open Setup.exe in X:\CygInstall 2. Select 'Install from Local Directory' 3. In the package list press the 'Full/Part' button 4. Locate the tetex package line 5. In the 'New' column select 'Uninstall' using your mouse 6. Go on until Setup has finished. Claus
Re: xfig for win32...
> how can i install xfig on my computer running win ME? i'm using lyx > 1.1.6fix3 for win32... Try to use JFIG instead. JFIG is completely written in Java and nearly full compatible with XFIG. Here is the link: http://tech-www.informatik.uni-hamburg.de/applets/jfig/ Claus