Re: 1.5.0beta1 in Debian
On Tue, 20 Mar 2007 19:34:05 -0800 Paul Tremblay wrote: Just thought I'd led you know that we have uploaded LyX 1.5.0beta1 to Debian's experimental distribution, if you want to try it out. Will this work for Ubuntu, which essentially is modified debian? And is there a way to install it so it doesn't overwrite the stable version? I have installed the compiled LyX 1.5 for Ubuntu by Russell Davie. Look at earlier message in this list: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg54077.html It work well. It's installed at /usr/local and therefore don't overwrite the stable. But you need the Qt4 libraries. Ignacio
[bug - lyx 1.5.0beta1] changing keyboard in lyx 1.5.0beta1
I tried lyx 1.5.0beta1 on my linux system and I ran into two problems: changing the keyboard doesn't work (it continues to write in english on screen despite doing something else in the output). right to left text apears left to right Anyone else notice that also?
Re: [bug - lyx 1.5.0beta1] changing keyboard in lyx 1.5.0beta1
Yes, I already filed bugs on these issues prior to the beta release. Miki Micha Feigin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I tried lyx 1.5.0beta1 on my linux system and I ran into two problems: changing the keyboard doesn't work (it continues to write in english on screen despite doing something else in the output). right to left text apears left to right Anyone else notice that also?
STIX fonts website up-dated 19 March
(also posted to comp.text.tex) Came across this in a search here at work. All glyphs have been created and they're now doing a design review ``...establishing consistent sizes for various glyphs based on square or circle designsConfidence remains high that we will release the fonts some time in April.'' Anyway, thought people might find it of interest. http://www.stixfonts.org/ for those not familiar w/ the project. William NB - I've cross-posted this to a number of mailing lists in this message, please check your reply to and trim if appropriate to your reply. -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: STIX fonts website up-dated 19 March
William Adams wrote: All glyphs have been created and they're now doing a design review ``...establishing consistent sizes for various glyphs based on square or circle designsConfidence remains high that we will release the fonts some time in April.'' ... http://www.stixfonts.org/ for those not familiar w/ the project. Based on their previous slippages, I'll believe it when I see it. That said, it certainly will be a good day when/if it does happen. -- Rex
trouble adding figures (latex style breaks them)
Hi all, I received a LyX file that when exported to PDF (ps2pdf), has no figures. I'm using LyX 1.4.3 on Linux. When I open the lyx file and do a file export PDF (ps2pdf) a get several errors like: Missing $ inserted where the figures are. Figures are EPS, and since I can usually work with figures, I checked the document's LaTeX preamble. It has \input{mz.sty} at the end. If I remove this line, Figures are exported OK. Looking at the mz.sty file, I can't figure out what breaks the figures, perhaps someone can help me... I have attached the mz.sty file and error details from the log and the temporary tex file (they are attached so that line numbers don't change. -- Bruno Schneider http://www.dcc.ufla.br/~bruno/ % % mz.sty % % Copyright (c) 1995 by Marc Mengel [EMAIL PROTECTED] % % Permission is hereby granted for you to use, copy, and modify this file % provided you: % * retain the above copyright notice % * clearly note any changes from the original % * send any good improvements back to me % % A nicely font independent LaTeX style for Z, works with old and new LaTeX % \typeout{Style Option 'mz'. Marc Mengel's Z style. Version 1.0 Oct 13 1995} % % Spacing %\newcommand{\also}{\\[0.5ex]} \newcommand{\also}{\\[0.2ex]} % overrides of existing LaTeX commands \renewcommand{\t}[1]{\hspace*{#1ex}}% note: this breaks accents... \renewcommand{\star}{^*}% overrides plain asterisk... \renewcommand{\div}{{\mathsf{\ div\ }}} % overrides dot over dot symbol \renewcommand{\empty}{\emptyset}% don't know why these need renew \renewcommand{\notin}{\not\in} % \renewcommand{\iff}{\Leftrightarrow}% % \let \mzmesh=\# % make \# a command \renewcommand{\#}{{\mathsf{\mzmesh}}} % (why does this work?) % % Outer Grouping Environments % % These first 3 mean something to ztc, but not to anyone else \newenvironment{spec}{\relax}{\relax} \newenvironment{nocheck}{\relax}{\relax} \newenvironment{comment}{\relax}{\relax} % % General purpose zed box for % zed, schema, etc. % outer layer is an array{l} stack like this % = topline % | % | = left bracket = empty right bracket % | guts % | = bottom line % % the guts is *another* array this time an array{} % so folks can set tabs, etc. % its built with \mztopbox{toplinecommand}{leftbracket} % at the top and \mzbotbox{bottomlinecommand} % at the bottom. \newcommand{\mztopbox}[2]{ \[ \array{l} #1\\[-1ex] \! \left#2 \array{l} \ \\[-1.7ex] %\hspace*{-0.6em} % update by Nelson S. Rosa \hspace*{0.0em} \array{} } \newcommand{\mzbotbox}[1]{ \ \\[0ex] \endarray \endarray \right. \\[-1.65ex] #1 \endarray \] } %\newcommand{\mzwidth}{4.2in} \newcommand{\mzwidth}{3.0in} % % horizontal line commands % \newcommand{\where}{% separator for schemas, axdef, etc. \ \\[-1ex] \hspace*{-0.55em} \overline{\hspace{1in}} \\[0ex] } \newcommand{\mzbotline}{ % bottom of schema box, line above \overline{\makebox[\mzwidth]{\hfill}} } \newcommand{\mznoline}{ % invisible line, same width as others \makebox[\mzwidth]{\hfill} \ \\[-1ex] } \newcommand{\mzsline}[1]{ % schema top line, with name \hspace*{-0.65em} \raisebox{0.05ex}{ \makebox[\mzwidth][l]{ \makebox[1em]{\hrulefill} $#1$ \hrulefill } } } \newcommand{\mzgline}[1]{ % gendef top line, with name \underline{\makebox[\mzwidth][l]{\makebox[1em]{\hrulefill}$#1$\hrulefill}} } % % actual environments built with 'em % \newenvironment{axdef}{ % axiom -- no top or bottom, just left \mztopbox{\mznoline}{|} }{ \mzbotbox{\mznoline} } %\newenvironment{gendef}[1]{% gendef -- double top w/name bottom % \mztopbox{\mzgline{#1}}{|} %}{ % \mzbotbox{\mzbotline} %} \def \gendef[#1] {\mztopbox{\mzgline{[#1]}}{|}} \def \endgendef {\mzbotbox{\mzbotline}} \newenvironment{schema}[1]{ % schema -- single top w/name bottom \mztopbox{\mzsline{#1}}{|} }{ \mzbotbox{\mzbotline} } \newenvironment{syntax}{% synatax -- no top,bottom,or left \mztopbox{\mznoline}{.} }{ \mzbotbox{\mznoline} } \newenvironment{zed}{ % zed -- same as syntax \mztopbox{\mznoline}{.} }{ \mzbotbox{\mznoline} } % % handy macros for various things % \newcommand{\mzovr}[2]{ % overlay two symbols \makebox[0pt][l]{$#1$}#2 } \newcommand{\mzhsmr}[1]{% smear a character horizantally \makebox[0pt][l]{$#1$}\,#1 }
Re: Problem with multirow and indices (solution!)
Hi, here's Karsten Heymann's solution sent by TEX-D-L. Strictly speaking, there are 2 ways to solve the problem. Thanks a lot, Karsten! Regards Detlev \begin{table} \tiny \caption{Karsten's Solution} \begin{tabular}{} \multirow{2}{10mm}{$\smash{\left.\rule{0pt}{4mm}\right\}}{}\smash{^e}000,0$} \multirow{2}{10mm}{$\smash{^g}000,0$} \multirow{2}{10mm}{$\smash{^j}000,0$} \multirow{2}{10mm}{$\smash{^z}000,0$} \tabularnewline \tabularnewline \end{tabular} \bigskip \begin{tabular}{} \multirow{2}{10mm}{$\smash{\left.\rule{0pt}{4mm}\right\}}{}^{\mathstrut e}000,0$} \multirow{2}{10mm}{$^{\mathstrut g}000,0$} \multirow{2}{10mm}{$^{\mathstrut j}000,0$} \multirow{2}{10mm}{$^{\mathstrut z}000,0$} \tabularnewline \tabularnewline \end{tabular} \end{table} In LyX you only have to modify the multirow-ERT-boxes. \smash{} rejects height (and depth) of the content in braces. \mathstrut puts in an invisible prop with the height of the current font size. If necessary \raisebox{height}{text} for vertical fine tuning.
technical specification class ?
Hello! Could somebody please suggest some document class suitable for writing technical specifications? For now I'm using article class, but sometimes I'm not satisfied with it, probably there is something more convenient for such kind of task as I'm doing? Thanks in advance! P/S Probably somebody could suggest how to increase nesting for section/subsection/subsubsection? I need even more deep level, but I don't know how to get it in LyX, if it is possible at all. -- Eugene N Dzhurinsky
My solution to problems with IEEEtran.cls and Babel (You haven't defined the language ENGLISH yet)
This problem has caused me a lot of grief when using IEEEtran.cls. I would keep getting the Babel package error that the ENGLISH language wasn't defined. I decided to cut out Babel from the picture. I performed the following: 1. Follow Tools-Preferences-Language Settings-Language 2. Set Default language to English 3. Clear all text input fields 4. Uncheck all boxes 5. Press the Apply/Save button 6. Click Tools-Reconfigure 7. Restart Lyx 8. Test: load your document and press Ctrl-D (create DVI). should see no error I don't know if this will work for non-english users of LyX though. Thanks Manoj
Problem with line-spacing
Hi everyone, I have a problem with 1.5 line spacing in my document. For line spacing 1, the compiled pdf is excellent, but as soon as I change to 1.5 line spacing, the text exceeds the pages in the pdf. The style is report, paper size A4 and default margins are used (but a manual setting does not help either). What have I done wrong? Thanks for any help, Mareike
Path prefix empty
Hi, I just compiled 1.5.0beta on Ubuntu (first time I've compiled anything from source -- very cool). However, my path prefix box was empty and so I had no output to pdf. So, I put /usr/bin:/usr/local/bin in the path and setup pdflatex $$i extra flag 'latex' and setup the viewer as evince for pdflatex. Now that is working again. So, my question is: Is there anything else I should put into the path prefix? and is there something I can put into the viewer so that it just opens the default pdf viewer (I tried 'open' and 'auto')? Thanks, Bob Lounsbury
Re: My solution to problems with IEEEtran.cls and Babel (You haven't defined the language ENGLISH yet)
Two additional comments: - The problem appears with other article classes as well (I had it with other IEEE styles, but also the ACM classes sigplan, acm_proc_article and so on). - It seems to be enough to just uncheck the use bable option. There is no need for reconfiguration. Daniel Manoj Rajagopalan schrieb: This problem has caused me a lot of grief when using IEEEtran.cls. I would keep getting the Babel package error that the ENGLISH language wasn't defined. I decided to cut out Babel from the picture. I performed the following: 1. Follow Tools-Preferences-Language Settings-Language 2. Set Default language to English 3. Clear all text input fields 4. Uncheck all boxes 5. Press the Apply/Save button 6. Click Tools-Reconfigure 7. Restart Lyx 8. Test: load your document and press Ctrl-D (create DVI). should see no error I don't know if this will work for non-english users of LyX though. Thanks Manoj
Re: ugly big blank space
AFAIK there is no out-of-the-box solution (aka some magic option) for this kind of problem that really works. If the space is just enough for an orphan/widow, but to big to be let empty, well what should LaTeX possibly do about it? IMHO this is best solved by manual fine-tuning at the very end: - I usually start with altering the size of figures and floats on the pages before the problem page. Make them slightly smaller so that an extra line would fit on the problem page or bigger, so that the empty space no longer looks that empty. - If that doesn't help, I rephrase the text so that an extra line of the otherwise orphan/widow paragraph would fit on the page. - As a last resort, if space is a real problem because I have a page limit, I start to spread negative \vspaces at certain positions. However, doing so can be a real pain. Daniel Marcelo Acuña wrote: Hello, Sometimes, about 1 time by 40/50 pages, latex put a page break too early, and appears a ugly big blank space at the bottom of page. This occurs when I put in preamble commands for avoid widows and orphan. If I deleted this commands ugly space desappears and widows and orphans appears. How I can avoid this problem? What command I can put in pages with early page break? Thanks Marcelo __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
Re: trouble adding figures (latex style breaks them)
On 3/22/07, Bruno Schneider wrote: Figures are EPS, and since I can usually work with figures, I checked the document's LaTeX preamble. It has \input{mz.sty} at the end. If I remove this line, Figures are exported OK. Looking at the mz.sty file, I can't figure out what breaks the figures, perhaps someone can help me... Updated, simplified version of the problem: Start a new LyX file. Add a floating figure. Edit the LaTeX preamble and add \input{mz.sty} (mz.sty is attached in previous post). Now the figure no longer works. However, if you edit mz.sty and comment out line 24 (\renewcommand{\empty}{\emptyset}), it works. Interestingly, if you change line 24 to \renewcommand{\empty}{$\emptyset$} it also works, but an empty set sign appears in the figure. So it seems \empty is used in figures. Can anybody explain that? -- Bruno Schneider http://www.dcc.ufla.br/~bruno/
Re: technical specification class ?
Eugeny N Dzhurinsky wrote: Hello! Could somebody please suggest some document class suitable for writing technical specifications? For now I'm using article class, but sometimes I'm not satisfied with it, probably there is something more convenient for such kind of task as I'm doing? I also use article for my tech docs, I just have to build the title page the way I need it instead of what article wants to give. Thanks in advance! P/S Probably somebody could suggest how to increase nesting for section/subsection/subsubsection? I need even more deep level, but I don't know how to get it in LyX, if it is possible at all. I believe what you are asking for can be solved with the email I dropped a few years ago. http://www.mail-archive.com/lyx-users@lists.lyx.org/msg38442.html I have used the method found on this page http://tug.org/TeXnik/mainFAQ.cgi?file=space/space the section linebreak behind paragraph-style, which lays the section label text out like a section. \makeatletter [EMAIL PROTECTED]@}% [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] -.2ex}% {1.5ex [EMAIL PROTECTED] .2ex}% {\normalfont\normalsize\bfseries}} \makeatother -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: I can't run Lyx.exe after install it! - help me!
Hey Paul! Thanks fot the effort, but I've tried many ways to solve it, and inside this ways was each one you suggest me. I formated the partition where Windows was, and remove all python, lyx and personal files, and the problem is the same. I couldn't find any posts for this [As for the second, it has been discussed on the list several times. Have a look at the archives.] I downloaded many times to be sure the files was ok. I tried reinstall many versions of Lyx, and the problem persists. I installed the last version of python to try to do a different thing to make it work, but unsuccessful as well. I have many *.lyx projects, but no software to open it. I need to install Lyx and can't... What can I do now? Please help me! Thanks in advance! Douglas Paul A. Rubin [EMAIL PROTECTED] escreveu: Richard Heck wrote: [EMAIL PROTECTED] wrote: Hey guys, how are you today? Well, I've tried to install the Lyx 1.4 and old versions, but I can't. Actually I tried from many ways to do it on Windows XP SP2: - from lyx-144-4-bundle.exe - complete (74mb); - from lyx-144-4.exe - (8mb); and... - from the LyXPackageComplete-3-08.rar - berilOS Developer (73mb). All this ways seems to be good installation, but when I run the program, I only see the same error: RuntimeError: Can not locate 'w9xpopen.exe' which is needed for pope th your shell or platform. LyX: Ready! LyXTextClassList::Read: unable to find textclass file `'. Exiting. And then, the program abort! I have the same error with old versions. Can somebody help me please? I'm an old Lyx user, but now I need to abandon this software if this can't be solved...:( I don't know what the first error is. That file has to do with python. Do you have a working python installation? As for the second, it has been discussed on the list several times. Have a look at the archives. The errors are likely to be related: if Python is broken, the installation script is probably doomed, hence the null textclass.lst file. As Richard said, w9xpopen.exe is a Python file. (Apparently Jasc uses a file of the same name in Paint Shop Pro, but the bit about shell or platform coupled with the fact that LyX uses Python and not PSP strongly suggests Python here.) Googling around indicates that Python uses w9xpopen.exe on Win 95/98 systems. You indicated you are using XP SP2, so you don't need that file. (I have both a full installation of Python 2.3 and the 'thin' installation that LyX does on its own, and neither has that file.) Any chance you upgraded this machine from 9x to XP? If you have Python installed someplace, you might try uninstalling it (or at least moving it off the Windows command path momentarily) and see if that cures the bug. It might also be a good idea to uninstall any LyX installations, and delete the user data folder(s) they created. Then reinstall LyX, cross fingers and hope for the best. If you're not sure about whether there is a ghost installation of Python floating around, you could try searching the entire hard drive for python*.exe. That should (eventually) point to any and all Python installations. /Paul __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/
Re: Problem with line-spacing
[EMAIL PROTECTED] wrote: Hi everyone, I have a problem with 1.5 line spacing in my document. For line spacing 1, the compiled pdf is excellent, but as soon as I change to 1.5 line spacing, the text exceeds the pages in the pdf. The style is report, paper size A4 and default margins are used (but a manual setting does not help either). What have I done wrong? Thanks for any help, Mareike You make the change by setting Document - Settings... - Text Layout - Line Spacing to OneHalf, right? Which method do you use to generate PDFs (ps2pdf, dvipdfm or pdflatex)? What version of LyX, and what operating system? I can't reproduce this. Perhaps you could post a small sample document where this occurs? /Paul
Re: trouble adding figures (latex style breaks them)
On Thu, Mar 22, 2007 at 01:57:00PM -0300, Bruno Schneider wrote: Updated, simplified version of the problem: Start a new LyX file. Add a floating figure. Edit the LaTeX preamble and add \input{mz.sty} (mz.sty is attached in previous post). Now the figure no longer works. However, if you edit mz.sty and comment out line 24 (\renewcommand{\empty}{\emptyset}), it works. Interestingly, if you change line 24 to \renewcommand{\empty}{$\emptyset$} it also works, but an empty set sign appears in the figure. So it seems \empty is used in figures. Can anybody explain that? \empty is defined in latex.ltx as [EMAIL PROTECTED] [EMAIL PROTECTED] I am not sure fiddling around with this is a good idea. Andre'
Re: I can't run Lyx.exe after install it! - help me!
[EMAIL PROTECTED] wrote: Hey Paul! Thanks fot the effort, but I've tried many ways to solve it, and inside this ways was each one you suggest me. I formated the partition where Windows was, and remove all python, lyx and personal files, and the problem is the same. I couldn't find any posts for this [As for the second, it has been discussed on the list several times. Have a look at the archives.] I downloaded many times to be sure the files was ok. I tried reinstall many versions of Lyx, and the problem persists. I installed the last version of python to try to do a different thing to make it work, but unsuccessful as well. I have many *.lyx projects, but no software to open it. I need to install Lyx and can't... This is fairly mysterious. Try the following and see what happens. Open a DOS window and cd to the directory under which you want LyX to create your user directory. On XP this is typically C:\Documents and Settings\your id\Application Data. (LyX will create a LyX1.4.x subdirectory underneath it -- we hope.) If you already have a LyX1.4.x directory, delete it and everything underneath it. From there, run path to Python\python.exe path to LyX\Resources\configure.py and see if you get that same error message about the missing Python component. Whether or not you do, check to see if the LyX1.4.x directory was created, and (if so) whether it contains a textclass.lst file with length greater than zero. If yes, try starting LyX. If no, report here what happened. /Paul
Re: technical specification class ?
On Thursday 22 March 2007 11:35, Eugeny N Dzhurinsky wrote: Hello! Hi. I'm writing this in case nobody locates a tech-spec class... Could somebody please suggest some document class suitable for writing technical specifications? For now I'm using article class, but sometimes I'm not satisfied with it, probably there is something more convenient for such kind of task as I'm doing? What new environments would be needed for a tech-spec class? In what ways would the appearence need modifications? Thanks in advance! P/S Probably somebody could suggest how to increase nesting for section/subsection/subsubsection? I need even more deep level, but I don't know how to get it in LyX, if it is possible at all. AFAIK, each deeper level needs its own counter. In your LaTeX layout file, have each counter depend on its parent environment's counter. SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: Path prefix empty
On Thursday 22 March 2007 3:57:59 pm Bob Lounsbury wrote: Hi, I just compiled 1.5.0beta on Ubuntu (first time I've compiled anything from source -- very cool). However, my path prefix box was empty and so I had no output to pdf. So, I put /usr/bin:/usr/local/bin in the path and setup pdflatex $$i extra flag 'latex' and setup the viewer as evince for pdflatex. Now that is working again. What does $ echo $PATH says when typing from a console, or xterm, or any other shell viewer? So, my question is: Is there anything else I should put into the path prefix? and is there something I can put into the viewer so that it just opens the default pdf viewer (I tried 'open' and 'auto')? LyX should use the default path. Regarding automatic opening of files a possible solutions is xdg-open from freedesktops.org Thanks, Bob Lounsbury -- José Abílio
fonts and hebrew
hi all, My 1.4.4 LyX is working perfectly for English, but refuses to recognize hebrew. I did everything I saw everywhere on the web, and installed Culmus.exe. The error i get is can't read font size for... or something of this kind. I suspect that the Culmus did'nt extract the fonts to the right path, but I'm not sure what is the right path, and if really that is the case. any ideas will be welcome. thanks, Yohai
Re: [bug - lyx 1.5.0beta1] changing keyboard in lyx 1.5.0beta1
Micha Feigin wrote: I tried lyx 1.5.0beta1 on my linux system and I ran into two problems: changing the keyboard doesn't work (it continues to write in english on screen despite doing something else in the output). right to left text apears left to right Anyone else notice that also? Hi! (1) Regarding the second problem you describe, I just sent in a patch fixing the bug, see http://thread.gmane.org/gmane.editors.lyx.devel/79740 (or the lyx-devel mailing list) for details. (2) Regarding keyboard input, you need to do two things together: also change the keyboard input, and also switch the language (F12 with dekel's bindings). See http://thread.gmane.org/gmane.editors.lyx.devel/74576/focus=74622 for details. Note that it's no longer necessary to recompile in order to get the correct encodings, but you may still want to play around with cp1255/auto/default. HTH! Dov
Re: 1.5.0beta1 in Debian
On Tue, 20 Mar 2007 19:34:05 -0800 Paul Tremblay wrote: Just thought I'd led you know that we have uploaded LyX 1.5.0beta1 to Debian's experimental distribution, if you want to try it out. Will this work for Ubuntu, which essentially is modified debian? And is there a way to install it so it doesn't overwrite the stable version? I have installed the compiled LyX 1.5 for Ubuntu by Russell Davie. Look at earlier message in this list: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg54077.html It work well. It's installed at /usr/local and therefore don't overwrite the stable. But you need the Qt4 libraries. Ignacio
[bug - lyx 1.5.0beta1] changing keyboard in lyx 1.5.0beta1
I tried lyx 1.5.0beta1 on my linux system and I ran into two problems: changing the keyboard doesn't work (it continues to write in english on screen despite doing something else in the output). right to left text apears left to right Anyone else notice that also?
Re: [bug - lyx 1.5.0beta1] changing keyboard in lyx 1.5.0beta1
Yes, I already filed bugs on these issues prior to the beta release. Miki Micha Feigin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I tried lyx 1.5.0beta1 on my linux system and I ran into two problems: changing the keyboard doesn't work (it continues to write in english on screen despite doing something else in the output). right to left text apears left to right Anyone else notice that also?
STIX fonts website up-dated 19 March
(also posted to comp.text.tex) Came across this in a search here at work. All glyphs have been created and they're now doing a design review ``...establishing consistent sizes for various glyphs based on square or circle designsConfidence remains high that we will release the fonts some time in April.'' Anyway, thought people might find it of interest. http://www.stixfonts.org/ for those not familiar w/ the project. William NB - I've cross-posted this to a number of mailing lists in this message, please check your reply to and trim if appropriate to your reply. -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: STIX fonts website up-dated 19 March
William Adams wrote: All glyphs have been created and they're now doing a design review ``...establishing consistent sizes for various glyphs based on square or circle designsConfidence remains high that we will release the fonts some time in April.'' ... http://www.stixfonts.org/ for those not familiar w/ the project. Based on their previous slippages, I'll believe it when I see it. That said, it certainly will be a good day when/if it does happen. -- Rex
trouble adding figures (latex style breaks them)
Hi all, I received a LyX file that when exported to PDF (ps2pdf), has no figures. I'm using LyX 1.4.3 on Linux. When I open the lyx file and do a file export PDF (ps2pdf) a get several errors like: Missing $ inserted where the figures are. Figures are EPS, and since I can usually work with figures, I checked the document's LaTeX preamble. It has \input{mz.sty} at the end. If I remove this line, Figures are exported OK. Looking at the mz.sty file, I can't figure out what breaks the figures, perhaps someone can help me... I have attached the mz.sty file and error details from the log and the temporary tex file (they are attached so that line numbers don't change. -- Bruno Schneider http://www.dcc.ufla.br/~bruno/ % % mz.sty % % Copyright (c) 1995 by Marc Mengel [EMAIL PROTECTED] % % Permission is hereby granted for you to use, copy, and modify this file % provided you: % * retain the above copyright notice % * clearly note any changes from the original % * send any good improvements back to me % % A nicely font independent LaTeX style for Z, works with old and new LaTeX % \typeout{Style Option 'mz'. Marc Mengel's Z style. Version 1.0 Oct 13 1995} % % Spacing %\newcommand{\also}{\\[0.5ex]} \newcommand{\also}{\\[0.2ex]} % overrides of existing LaTeX commands \renewcommand{\t}[1]{\hspace*{#1ex}}% note: this breaks accents... \renewcommand{\star}{^*}% overrides plain asterisk... \renewcommand{\div}{{\mathsf{\ div\ }}} % overrides dot over dot symbol \renewcommand{\empty}{\emptyset}% don't know why these need renew \renewcommand{\notin}{\not\in} % \renewcommand{\iff}{\Leftrightarrow}% % \let \mzmesh=\# % make \# a command \renewcommand{\#}{{\mathsf{\mzmesh}}} % (why does this work?) % % Outer Grouping Environments % % These first 3 mean something to ztc, but not to anyone else \newenvironment{spec}{\relax}{\relax} \newenvironment{nocheck}{\relax}{\relax} \newenvironment{comment}{\relax}{\relax} % % General purpose zed box for % zed, schema, etc. % outer layer is an array{l} stack like this % = topline % | % | = left bracket = empty right bracket % | guts % | = bottom line % % the guts is *another* array this time an array{} % so folks can set tabs, etc. % its built with \mztopbox{toplinecommand}{leftbracket} % at the top and \mzbotbox{bottomlinecommand} % at the bottom. \newcommand{\mztopbox}[2]{ \[ \array{l} #1\\[-1ex] \! \left#2 \array{l} \ \\[-1.7ex] %\hspace*{-0.6em} % update by Nelson S. Rosa \hspace*{0.0em} \array{} } \newcommand{\mzbotbox}[1]{ \ \\[0ex] \endarray \endarray \right. \\[-1.65ex] #1 \endarray \] } %\newcommand{\mzwidth}{4.2in} \newcommand{\mzwidth}{3.0in} % % horizontal line commands % \newcommand{\where}{% separator for schemas, axdef, etc. \ \\[-1ex] \hspace*{-0.55em} \overline{\hspace{1in}} \\[0ex] } \newcommand{\mzbotline}{ % bottom of schema box, line above \overline{\makebox[\mzwidth]{\hfill}} } \newcommand{\mznoline}{ % invisible line, same width as others \makebox[\mzwidth]{\hfill} \ \\[-1ex] } \newcommand{\mzsline}[1]{ % schema top line, with name \hspace*{-0.65em} \raisebox{0.05ex}{ \makebox[\mzwidth][l]{ \makebox[1em]{\hrulefill} $#1$ \hrulefill } } } \newcommand{\mzgline}[1]{ % gendef top line, with name \underline{\makebox[\mzwidth][l]{\makebox[1em]{\hrulefill}$#1$\hrulefill}} } % % actual environments built with 'em % \newenvironment{axdef}{ % axiom -- no top or bottom, just left \mztopbox{\mznoline}{|} }{ \mzbotbox{\mznoline} } %\newenvironment{gendef}[1]{% gendef -- double top w/name bottom % \mztopbox{\mzgline{#1}}{|} %}{ % \mzbotbox{\mzbotline} %} \def \gendef[#1] {\mztopbox{\mzgline{[#1]}}{|}} \def \endgendef {\mzbotbox{\mzbotline}} \newenvironment{schema}[1]{ % schema -- single top w/name bottom \mztopbox{\mzsline{#1}}{|} }{ \mzbotbox{\mzbotline} } \newenvironment{syntax}{% synatax -- no top,bottom,or left \mztopbox{\mznoline}{.} }{ \mzbotbox{\mznoline} } \newenvironment{zed}{ % zed -- same as syntax \mztopbox{\mznoline}{.} }{ \mzbotbox{\mznoline} } % % handy macros for various things % \newcommand{\mzovr}[2]{ % overlay two symbols \makebox[0pt][l]{$#1$}#2 } \newcommand{\mzhsmr}[1]{% smear a character horizantally \makebox[0pt][l]{$#1$}\,#1 }
Re: Problem with multirow and indices (solution!)
Hi, here's Karsten Heymann's solution sent by TEX-D-L. Strictly speaking, there are 2 ways to solve the problem. Thanks a lot, Karsten! Regards Detlev \begin{table} \tiny \caption{Karsten's Solution} \begin{tabular}{} \multirow{2}{10mm}{$\smash{\left.\rule{0pt}{4mm}\right\}}{}\smash{^e}000,0$} \multirow{2}{10mm}{$\smash{^g}000,0$} \multirow{2}{10mm}{$\smash{^j}000,0$} \multirow{2}{10mm}{$\smash{^z}000,0$} \tabularnewline \tabularnewline \end{tabular} \bigskip \begin{tabular}{} \multirow{2}{10mm}{$\smash{\left.\rule{0pt}{4mm}\right\}}{}^{\mathstrut e}000,0$} \multirow{2}{10mm}{$^{\mathstrut g}000,0$} \multirow{2}{10mm}{$^{\mathstrut j}000,0$} \multirow{2}{10mm}{$^{\mathstrut z}000,0$} \tabularnewline \tabularnewline \end{tabular} \end{table} In LyX you only have to modify the multirow-ERT-boxes. \smash{} rejects height (and depth) of the content in braces. \mathstrut puts in an invisible prop with the height of the current font size. If necessary \raisebox{height}{text} for vertical fine tuning.
technical specification class ?
Hello! Could somebody please suggest some document class suitable for writing technical specifications? For now I'm using article class, but sometimes I'm not satisfied with it, probably there is something more convenient for such kind of task as I'm doing? Thanks in advance! P/S Probably somebody could suggest how to increase nesting for section/subsection/subsubsection? I need even more deep level, but I don't know how to get it in LyX, if it is possible at all. -- Eugene N Dzhurinsky
My solution to problems with IEEEtran.cls and Babel (You haven't defined the language ENGLISH yet)
This problem has caused me a lot of grief when using IEEEtran.cls. I would keep getting the Babel package error that the ENGLISH language wasn't defined. I decided to cut out Babel from the picture. I performed the following: 1. Follow Tools-Preferences-Language Settings-Language 2. Set Default language to English 3. Clear all text input fields 4. Uncheck all boxes 5. Press the Apply/Save button 6. Click Tools-Reconfigure 7. Restart Lyx 8. Test: load your document and press Ctrl-D (create DVI). should see no error I don't know if this will work for non-english users of LyX though. Thanks Manoj
Problem with line-spacing
Hi everyone, I have a problem with 1.5 line spacing in my document. For line spacing 1, the compiled pdf is excellent, but as soon as I change to 1.5 line spacing, the text exceeds the pages in the pdf. The style is report, paper size A4 and default margins are used (but a manual setting does not help either). What have I done wrong? Thanks for any help, Mareike
Path prefix empty
Hi, I just compiled 1.5.0beta on Ubuntu (first time I've compiled anything from source -- very cool). However, my path prefix box was empty and so I had no output to pdf. So, I put /usr/bin:/usr/local/bin in the path and setup pdflatex $$i extra flag 'latex' and setup the viewer as evince for pdflatex. Now that is working again. So, my question is: Is there anything else I should put into the path prefix? and is there something I can put into the viewer so that it just opens the default pdf viewer (I tried 'open' and 'auto')? Thanks, Bob Lounsbury
Re: My solution to problems with IEEEtran.cls and Babel (You haven't defined the language ENGLISH yet)
Two additional comments: - The problem appears with other article classes as well (I had it with other IEEE styles, but also the ACM classes sigplan, acm_proc_article and so on). - It seems to be enough to just uncheck the use bable option. There is no need for reconfiguration. Daniel Manoj Rajagopalan schrieb: This problem has caused me a lot of grief when using IEEEtran.cls. I would keep getting the Babel package error that the ENGLISH language wasn't defined. I decided to cut out Babel from the picture. I performed the following: 1. Follow Tools-Preferences-Language Settings-Language 2. Set Default language to English 3. Clear all text input fields 4. Uncheck all boxes 5. Press the Apply/Save button 6. Click Tools-Reconfigure 7. Restart Lyx 8. Test: load your document and press Ctrl-D (create DVI). should see no error I don't know if this will work for non-english users of LyX though. Thanks Manoj
Re: ugly big blank space
AFAIK there is no out-of-the-box solution (aka some magic option) for this kind of problem that really works. If the space is just enough for an orphan/widow, but to big to be let empty, well what should LaTeX possibly do about it? IMHO this is best solved by manual fine-tuning at the very end: - I usually start with altering the size of figures and floats on the pages before the problem page. Make them slightly smaller so that an extra line would fit on the problem page or bigger, so that the empty space no longer looks that empty. - If that doesn't help, I rephrase the text so that an extra line of the otherwise orphan/widow paragraph would fit on the page. - As a last resort, if space is a real problem because I have a page limit, I start to spread negative \vspaces at certain positions. However, doing so can be a real pain. Daniel Marcelo Acuña wrote: Hello, Sometimes, about 1 time by 40/50 pages, latex put a page break too early, and appears a ugly big blank space at the bottom of page. This occurs when I put in preamble commands for avoid widows and orphan. If I deleted this commands ugly space desappears and widows and orphans appears. How I can avoid this problem? What command I can put in pages with early page break? Thanks Marcelo __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
Re: trouble adding figures (latex style breaks them)
On 3/22/07, Bruno Schneider wrote: Figures are EPS, and since I can usually work with figures, I checked the document's LaTeX preamble. It has \input{mz.sty} at the end. If I remove this line, Figures are exported OK. Looking at the mz.sty file, I can't figure out what breaks the figures, perhaps someone can help me... Updated, simplified version of the problem: Start a new LyX file. Add a floating figure. Edit the LaTeX preamble and add \input{mz.sty} (mz.sty is attached in previous post). Now the figure no longer works. However, if you edit mz.sty and comment out line 24 (\renewcommand{\empty}{\emptyset}), it works. Interestingly, if you change line 24 to \renewcommand{\empty}{$\emptyset$} it also works, but an empty set sign appears in the figure. So it seems \empty is used in figures. Can anybody explain that? -- Bruno Schneider http://www.dcc.ufla.br/~bruno/
Re: technical specification class ?
Eugeny N Dzhurinsky wrote: Hello! Could somebody please suggest some document class suitable for writing technical specifications? For now I'm using article class, but sometimes I'm not satisfied with it, probably there is something more convenient for such kind of task as I'm doing? I also use article for my tech docs, I just have to build the title page the way I need it instead of what article wants to give. Thanks in advance! P/S Probably somebody could suggest how to increase nesting for section/subsection/subsubsection? I need even more deep level, but I don't know how to get it in LyX, if it is possible at all. I believe what you are asking for can be solved with the email I dropped a few years ago. http://www.mail-archive.com/lyx-users@lists.lyx.org/msg38442.html I have used the method found on this page http://tug.org/TeXnik/mainFAQ.cgi?file=space/space the section linebreak behind paragraph-style, which lays the section label text out like a section. \makeatletter [EMAIL PROTECTED]@}% [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] -.2ex}% {1.5ex [EMAIL PROTECTED] .2ex}% {\normalfont\normalsize\bfseries}} \makeatother -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: I can't run Lyx.exe after install it! - help me!
Hey Paul! Thanks fot the effort, but I've tried many ways to solve it, and inside this ways was each one you suggest me. I formated the partition where Windows was, and remove all python, lyx and personal files, and the problem is the same. I couldn't find any posts for this [As for the second, it has been discussed on the list several times. Have a look at the archives.] I downloaded many times to be sure the files was ok. I tried reinstall many versions of Lyx, and the problem persists. I installed the last version of python to try to do a different thing to make it work, but unsuccessful as well. I have many *.lyx projects, but no software to open it. I need to install Lyx and can't... What can I do now? Please help me! Thanks in advance! Douglas Paul A. Rubin [EMAIL PROTECTED] escreveu: Richard Heck wrote: [EMAIL PROTECTED] wrote: Hey guys, how are you today? Well, I've tried to install the Lyx 1.4 and old versions, but I can't. Actually I tried from many ways to do it on Windows XP SP2: - from lyx-144-4-bundle.exe - complete (74mb); - from lyx-144-4.exe - (8mb); and... - from the LyXPackageComplete-3-08.rar - berilOS Developer (73mb). All this ways seems to be good installation, but when I run the program, I only see the same error: RuntimeError: Can not locate 'w9xpopen.exe' which is needed for pope th your shell or platform. LyX: Ready! LyXTextClassList::Read: unable to find textclass file `'. Exiting. And then, the program abort! I have the same error with old versions. Can somebody help me please? I'm an old Lyx user, but now I need to abandon this software if this can't be solved...:( I don't know what the first error is. That file has to do with python. Do you have a working python installation? As for the second, it has been discussed on the list several times. Have a look at the archives. The errors are likely to be related: if Python is broken, the installation script is probably doomed, hence the null textclass.lst file. As Richard said, w9xpopen.exe is a Python file. (Apparently Jasc uses a file of the same name in Paint Shop Pro, but the bit about shell or platform coupled with the fact that LyX uses Python and not PSP strongly suggests Python here.) Googling around indicates that Python uses w9xpopen.exe on Win 95/98 systems. You indicated you are using XP SP2, so you don't need that file. (I have both a full installation of Python 2.3 and the 'thin' installation that LyX does on its own, and neither has that file.) Any chance you upgraded this machine from 9x to XP? If you have Python installed someplace, you might try uninstalling it (or at least moving it off the Windows command path momentarily) and see if that cures the bug. It might also be a good idea to uninstall any LyX installations, and delete the user data folder(s) they created. Then reinstall LyX, cross fingers and hope for the best. If you're not sure about whether there is a ghost installation of Python floating around, you could try searching the entire hard drive for python*.exe. That should (eventually) point to any and all Python installations. /Paul __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/
Re: Problem with line-spacing
[EMAIL PROTECTED] wrote: Hi everyone, I have a problem with 1.5 line spacing in my document. For line spacing 1, the compiled pdf is excellent, but as soon as I change to 1.5 line spacing, the text exceeds the pages in the pdf. The style is report, paper size A4 and default margins are used (but a manual setting does not help either). What have I done wrong? Thanks for any help, Mareike You make the change by setting Document - Settings... - Text Layout - Line Spacing to OneHalf, right? Which method do you use to generate PDFs (ps2pdf, dvipdfm or pdflatex)? What version of LyX, and what operating system? I can't reproduce this. Perhaps you could post a small sample document where this occurs? /Paul
Re: trouble adding figures (latex style breaks them)
On Thu, Mar 22, 2007 at 01:57:00PM -0300, Bruno Schneider wrote: Updated, simplified version of the problem: Start a new LyX file. Add a floating figure. Edit the LaTeX preamble and add \input{mz.sty} (mz.sty is attached in previous post). Now the figure no longer works. However, if you edit mz.sty and comment out line 24 (\renewcommand{\empty}{\emptyset}), it works. Interestingly, if you change line 24 to \renewcommand{\empty}{$\emptyset$} it also works, but an empty set sign appears in the figure. So it seems \empty is used in figures. Can anybody explain that? \empty is defined in latex.ltx as [EMAIL PROTECTED] [EMAIL PROTECTED] I am not sure fiddling around with this is a good idea. Andre'
Re: I can't run Lyx.exe after install it! - help me!
[EMAIL PROTECTED] wrote: Hey Paul! Thanks fot the effort, but I've tried many ways to solve it, and inside this ways was each one you suggest me. I formated the partition where Windows was, and remove all python, lyx and personal files, and the problem is the same. I couldn't find any posts for this [As for the second, it has been discussed on the list several times. Have a look at the archives.] I downloaded many times to be sure the files was ok. I tried reinstall many versions of Lyx, and the problem persists. I installed the last version of python to try to do a different thing to make it work, but unsuccessful as well. I have many *.lyx projects, but no software to open it. I need to install Lyx and can't... This is fairly mysterious. Try the following and see what happens. Open a DOS window and cd to the directory under which you want LyX to create your user directory. On XP this is typically C:\Documents and Settings\your id\Application Data. (LyX will create a LyX1.4.x subdirectory underneath it -- we hope.) If you already have a LyX1.4.x directory, delete it and everything underneath it. From there, run path to Python\python.exe path to LyX\Resources\configure.py and see if you get that same error message about the missing Python component. Whether or not you do, check to see if the LyX1.4.x directory was created, and (if so) whether it contains a textclass.lst file with length greater than zero. If yes, try starting LyX. If no, report here what happened. /Paul
Re: technical specification class ?
On Thursday 22 March 2007 11:35, Eugeny N Dzhurinsky wrote: Hello! Hi. I'm writing this in case nobody locates a tech-spec class... Could somebody please suggest some document class suitable for writing technical specifications? For now I'm using article class, but sometimes I'm not satisfied with it, probably there is something more convenient for such kind of task as I'm doing? What new environments would be needed for a tech-spec class? In what ways would the appearence need modifications? Thanks in advance! P/S Probably somebody could suggest how to increase nesting for section/subsection/subsubsection? I need even more deep level, but I don't know how to get it in LyX, if it is possible at all. AFAIK, each deeper level needs its own counter. In your LaTeX layout file, have each counter depend on its parent environment's counter. SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: Path prefix empty
On Thursday 22 March 2007 3:57:59 pm Bob Lounsbury wrote: Hi, I just compiled 1.5.0beta on Ubuntu (first time I've compiled anything from source -- very cool). However, my path prefix box was empty and so I had no output to pdf. So, I put /usr/bin:/usr/local/bin in the path and setup pdflatex $$i extra flag 'latex' and setup the viewer as evince for pdflatex. Now that is working again. What does $ echo $PATH says when typing from a console, or xterm, or any other shell viewer? So, my question is: Is there anything else I should put into the path prefix? and is there something I can put into the viewer so that it just opens the default pdf viewer (I tried 'open' and 'auto')? LyX should use the default path. Regarding automatic opening of files a possible solutions is xdg-open from freedesktops.org Thanks, Bob Lounsbury -- José Abílio
fonts and hebrew
hi all, My 1.4.4 LyX is working perfectly for English, but refuses to recognize hebrew. I did everything I saw everywhere on the web, and installed Culmus.exe. The error i get is can't read font size for... or something of this kind. I suspect that the Culmus did'nt extract the fonts to the right path, but I'm not sure what is the right path, and if really that is the case. any ideas will be welcome. thanks, Yohai
Re: [bug - lyx 1.5.0beta1] changing keyboard in lyx 1.5.0beta1
Micha Feigin wrote: I tried lyx 1.5.0beta1 on my linux system and I ran into two problems: changing the keyboard doesn't work (it continues to write in english on screen despite doing something else in the output). right to left text apears left to right Anyone else notice that also? Hi! (1) Regarding the second problem you describe, I just sent in a patch fixing the bug, see http://thread.gmane.org/gmane.editors.lyx.devel/79740 (or the lyx-devel mailing list) for details. (2) Regarding keyboard input, you need to do two things together: also change the keyboard input, and also switch the language (F12 with dekel's bindings). See http://thread.gmane.org/gmane.editors.lyx.devel/74576/focus=74622 for details. Note that it's no longer necessary to recompile in order to get the correct encodings, but you may still want to play around with cp1255/auto/default. HTH! Dov
Re: 1.5.0beta1 in Debian
On Tue, 20 Mar 2007 19:34:05 -0800 Paul Tremblay wrote: Just thought I'd led you know that we have uploaded LyX 1.5.0beta1 to Debian's experimental distribution, if you want to try it out. Will this work for Ubuntu, which essentially is modified debian? And is there a way to install it so it doesn't overwrite the stable version? I have installed the compiled LyX 1.5 for Ubuntu by Russell Davie. Look at earlier message in this list: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg54077.html It work well. It's installed at /usr/local and therefore don't overwrite the stable. But you need the Qt4 libraries. Ignacio
[bug - lyx 1.5.0beta1] changing keyboard in lyx 1.5.0beta1
I tried lyx 1.5.0beta1 on my linux system and I ran into two problems: changing the keyboard doesn't work (it continues to write in english on screen despite doing something else in the output). right to left text apears left to right Anyone else notice that also?
Re: [bug - lyx 1.5.0beta1] changing keyboard in lyx 1.5.0beta1
Yes, I already filed bugs on these issues prior to the beta release. Miki "Micha Feigin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I tried lyx 1.5.0beta1 on my linux system and I ran into two problems: > > changing the keyboard doesn't work (it continues to write in english on > screen > despite doing something else in the output). > > right to left text apears left to right > > Anyone else notice that also? >
STIX fonts website up-dated 19 March
(also posted to comp.text.tex) Came across this in a search here at work. All glyphs have been created and they're now doing a design review ``...establishing consistent sizes for various glyphs based on square or circle designsConfidence remains high that we will release the fonts some time in April.'' Anyway, thought people might find it of interest. http://www.stixfonts.org/ for those not familiar w/ the project. William NB - I've cross-posted this to a number of mailing lists in this message, please check your reply to and trim if appropriate to your reply. -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: STIX fonts website up-dated 19 March
William Adams wrote: > All glyphs have been created and they're now doing a design review > ``...establishing consistent sizes for various glyphs based on square > or circle designsConfidence remains high that we will release the > fonts some time in April.'' ... > http://www.stixfonts.org/ for those not familiar w/ the project. Based on their previous slippages, I'll believe it when I see it. That said, it certainly will be a good day when/if it does happen. -- Rex
trouble adding figures (latex style breaks them)
Hi all, I received a LyX file that when exported to PDF (ps2pdf), has no figures. I'm using LyX 1.4.3 on Linux. When I open the lyx file and do a "file export > PDF (ps2pdf)" a get several errors like: Missing $ inserted where the figures are. Figures are EPS, and since I can usually work with figures, I checked the document's LaTeX preamble. It has \input{mz.sty} at the end. If I remove this line, Figures are exported OK. Looking at the mz.sty file, I can't figure out what breaks the figures, perhaps someone can help me... I have attached the mz.sty file and error details from the log and the temporary tex file (they are attached so that line numbers don't change. -- Bruno Schneider http://www.dcc.ufla.br/~bruno/ % % mz.sty % % Copyright (c) 1995 by Marc Mengel <[EMAIL PROTECTED]> % % Permission is hereby granted for you to use, copy, and modify this file % provided you: % * retain the above copyright notice % * clearly note any changes from the original % * send any good improvements back to me % % A nicely font independent LaTeX style for Z, works with old and new LaTeX % \typeout{Style Option 'mz'. Marc Mengel's Z style. Version 1.0 Oct 13 1995} % % Spacing %\newcommand{\also}{\\[0.5ex]} \newcommand{\also}{\\[0.2ex]} % overrides of existing LaTeX commands \renewcommand{\t}[1]{\hspace*{#1ex}}% note: this breaks accents... \renewcommand{\star}{^*}% overrides plain asterisk... \renewcommand{\div}{{\mathsf{\ div\ }}} % overrides dot over dot symbol \renewcommand{\empty}{\emptyset}% don't know why these need renew \renewcommand{\notin}{\not\in} % \renewcommand{\iff}{\Leftrightarrow}% % \let \mzmesh=\# % make \# a command \renewcommand{\#}{{\mathsf{\mzmesh}}} % (why does this work?) % % Outer Grouping Environments % % These first 3 mean something to ztc, but not to anyone else \newenvironment{spec}{\relax}{\relax} \newenvironment{nocheck}{\relax}{\relax} \newenvironment{comment}{\relax}{\relax} % % General purpose zed box for % zed, schema, etc. % outer layer is an array{l} stack like this % <= topline % | % | <= left bracket <= empty right bracket % | guts % | <= bottom line % % the guts is *another* array this time an array{} % so folks can set tabs, etc. % its built with \mztopbox{toplinecommand}{leftbracket} % at the top and \mzbotbox{bottomlinecommand} % at the bottom. \newcommand{\mztopbox}[2]{ \[ \array{l} #1\\[-1ex] \! \left#2 \array{l} \ \\[-1.7ex] %\hspace*{-0.6em} % update by Nelson S. Rosa \hspace*{0.0em} \array{} } \newcommand{\mzbotbox}[1]{ \ \\[0ex] \endarray \endarray \right. \\[-1.65ex] #1 \endarray \] } %\newcommand{\mzwidth}{4.2in} \newcommand{\mzwidth}{3.0in} % % horizontal line commands % \newcommand{\where}{% separator for schemas, axdef, etc. \ \\[-1ex] \hspace*{-0.55em} \overline{\hspace{1in}} \\[0ex] } \newcommand{\mzbotline}{ % bottom of schema box, line above \overline{\makebox[\mzwidth]{\hfill}} } \newcommand{\mznoline}{ % invisible line, same width as others \makebox[\mzwidth]{\hfill} \ \\[-1ex] } \newcommand{\mzsline}[1]{ % schema top line, with name \hspace*{-0.65em} \raisebox{0.05ex}{ \makebox[\mzwidth][l]{ \makebox[1em]{\hrulefill} $#1$ \hrulefill } } } \newcommand{\mzgline}[1]{ % gendef top line, with name \underline{\makebox[\mzwidth][l]{\makebox[1em]{\hrulefill}$#1$\hrulefill}} } % % actual environments built with 'em % \newenvironment{axdef}{ % axiom -- no top or bottom, just left \mztopbox{\mznoline}{|} }{ \mzbotbox{\mznoline} } %\newenvironment{gendef}[1]{% gendef -- double top w/name & bottom % \mztopbox{\mzgline{#1}}{|} %}{ % \mzbotbox{\mzbotline} %} \def \gendef[#1] {\mztopbox{\mzgline{[#1]}}{|}} \def \endgendef {\mzbotbox{\mzbotline}} \newenvironment{schema}[1]{ % schema -- single top w/name & bottom \mztopbox{\mzsline{#1}}{|} }{ \mzbotbox{\mzbotline} } \newenvironment{syntax}{% synatax -- no top,bottom,or left \mztopbox{\mznoline}{.} }{ \mzbotbox{\mznoline} } \newenvironment{zed}{ % zed -- same as syntax \mztopbox{\mznoline}{.} }{ \mzbotbox{\mznoline} } % % handy macros for various things % \newcommand{\mzovr}[2]{ % overlay two symbols \makebox[0pt][l]{$#1$}#2 } \newcommand{\mzhsmr}[1]{% "smear" a character horizantally
Re: Problem with multirow and indices (solution!)
Hi, here's Karsten Heymann's solution sent by TEX-D-L. Strictly speaking, there are 2 ways to solve the problem. Thanks a lot, Karsten! Regards Detlev \begin{table} \tiny \caption{Karsten's Solution} \begin{tabular}{} \multirow{2}{10mm}{$\smash{\left.\rule{0pt}{4mm}\right\}}{}\smash{^e}000,0$} & \multirow{2}{10mm}{$\smash{^g}000,0$} & \multirow{2}{10mm}{$\smash{^j}000,0$} & \multirow{2}{10mm}{$\smash{^z}000,0$} \tabularnewline & & & \tabularnewline \end{tabular} \bigskip \begin{tabular}{} \multirow{2}{10mm}{$\smash{\left.\rule{0pt}{4mm}\right\}}{}^{\mathstrut e}000,0$} & \multirow{2}{10mm}{$^{\mathstrut g}000,0$} & \multirow{2}{10mm}{$^{\mathstrut j}000,0$} & \multirow{2}{10mm}{$^{\mathstrut z}000,0$} \tabularnewline & & & \tabularnewline \end{tabular} \end{table} In LyX you only have to modify the multirow-ERT-boxes. \smash{} rejects height (and depth) of the content in braces. \mathstrut puts in an invisible "prop" with the height of the current font size. If necessary \raisebox{height}{text} for vertical fine tuning.
technical specification class ?
Hello! Could somebody please suggest some document class suitable for writing technical specifications? For now I'm using article class, but sometimes I'm not satisfied with it, probably there is something more convenient for such kind of task as I'm doing? Thanks in advance! P/S Probably somebody could suggest how to increase nesting for section/subsection/subsubsection? I need even more deep level, but I don't know how to get it in LyX, if it is possible at all. -- Eugene N Dzhurinsky
My solution to problems with IEEEtran.cls and Babel (You haven't defined the language ENGLISH yet)
This problem has caused me a lot of grief when using IEEEtran.cls. I would keep getting the Babel package error that the ENGLISH language wasn't defined. I decided to cut out Babel from the picture. I performed the following: 1. Follow Tools->Preferences->Language Settings->Language 2. Set Default language to English 3. Clear all text input fields 4. Uncheck all boxes 5. Press the Apply/Save button 6. Click Tools->Reconfigure 7. Restart Lyx 8. Test: load your document and press Ctrl-D (create DVI). should see no error I don't know if this will work for non-english users of LyX though. Thanks Manoj
Problem with line-spacing
Hi everyone, I have a problem with 1.5 line spacing in my document. For line spacing 1, the compiled pdf is excellent, but as soon as I change to 1.5 line spacing, the text exceeds the pages in the pdf. The style is report, paper size A4 and default margins are used (but a manual setting does not help either). What have I done wrong? Thanks for any help, Mareike
Path prefix empty
Hi, I just compiled 1.5.0beta on Ubuntu (first time I've compiled anything from source -- very cool). However, my path prefix box was empty and so I had no output to pdf. So, I put "/usr/bin:/usr/local/bin" in the path and setup "pdflatex $$i extra flag 'latex'" and setup the viewer as "evince" for pdflatex. Now that is working again. So, my question is: Is there anything else I should put into the path prefix? and is there something I can put into the viewer so that it just opens the default pdf viewer (I tried 'open' and 'auto')? Thanks, Bob Lounsbury
Re: My solution to problems with IEEEtran.cls and Babel (You haven't defined the language ENGLISH yet)
Two additional comments: - The problem appears with other article classes as well (I had it with other IEEE styles, but also the ACM classes sigplan, acm_proc_article and so on). - It seems to be enough to just uncheck the "use bable" option. There is no need for reconfiguration. Daniel Manoj Rajagopalan schrieb: This problem has caused me a lot of grief when using IEEEtran.cls. I would keep getting the Babel package error that the ENGLISH language wasn't defined. I decided to cut out Babel from the picture. I performed the following: 1. Follow Tools->Preferences->Language Settings->Language 2. Set Default language to English 3. Clear all text input fields 4. Uncheck all boxes 5. Press the Apply/Save button 6. Click Tools->Reconfigure 7. Restart Lyx 8. Test: load your document and press Ctrl-D (create DVI). should see no error I don't know if this will work for non-english users of LyX though. Thanks Manoj
Re: ugly big blank space
AFAIK there is no out-of-the-box solution (aka some magic option) for this kind of problem that really works. If the space is just enough for an orphan/widow, but to big to be let empty, well what should LaTeX possibly do about it? IMHO this is best solved by manual fine-tuning at the very end: - I usually start with altering the size of figures and floats on the pages before the problem page. Make them slightly smaller so that an extra line would fit on the problem page or bigger, so that the empty space no longer looks that empty. - If that doesn't help, I rephrase the text so that an extra line of the otherwise orphan/widow paragraph would fit on the page. - As a last resort, if space is a real problem because I have a page limit, I start to spread negative \vspaces at certain positions. However, doing so can be a real pain. Daniel Marcelo Acuña wrote: > Hello, > Sometimes, about 1 time by 40/50 pages, latex put a > page break too early, and appears a ugly big blank > space at the bottom of page. > This occurs when I put in preamble commands for avoid > widows and orphan. If I deleted this commands ugly > space desappears and widows and orphans appears. > How I can avoid this problem? > What command I can put in pages with early page > break? > Thanks > Marcelo > > > > > > > > > __ > Preguntá. Respondé. Descubrí. > Todo lo que querías saber, y lo que ni imaginabas, > está en Yahoo! Respuestas (Beta). > ¡Probalo ya! > http://www.yahoo.com.ar/respuestas
Re: trouble adding figures (latex style breaks them)
On 3/22/07, Bruno Schneider wrote: Figures are EPS, and since I can usually work with figures, I checked the document's LaTeX preamble. It has \input{mz.sty} at the end. If I remove this line, Figures are exported OK. Looking at the mz.sty file, I can't figure out what breaks the figures, perhaps someone can help me... Updated, simplified version of the problem: Start a new LyX file. Add a floating figure. Edit the LaTeX preamble and add "\input{mz.sty}" (mz.sty is attached in previous post). Now the figure no longer works. However, if you edit mz.sty and comment out line 24 (\renewcommand{\empty}{\emptyset}), it works. Interestingly, if you change line 24 to "\renewcommand{\empty}{$\emptyset$}" it also works, but an empty set sign appears in the figure. So it seems "\empty" is used in figures. Can anybody explain that? -- Bruno Schneider http://www.dcc.ufla.br/~bruno/
Re: technical specification class ?
Eugeny N Dzhurinsky wrote: Hello! Could somebody please suggest some document class suitable for writing technical specifications? For now I'm using article class, but sometimes I'm not satisfied with it, probably there is something more convenient for such kind of task as I'm doing? I also use article for my tech docs, I just have to build the title page the way I need it instead of what article wants to give. Thanks in advance! P/S Probably somebody could suggest how to increase nesting for section/subsection/subsubsection? I need even more deep level, but I don't know how to get it in LyX, if it is possible at all. I believe what you are asking for can be solved with the email I dropped a few years ago. http://www.mail-archive.com/lyx-users@lists.lyx.org/msg38442.html I have used the method found on this page http://tug.org/TeXnik/mainFAQ.cgi?file=space/space the section "linebreak behind paragraph-style", which lays the section label text out like a section. \makeatletter [EMAIL PROTECTED]@}% [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] -.2ex}% {1.5ex [EMAIL PROTECTED] .2ex}% {\normalfont\normalsize\bfseries}} \makeatother -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: I can't run Lyx.exe after install it! - help me!
Hey Paul! Thanks fot the effort, but I've tried many ways to solve it, and inside this ways was each one you suggest me. I formated the partition where Windows was, and remove all python, lyx and personal files, and the problem is the same. I couldn't find any posts for this ["As for the second, it has been discussed on the list several times. Have a look at the archives."] I downloaded many times to be sure the files was ok. I tried reinstall many versions of Lyx, and the problem persists. I installed the last version of python to try to do a different thing to make it work, but unsuccessful as well. I have many "*.lyx" projects, but no software to open it. I need to install Lyx and can't... What can I do now? Please help me! Thanks in advance! Douglas "Paul A. Rubin" <[EMAIL PROTECTED]> escreveu: Richard Heck wrote: > [EMAIL PROTECTED] wrote: >> Hey guys, how are you today? >> >> Well, I've tried to install the Lyx 1.4 and old versions, but I can't. >> Actually I tried from many ways to do it on Windows XP SP2: >> >> - from "lyx-144-4-bundle.exe" - complete (74mb); >> - from "lyx-144-4.exe" - (8mb); and... >> - from the "LyXPackageComplete-3-08.rar" - berilOS Developer (73mb). >> >> All this ways seems to be good installation, but when I run the program, I >> only see the same error: >> >> RuntimeError: Can not locate 'w9xpopen.exe' which is needed for pope >> th your shell or platform. >> LyX: Ready! >> LyXTextClassList::Read: unable to find textclass file `'. Exiting. >> >> And then, the program abort! I have the same error with old versions. Can >> somebody help me please? I'm an old Lyx user, but now I need to abandon >> this software if this can't be solved...:( >> > I don't know what the first error is. That file has to do with python. > Do you have a working python installation? As for the second, it has > been discussed on the list several times. Have a look at the archives. The errors are likely to be related: if Python is broken, the installation script is probably doomed, hence the null textclass.lst file. As Richard said, w9xpopen.exe is a Python file. (Apparently Jasc uses a file of the same name in Paint Shop Pro, but the bit about "shell or platform" coupled with the fact that LyX uses Python and not PSP strongly suggests Python here.) Googling around indicates that Python uses w9xpopen.exe on Win 95/98 systems. You indicated you are using XP SP2, so you don't need that file. (I have both a full installation of Python 2.3 and the 'thin' installation that LyX does on its own, and neither has that file.) Any chance you upgraded this machine from 9x to XP? If you have Python installed someplace, you might try uninstalling it (or at least moving it off the Windows command path momentarily) and see if that cures the bug. It might also be a good idea to uninstall any LyX installations, and delete the user data folder(s) they created. Then reinstall LyX, cross fingers and hope for the best. If you're not sure about whether there is a "ghost" installation of Python floating around, you could try searching the entire hard drive for python*.exe. That should (eventually) point to any and all Python installations. /Paul __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/
Re: Problem with line-spacing
[EMAIL PROTECTED] wrote: Hi everyone, I have a problem with 1.5 line spacing in my document. For line spacing 1, the compiled pdf is excellent, but as soon as I change to 1.5 line spacing, the text exceeds the pages in the pdf. The style is report, paper size A4 and default margins are used (but a manual setting does not help either). What have I done wrong? Thanks for any help, Mareike You make the change by setting Document -> Settings... -> Text Layout -> Line Spacing to "OneHalf", right? Which method do you use to generate PDFs (ps2pdf, dvipdfm or pdflatex)? What version of LyX, and what operating system? I can't reproduce this. Perhaps you could post a small sample document where this occurs? /Paul
Re: trouble adding figures (latex style breaks them)
On Thu, Mar 22, 2007 at 01:57:00PM -0300, Bruno Schneider wrote: > Updated, simplified version of the problem: > > Start a new LyX file. Add a floating figure. Edit the LaTeX preamble > and add "\input{mz.sty}" (mz.sty is attached in previous post). Now > the figure no longer works. > > However, if you edit mz.sty and comment out line 24 > (\renewcommand{\empty}{\emptyset}), it works. > > Interestingly, if you change line 24 to > "\renewcommand{\empty}{$\emptyset$}" it also works, but an empty set > sign appears in the figure. > > So it seems "\empty" is used in figures. Can anybody explain that? \empty is defined in latex.ltx as [EMAIL PROTECTED] [EMAIL PROTECTED] I am not sure fiddling around with this is a good idea. Andre'
Re: I can't run Lyx.exe after install it! - help me!
[EMAIL PROTECTED] wrote: Hey Paul! Thanks fot the effort, but I've tried many ways to solve it, and inside this ways was each one you suggest me. I formated the partition where Windows was, and remove all python, lyx and personal files, and the problem is the same. I couldn't find any posts for this ["As for the second, it has been discussed on the list several times. Have a look at the archives."] I downloaded many times to be sure the files was ok. I tried reinstall many versions of Lyx, and the problem persists. I installed the last version of python to try to do a different thing to make it work, but unsuccessful as well. I have many "*.lyx" projects, but no software to open it. I need to install Lyx and can't... This is fairly mysterious. Try the following and see what happens. Open a DOS window and cd to the directory under which you want LyX to create your "user" directory. On XP this is typically C:\Documents and Settings\\Application Data. (LyX will create a LyX1.4.x subdirectory underneath it -- we hope.) If you already have a LyX1.4.x directory, delete it and everything underneath it. From there, run \python.exe \Resources\configure.py and see if you get that same error message about the missing Python component. Whether or not you do, check to see if the LyX1.4.x directory was created, and (if so) whether it contains a textclass.lst file with length greater than zero. If yes, try starting LyX. If no, report here what happened. /Paul
Re: technical specification class ?
On Thursday 22 March 2007 11:35, Eugeny N Dzhurinsky wrote: > Hello! Hi. I'm writing this in case nobody locates a tech-spec class... > > Could somebody please suggest some document class suitable for writing > technical specifications? For now I'm using article class, but sometimes > I'm not satisfied with it, probably there is something more convenient for > such kind of task as I'm doing? What new environments would be needed for a tech-spec class? In what ways would the appearence need modifications? > > Thanks in advance! > > P/S Probably somebody could suggest how to increase nesting for > section/subsection/subsubsection? I need even more deep level, but I don't > know how to get it in LyX, if it is possible at all. AFAIK, each deeper level needs its own counter. In your LaTeX layout file, have each counter depend on its parent environment's counter. SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: Path prefix empty
On Thursday 22 March 2007 3:57:59 pm Bob Lounsbury wrote: > Hi, > > I just compiled 1.5.0beta on Ubuntu (first time I've compiled anything from > source -- very cool). However, my path prefix box was empty and so I had no > output to pdf. So, I put "/usr/bin:/usr/local/bin" in the path and setup > "pdflatex $$i extra flag 'latex'" and setup the viewer as "evince" for > pdflatex. Now that is working again. What does $ echo $PATH says when typing from a console, or xterm, or any other shell viewer? > So, my question is: Is there anything else I should put into the path > prefix? and is there something I can put into the viewer so that it just > opens the default pdf viewer (I tried 'open' and 'auto')? LyX should use the default path. Regarding automatic opening of files a possible solutions is xdg-open from freedesktops.org > Thanks, > Bob Lounsbury -- José Abílio
fonts and hebrew
hi all, My 1.4.4 LyX is working perfectly for English, but refuses to recognize hebrew. I did everything I saw everywhere on the web, and installed Culmus.exe. The error i get is "can't read font size for..." or something of this kind. I suspect that the Culmus did'nt extract the fonts to the right path, but I'm not sure what is the right path, and if really that is the case. any ideas will be welcome. thanks, Yohai
Re: [bug - lyx 1.5.0beta1] changing keyboard in lyx 1.5.0beta1
Micha Feigin wrote: I tried lyx 1.5.0beta1 on my linux system and I ran into two problems: changing the keyboard doesn't work (it continues to write in english on screen despite doing something else in the output). right to left text apears left to right Anyone else notice that also? Hi! (1) Regarding the second problem you describe, I just sent in a patch fixing the bug, see http://thread.gmane.org/gmane.editors.lyx.devel/79740 (or the lyx-devel mailing list) for details. (2) Regarding keyboard input, you need to do two things together: also change the keyboard input, and also switch the language (F12 with dekel's bindings). See http://thread.gmane.org/gmane.editors.lyx.devel/74576/focus=74622 for details. Note that it's no longer necessary to recompile in order to get the correct encodings, but you may still want to play around with cp1255/auto/default. HTH! Dov