eLyXer 0.98 released
Hi everyone, Version 0.98 of eLyXer, the LyX to HTML converter, has just been released. The version number bump (from 0.43 to 0.98) signals the impending 1.0 release, since all major features planned have already been already added; please report back any issues so that 1.0 is as complete and bug-free as possible. The most significant additions for this version are: --- - Support for macros, both in LyX macro inset and as \newcommand. - First public release of option --splitpart [level]: split resulting web page at the given level. - Experimental installation script. - Improved lists of figures, tables and algorithms. - Improved support for a few BibTeX formats. --- Complete changelog: http://www.nongnu.org/elyxer/changelog.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer If the new version has not hit your favorite mirror yet: http://download.savannah.gnu.org/releases-noredirect/elyxer/ Thanks, Alex Fernández.
Re: eLyXer 0.98 released
Hi Philipp, On Thu, May 13, 2010 at 7:21 PM, Philiрp Rеichmuth phil.ipp.reich.m...@gmail.com wrote: This isn't obviously what eLyXer was designed for and there were some glitches, such as having to patch extra values into ContainerConfig for parsing custom character style insets. But eLyXer in its current state would be a good basis for a universal LyX file parser and document object model in Python; one could then refactor the HTML converter to work on this document object model. This would be useful for everybody processing LyX files with Python scripts, also if the file format eventually changes towards XML or whatever. It's obviously nothing for an 1.0 release, more like 2.0, but what do you think of it? I think it's great! In fact I have always thought as one of the benefits of having an external LyX-HTML converter that there is an alternative implementation of the LyX format, even if not complete yet and read-only. If you want we may move the discussion to elyxer-users for eLyXer specifics, as LyX users may find it boring. Thanks, Alex.
Re: shaded background color
Hi Ricardo, On Wed, May 19, 2010 at 8:05 PM, [Ricardo Rodriguez] eBioTIC. ricardo.rodrig...@ebiotic.net wrote: p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter. I'm currently working on Mac OS X platforms like most of the team core, but we must be able to support Windows and at least one/two Linux flavours to be inclusive with as much people as possible in our proposals for different kind of tools. So, any information about Mac, Windows or Linux platforms is extremely welcome! I don't know how much eLyXer can help you, but it is multiplatform: it has been reported to work on Windows, Mac OS X and Linux. In fact it should work on any platform where Python 2.5 is available (0.98 does not support Python 2.4 due to a bug, already solved for 0.99). Some people have used eLyXer's core classes as a processing framework for LyX files; maybe you could explore this path too. Although I don't know anything right now about XWiki, I would be happy to assist in any such efforts. Alex.
eLyXer 0.99 released
Hi everyone, Version 0.99 of eLyXer, the LyX to HTML converter, has just been released. This version features (by popular request) many improvements in BibTeX, and the new --template option for HTML templates. Feature completeness for the upcoming 1.0 should now be definitive, so the code will be frozen except for fixes. Once more, please report back any issues so that 1.0 is as complete and bug-free as possible. Major improvements include: --- – BibTeX: improved template definitions, variable citing styles, better parsing. – Added option --template to use an HTML template and substitute !--$content--, !--$title--... – Added option --copyright to add a copyright notice at the bottom (no longer there by default). Deprecated old option --nocopy. – Added support for including files as a code listing. --- Complete changelog: http://www.nongnu.org/elyxer/changelog.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer If the new version has not hit your favorite mirror yet: http://download.savannah.gnu.org/releases-noredirect/elyxer/ Thanks to everyone who contributed, and to the rest thank you for your patience. Alex Fernández.
Re: eLyXer 0.99 released
Hi Steve, On Thu, Jun 24, 2010 at 4:02 AM, Steve Litt sl...@troubleshooters.com wrote: I just downloaded 0.99, ran it against my book Twenty Eight Tales of Troubleshooting, and had it build me an HTML file. Frankly, I expected it to crash and burn on a file that size, but instead for the most part eLyXer worked perfectly. Rather than elaborate on the thousands of things eLyXer did right, I'll list a few of the things that were less than perfect: As you must know well, document preparation is a tedious and time-consuming job. eLyXer is supposed to make it easy but still it does not come close to the amazing customizability of LyX, since the latter comes with the full power of TeX. I wish it was easier to make HTML output as flexible as TeX (or even PDF), but it is just not possible, so some compromises must be done. Suggestions for improvement are always welcome, but sometimes they are very hard to do well. One common example is two column layouts -- it just does not translate well to HTML. MINOR AGGRAVATIONS: * Parts, Chapters and Sections weren't distinct enough in their font or look. Probably I could fix that by changing your included CSS file or making one just for this book. Note that the default lyx.css does only define the size for regular text, and the rest is standard HTML as rendered by your browser: Chapter is h1, Section is h2, and Part is centered h1. Font sizes can as you say be manipulated at will with a custom CSS. * Graphics are the right size in the book for screen reading, but are too small in the HTML file. I imagine I could either do some config on eLyXer or run a postprocessor to correctly size the graphics. Graphic sizes are a big concern, since translation from individual document page size to continuous HTML page needs an approximation. eLyXer chooses to believe that col%, height%, width% and text% can all be approximated to HTML's % of page width; while absolute sizes in cm or mm, and % of original image size (for images with an absolute size), are respected. As we will see later, if you convert your images manually to PNG eLyXer will usually respect them. MEDIUM CONCERNS * As everyone knows, I fine-tune the heck out of my front matter. ElYxer dropped the first 2.5 pages of my book, starting in the middle of page 3. Nothing that can't be worked around, but... This one can be harder. Perhaps you could send me a loremipsumized version of your book in private? Then we will see what we can do. GENUINE WORRIES * eLyXer wrote .png copies of my book's graphics in my existing images directory. With this particular book that's no big deal because my book used .gif images. But what if my book had used .png images -- would they have been overwritten with (presumably smaller) .png copies, thereby changing the appearance of the book? I'd suggest that if the book has images in the images directory, you copy them into the images_elyxer directory. If it has images in the mypictures directory, you copy them into the mypictures_elyxer directory. If they're in the current directory (ugly way to do things, but just saying), copy them into a new directory hard code named elyxer_images. I know probably eLyXer has code to prevent overwriting, but the user who wants to use eLyXer naively would appreciate the new directories being used for eLyXer generated graphics. As you guessed, eLyXer will respect your images if they are in PNG format. If the images are in a subdirectory of the current directory the paths will be respected in the conversion (e.g. dir/subdir/image.gif will end up as dir/subdir/image.png), but if they are in a different directory they will be placed in the new images directory (e.g. ../anotherdir/image.gif will end up as images/anotherdir/image.gif). This should make it easier to locate your converted images. This behavior can be finetuned using the --directory and --destdirectory parameters, which should work in unsurprising ways (although they are surprisingly easy to get wrong). However, all this logic will only work if you convert your images from the command line. Done from within LyX, images will always end up in the newly created pagename.html.LyXconv directory. Good work Alex -- it converted wonderfully. Thanks! A lot of people besides myself have worked a lot to improve eLyXer. (In fact I had forgotten to include you in the acknowledgements despite previous suggestions and testing, solved now with your permission.) Alex.
eLyXer 1.0.0 released
Hi everyone, After 16 months of continued development, eLyXer has reached its 1.0.0 milestone. With this version a lot of bugs have been squashed, and a few new features have found their way in (mostly related to --splitpart generation). Most LyX guides are now converted correctly, and feature completeness is now an official goal for the next few releases -- which should bring improvements like support for versioned documents or SVG output for images. As always, keep those bug reports and feature requests coming! Changes include: --- - For --splitpart: replicate the navigation bar at the bottom of pages, use translated strings and add partial table of contents to intermediate pages. - Include Index and Nomenclature in the Table of Contents. - Solved a few XHTML validation errors. - Improved output for algorithms: do not run lines together, and do not separate other lines with double space. - Increased line height for h2 in the main CSS (thanks, Wolfgang!). - Better color support in formulas. - Allow hierarchical index entries, of the form “Main ! Secondary ! Final”. --- Complete changelog: http://www.nongnu.org/elyxer/changelog.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer If the new version has not hit your favorite mirror yet: http://download.savannah.gnu.org/releases-noredirect/elyxer/ Thanks to everyone who contributed, and to the rest thank you for your patience. Alex Fernández.
table of contents and pdf hyperrefs
Hi all I am writing my thesis in LyX and I am using koma-script report template. I have most things working really well, it is great, but I have two things which arent. 1/ I want to have my TOC, LOT and LOF all to appear in the table of contents and to be in the PDF, is this possible. 2/ My appendices are in the TOC but when you click them it goes to chapter 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the PDF index. Thanks for you time, Alex -- Alex Leith Surveying and Spatial Sciences University of Tasmania email: alexgle...@gmail.com mobile: 0419189050
Re: table of contents and pdf hyperrefs
On Wed, Jul 28, 2010 at 9:27 PM, Tennessee Carmel-Veilleux tennessee.carmelveill...@gmail.com wrote: On 28 July 2010 01:23, Alex Leith alexgle...@gmail.com wrote: Hi all I am writing my thesis in LyX and I am using koma-script report template. I have most things working really well, it is great, but I have two things which arent. 1/ I want to have my TOC, LOT and LOF all to appear in the table of contents and to be in the PDF, is this possible. Basically, you have to give class options (Document:Settings:Document Class:Class Options:Custom) that tell KOMA-Script to include these. The options are: listof=totoc bibliography=totoc or =totocnumbered (to have it numbered in sequence as a chapter). So in your case you would have: listof=totoc,bibliography=totoc in the custom options box. See the screencast here (2 minutes) for the effect: http://screencast.com/t/ODQ3MDc3O See section 3.1.5 of the KOMA-Script manual for a full description of these TOC options: http://www.tex.ac.uk/CTAN/macros/latex/contrib/koma-script/scrguien.pdf. 2/ My appendices are in the TOC but when you click them it goes to chapter 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the PDF index. This does not happen with my KOMA-Script documents. Maybe it is a problem of one of the packages that you are using which redefines some aspects of the Chapter command in the case of appendixes. It's hard to tell... Maybe someone else has an answer on that one :) Best regards, Tennessee Carmel-Veilleux, EIT Electrical engineering masters student, ETS (http://www.etsmtl.ca) Project AREXIMAS (http://areximas.etsmtl.ca) Thanks for you time, Alex -- Alex Leith Surveying and Spatial Sciences University of Tasmania email: alexgle...@gmail.com mobile: 0419189050 Thanks Tennessee I am guessing, now, that the chapter command has been changed by fancychap and that this has somehow changed the behaviour of the links for the appendices. I removed it from the preable and that has fixed that problem. Just now I changed the options of koma-script to listof=toc, and the list of figures and tables are included in the TOC, but the table of contents itself is not still... Any ideas? Cheers, Alex -- Alex Leith Surveying and Spatial Sciences University of Tasmania email: alexgle...@gmail.com mobile: 0419189050
Re: table of contents and pdf hyperrefs
On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux tennessee.carmelveill...@gmail.com wrote: To find something listed in the table of contents, you need to be looking at the table of contents. Thus, you don't need to list where it is, since by definition, you are there when you are consulting it :) It makes no typographical sense. If you ABSOLUTELY need it (and it will look weird, but whatever), you could force it with ERT: \addcontentsline{toc}{chapter}{Table of Contents} as LaTeX code just before the Table of Contents inset. See attached screenshot. On 28 July 2010 18:01, Alex Leith alexgle...@gmail.com wrote: I am guessing, now, that the chapter command has been changed by fancychap and that this has somehow changed the behaviour of the links for the appendices. I removed it from the preable and that has fixed that problem. Very possible. Just now I changed the options of koma-script to listof=toc, and the list of figures and tables are included in the TOC, but the table of contents itself is not still... Any ideas? To find something listed in the table of contents, you need to be looking at the table of contents. Thus, you don't need to list where it is, since by definition, you are there when you are consulting it :) It makes no typographical sense. If you ABSOLUTELY need it (and it will look weird, but whatever), you could force it with ERT: \addcontentsline{toc}{chapter}{Table of Contents} as LaTeX code just before the Table of Contents inset. See attached screenshot. Hope this helps. Best regards, Tennessee Carmel-Veilleux, EIT Electrical engineering masters student, ETS (http://www.etsmtl.ca) Project AREXIMAS (http://areximas.etsmtl.ca) Hi again Ok, I see what you mean, that does seem weird. But what about in the pdf index (see attached screenshot) I would expect that I should be able to move to the TOC from here, right? Alex -- Alex Leith Surveying and Spatial Sciences University of Tasmania email: alexgle...@gmail.com mobile: 0419189050 attachment: Screen shot 2010-07-29 at 9.33.16 AM.png
Re: table of contents and pdf hyperrefs
On Thu, Jul 29, 2010 at 10:07 AM, Tennessee Carmel-Veilleux tennessee.carmelveill...@gmail.com wrote: On 28 July 2010 19:35, Alex Leith alexgle...@gmail.com wrote: On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux tennessee.carmelveill...@gmail.com wrote: \addcontentsline{toc}{chapter}{Table of Contents} as LaTeX code just before the Table of Contents inset. See attached screenshot. Hope this helps. Hi again Ok, I see what you mean, that does seem weird. But what about in the pdf index (see attached screenshot) I would expect that I should be able to move to the TOC from here, right? I understand what you mean :) To have only a link in the PDF bookmarks, use: \pdfbookmark[0]{Table of Contents}{toc} in LaTeX code just before the Table of Contents (basically replacing \addcontentsline{toc}{chapter} {Table of Contents} that I mentionned in the previous reply). This way, the table of contents appears in the PDF bookmarks, but not in the table of contents itself. Best regards, Tennessee Carmel-Veilleux, EIT Electrical engineering masters student, ETS (http://www.etsmtl.ca) Project AREXIMAS (http://areximas.etsmtl.ca) Fantastic! Thank you so much. I really like writing in LyX, but some of these things are hard to discover. Have a good day/night whatever! Alex -- Alex Leith Surveying and Spatial Sciences University of Tasmania email: alexgle...@gmail.com mobile: 0419189050
insert a pdf in image float problem
Hi I am using LyX 1.6.6.1 on OSX and I have an issue where I can't insert a pdf image (loaded as a file external material) into an image float. If I place it as a stand alone object, outside an image float the document compiles fine. But, if I place it inside an image float LyX complains with an error in a later paragraph. I just noticed that if I view source, the outside pdf give this: % Preview source code for paragraph 75 \includepdf[pages=-]{/Users/alex/Dropbox/Honours/Documents/Thesis/Images/percent_pop_change_hob} whereas the inside image float pddf gives this: % Preview source code for paragraph 75 % \begin{figure} \includepdf[pages=-]{Images/percent_pop_change_hob} \caption{Population change in the Greater Hobart region between 2001 and 2006 (image source: \citep{statistics2006hobart})} \end{figure} Note the relative path in the second bit. Why would this cause a problem though? Thanks, Alex -- Alex Leith Surveying and Spatial Sciences University of Tasmania email: alexgle...@gmail.com mobile: 0419189050
eLyXer 1.0.1 released
Hi all, Version 1.0.1 of eLyXer (the LyX to HTML converter) has been released. This incremental version features basic support for change tracking; better BibTeX parsing; and support for sizes in spaces, table columns and boxes. Changes include: --- - BibTeX: more robust parsing, specifically: correctly parse entries separated by commas. Support all TeX commands already available in math formulae. - Support for \textasciitilde: ~, \textasciicircum: ^ and a few other \text… symbols. Also, \textrm, \textsf and \textnormal should be working now in equations: a + roman + sans-serif + normal + b. - Improved support for custom horizontal and vertical spaces; absolute measures can now be used. - Support for sizes in table columns, figures and boxes. - Solved bug in --nofooter which required a dummy argument (thanks, Yan!). - Corrected box styling: div class=Frameless is now indeed frameless, while div class=Framed no longer has a double border. - Solved bug in text handling which separated consecutive centered lines with a space. - Basic support for LyX change tracking. --- Complete changelog: http://www.nongnu.org/elyxer/changelog.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer If the new version has not hit your favorite mirror yet: http://download.savannah.gnu.org/releases-noredirect/elyxer/ Thanks for your time, Alex Fernández.
eLyXer 1.0.2 released
Hi all, Version 1.0.2 of eLyXer (the LyX to HTML converter) has been released. This incremental version features basic support for SVG images, hovering footnotes and some adaptations for printing in the main CSS. The gate is open for new and missing features, so be sure to send your crazy suggestion / problem document my way. Changes include: --- - Updated MathJax to version 1.0.1 — no changes to eLyXer documents are necessary. - Added option --noconvert to use images in their original formats, and avoid converting images altogether. - Output object tags for SVG images. Size information is not used as it causes problems on Firefox. - BibTeX: include booktitle tag for the @incollection format. - BibTex: added a tag span class=bibcites around all bibliographical cites, so they can be e.g. superscripted. - Show footnotes as hovering text instead of as marginal notes. Make the default footnote marker a bluish superscript letter in brackets. - Updated --lyxformat to 398 (2.0alpha5); added warning if document version is bigger than that. - Support for \textless and \textgreater: , . - Added adjustments for better printing to default CSS. - Added languages “british” and “american” (which translate to plain English). - Avoid extracting indexes out of the containing layout if there is anything else in there. --- Complete changelog: http://www.nongnu.org/elyxer/changelog.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer If the new version has not hit your favorite mirror yet: http://download.savannah.gnu.org/releases-noredirect/elyxer/ Thanks for your time, Alex Fernández.
Re: is there a way to mark tables to be converted into a graphical embed version instead of e-reader flowable text?
Hi Mike, On Wed, Sep 22, 2010 at 5:40 AM, Michael Joyner mjoy...@vbservices.net wrote: I tried the eLyXer - xhtml (html4) - import as xhtml in calibre route, but there are LOTS of tags that fail validation I am the primary author of eLyXer, and this is interesting: I had never met this use case. Now, I have tried out calibre out of curiosity, and it seems to work. In particular, the user guide and math showcase from the eLyXer docs are converted into EPUB without problems. In fact, one of the goals of eLyXer is to generate valid XHTML documents. I am aware that it fails in some occasions, but only when I haven't been able to figure out how to do it right, for instance: a table within an inline formula. http://elyxer.nongnu.org/math.html The inline formula is naturally translated to span, where the table element is not allowed for some reason; this fails but still calibre can translate it right to EPUB. Could you explain what exactly is going wrong so I can maybe help with it? Thanks! Alex.
Re: is there a way to mark tables to be converted into a graphical embed version instead of e-reader flowable text?
On Thu, Sep 23, 2010 at 12:23 AM, Michael Joyner mjoy...@vbservices.net wrote: How about if I send you the files? That would be great, please do so (offlist of course :) Thanks, Alex.
LyX Koma Script LOF numbering width
Hi I am using Lyx to write my thesis, using Koma Script - report class. I have just now noticed that the list of figures numbering is not wide enough (see attached screenshot) when the numbering reaches e.g. 2.2.10. Can someone give me advice on fixing this? Cheers Alex -- Alex Leith Surveying and Spatial Sciences University of Tasmania email: alexgle...@gmail.com mobile: 0419189050 attachment: Screen shot 2010-10-07 at 9.40.05 PM.png
eLyXer 1.0.3 released
Hi all, Version 1.0.3 of eLyXer, the LyX to HTML converter, has been released. This incremental version adds support for parsing spaces and comments in formulas, for the \stackrel command, and should also solve a number of reported errors (see below). There is a new wish list used to keep track of new feature requests in the user guide: http://elyxer.nongnu.org/userguide.html#toc-Subsection-3.2 Please check that your request is there, or (if it somehow got lost) just resend it. Changes include: --- * Do not hide errors when parsing child documents. * Correctly convert documents even when images are not found. * Do not center the content in figure or table floats by default. * Correctly convert child documents even when inserted in layouts. * Generate navigation bars for first page created with --splitpart. * Added wishlist to the user guide to keep track of requested features. * Solved bug #31243: spaces and comments in formulas (command definitions, empty formulas…). * Also reported in bug #31243: do not add numbering twice to child documents, and ignore child documents in comments. * Added support for \stackrel (thanks, José Ramón!). * Added a lot of escaped characters to BibTeX parsing: \~n, \’{\i}… Also added a field note to all BibTeX styles. * Show all references (even those not cited) in the bibliography if configured to do so. * Understand relative sizes (e.g. 10col%) in spaces (thanks, Uwe!). --- Complete changelog: http://www.nongnu.org/elyxer/changelog.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer If the new version has not hit your favorite mirror yet: http://download.savannah.gnu.org/releases-noredirect/elyxer/ Thanks for your time, Alex Fernández.
Re: add elyxer to converter
Hi, On Sun, Oct 17, 2010 at 10:38 AM, Liviu Andronic landronim...@gmail.com wrote: On Sun, Oct 17, 2010 at 10:23 AM, abdelkader belahcene abelahc...@gmail.com wrote: Hi, Before I used latex2html as convertir from latex (lyx) to html but problems have arisen because of non-maintenance of the logiciel, Elyxer also seems a good alternative, how to add it to lyx converters Have you checked the user guide [1]? Liviu [1] http://elyxer.nongnu.org/userguide.html#toc-Subsection-1.6 Check out the installation section: http://elyxer.nongnu.org/userguide.html#toc-Subsection-1.2 In short, you can either install it yourself or (on Windows) use the alternate LyX installer, which bundles eLyXer. Alex.
eLyXer 1.0.4 released
Hi all, Version 1.0.4 of eLyXer, the LyX to HTML converter, has been released. This incremental version solves a lot of reported bugs (particularly in BibTeX and part numbering). The wish list has grown a bit but has not yet been tackled; the stream of reported bugs has kept me busy! Next version should contain at least a few wish list items. Changes include: --- * Solved bug #31342: detect appendices as they appear instead of looking at the containing layout. * Also reported in bug #31342: number parts and books using roman numerals, as in “Part I” or “Book IV”. * Solved bug #31351: do not number (or add to the TOC) any document parts inside comments. * Also in bug #31351: show the bibliography in regular size, not smaller than the main text as before. * Solved bug #31414: bootstrap creation of conf/config.py. * Also in bug #31414: remodeled unit tests to try out Python 2.4 only if present, and to remove test files from previous runs. * Show the “Abstract” header only for the first Abstract layout (thanks, Yaron!). * Solved bug #31345: ignore preamble and comments in BibTeX files. Use string definitions (@string) in other entries. * Support for \fbox, \boxed, \framebox and \fcolorbox. --- Complete changelog: http://www.nongnu.org/elyxer/changelog.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer If the new version has not hit your favorite mirror yet: http://download.savannah.gnu.org/releases-noredirect/elyxer/ Thanks for your time, Alex Fernández.
eLyXer 1.1.0 released
Hi all, Version 1.1.0 of eLyXer, the LyX to HTML converter, has been released. This version has the first batch of features from the wish list, including more controls for footnote generation, and showing the changes in the output for change tracking. Also, there is a new command line utility math2html.py to convert bare equations, and a few improvements like using Unicode combining characters whenever possible for decorations. Plus a couple of bug fixes. Changes include: --- - Wish list: understand \setcounter in the preamble to set the number of the first Chapter or Section. - Generate a new math2html.py file with an API to convert raw LaTeX code to HTML, and a command line utility. - Wish list: new option --notoclabels to omit part labels in the TOC. - Wish list: make “show changes in the output” work for change tracking. - Solve an existing issue with Description and List layouts: correct splitting of first words when intermixing styles. - Show decorations using Unicode combining characters, whenever possible. - Support for \dddot (with combining character) and \widehat (with character on top). - Wish list: add several options for footnote generation: align markers instead of using superscript, place markers at the bottom of the page, use symbols for markers... Also added a generic --footnotes option to aggregate them all. - Wish list: use ps:use-cropbox=true in ImageMagick for PostScript and EPS images. - Support for dotless i and j. --- Complete changelog: http://www.nongnu.org/elyxer/changelog.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer Thanks for your time, Alex Fernández.
eLyXer 1.1.1 released
Hi all, Version 1.1.1 of eLyXer, the LyX to HTML converter, has been released. This version continues to add changes from the wish list, including improvements to BibTeX files and a new option --embedcss to embed styles into the HTML output. Plus the usual stream of fixes. (If you are curious as to how eLyXer does nowadays, the conversion from the LyX detailed Math manual is online at: http://elyxer.nongnu.org/lyx/Math.html As you can see, it has improved in the past months but there is still lots of work to do.) Changes include: --- - Wish list: understand \url{} in BibTeX files. - Wish list: parse math formulas in BibTeX files. - Do not break inline formulas at whitespace (thanks, José Ramón!). - Break up the CSS into pieces, and generate an independent math.css for use within math2html.py. - Ignore hyphens in option names, so e.g. --split-part is equivalent to --splitpart. - Wish list: added --imageformat copy to just copy images instead of converting them. - Wish list: added option --embedcss file.css to embed the CSS styles in file.css into the resulting HTML. - Wish list: more than one --css options can be added to use several CSS files. - Wish list: display sub- and superscript aligned vertically (as in integrals). --- Complete changelog: http://www.nongnu.org/elyxer/changelog.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer Thanks for your time, Alex Fernández.
eLyXer 1.1.2 released
Hi all, Version 1.1.2 of eLyXer, the LyX to HTML converter, has just been released. Despite it being a short point release, there have been many incremental improvements in math formula display, math macro parsing and LyX 2.0 features. Be sure to see the change log: http://www.nongnu.org/elyxer/changelog.html for details. Also, please check out how the latest LyX's detailed Math manual converts: http://elyxer.nongnu.org/lyx/Math.html Download from nongnu.org mirrors: https://savannah.nongnu.org/files/?group=elyxer If the new version has not reached the mirrors yet: http://download-mirror.savannah.gnu.org/releases/elyxer/ Thanks and happy Christmas, Alex Fernández.
Re: lyx freezes during HTML (MS WORD) export
Hi Joel, On Thu, Dec 23, 2010 at 8:14 AM, Joel Schwartz j...@joelschwartz.com wrote: Thanks for the suggestion Wolfgang. I installed elyxer and attempted to use it, but I had a few problems. After installing elyxer from the command line, I typed the following to try and convert a lyx document to html: elyxer.py CSUS.lyx csus.html This gave the error message pasted just below (hopefully, you can see the screenshot below): Sure, it is just that eLyXer is not installed as an executable file. Then, based on the instructions in the readme file, I tried the following: python -m elyxer csus.lyx csus.html This worked in the sense that it created the html file (Question: Why did the first command give an error, while the second one worked?). eLyXer tries several installation methods and uses the one best suited. On Windows it works more reliable as a module than as an executable file, based on the reports I have got, so a module (python -m) is the default installation method there. The html file looked pretty good in a Firefox browser window. However, when I opened it in MS-Word, Word decided it was an xml file and the file was filled with all sorts of tags at the begining and end of each line of text. I can't figure out what to do with it to turn it into a normal Word document (I don't know how to process xml). eLyXer exports XHTML by default, which Word does not understand. To export HTML 4.0 (a different HTML dialect which word does understand) just use: python -m elyxer --html csus.lyx csus.html and you will get a file which you can import in Word. Along with the document, Word opened an xml data views window in the right-hand column of what would normally be the area where the document text appears. The text at the top of this window reads This XML document has multiple data views. Before making changes to the document, choose the data view (XSLT) to apply. I don't know where to go with that, so I'm stuck at the moment. Is it really this hard to get an MS Word-compatible document from a lyx document? Is there an easier way that I've missed? It is easy once you get the hang of it. You can even configure LyX so that it exports to Word using eLyXer, but it can be a bit tricky. In case you want to do it, here's how: * Open Tools Preferences. * Select on the left menu: File Handling Converters. * Select LyX - HTML. * Change the to format from HTML to HTML (Word). * Change the converter line from: python -m elyxer --directory $$r $$i $$o to: python -m elyxer --html --directory $$r $$i $$o * Click on Add. * Click on Save. Right now I agree that using eLyXer to export to Word is unnecessarily hard. It appears that the upcoming version 2.0 will use eLyXer by default for Word export, so it will be quite simpler. Once again, thanks for any suggestions from the lyx (and elyxer) gurus on this list. Let us me know how it goes. Alex.
Re: export with elyxer and included xfig-images
Hi Tino, On Fri, Jan 14, 2011 at 12:59 AM, Tino Langer tino.lan...@gmx.net wrote: I did some tests using elyxer to export a lyx-file to html. It works reaaly fine for me, but there is one problem. in my lyx-file I included some xfig-files (external material), but these files are not converted to an image format which is useable in webbrowsers. Is it possible to export such a lyx-file with included xfig-images? In my tests (which I redid right now), a file .fig is converted by default to a .png. You have to make sure that the ImageMagick package is installed in your machine though, since it is used to convert the images; otherwise eLyXer will output an error message which you may not see if the conversion is done from within LyX. http://www.imagemagick.org/script/download.php If in doubt you can try to convert your file from the command line: python -m elyxer input.lyx output.html and see what happens. Hope this helps, Alex.
Re: Word won't open simplest LyXHTML file
Hi Jerry, I am the primary author of eLyXer. On Thu, Jan 17, 2013 at 4:49 AM, Jerry lancebo...@qwest.net wrote: Thanks for that tip. I checked it out. It's just a Python thing so it works fine on OS X, and LyX picked it up as advertised. Yes, I can confirm that OS X is fully supported. The output on my simple test case does look nice in a browser, but I get the same error opening with Word as I first described: The XML file bla bla bla cannot be opened... etc. I thought maybe my copy of Word was broken but it reads other HTML files fine--I'm guessing they don't have the XML stuff in them, however. Word does not like XHTML very much; you need to export to HTML 4, using the --html option. http://elyxer.nongnu.org/userguide.html#sub:HTML-Code If you are doing the conversion inside LyX, instead of on the command line, you have to add the --html in the conversion interface. I checked the HTML file that eLyXer made with the W3C page and got: The uploaded document - was successfully checked as XHTML 1.0 Transitional. Yes, eLyXer outputs pure XHTML. Also--eLyXer does not appear to use MathML so I don't think there is any hope of getting editable math into Word using this method. (But I haven't read all of the eLyXer docs.) eLyXer has several options for Math output: http://elyxer.nongnu.org/userguide.html#sub:Math Sadly, none of them is MathML, since at the time eLyXer was conceived it was not very widely supported, and I have not found the time to add it. Hope this helps, Alex Fernández.
Re: eLyXer 1.2.4 released
On Sat, Mar 16, 2013 at 10:28 PM, Liviu Andronic landronim...@gmail.comwrote: Version 1.2.4 of eLyXer, the LyX - HTML converter, has just been released after a long hiatus. This version features a Russian translation, several more commands and a fix for having both hover and end footnotes. See the full changelog at: http://alexfernandez.github.com/elyxer/changelog.html Ubuntu binaries for 1.2.5 are available at the PPA: https://launchpad.net/~lyx-devel/+archive/release As Liviu discovered, just to let you all know that I had to release 1.2.5 because of problems with the 1.2.4 release (the binary lacked a couple of patches; otherwise the source code was fine). Alex.
Re: eLyXer 1.2.4 released
Hi Ray, On Sun, Mar 17, 2013 at 1:35 AM, Ray Rashif schivmeis...@gmail.com wrote: On 17 March 2013 07:12, Alex Fernandez ely...@gmail.com wrote: As Liviu discovered, just to let you all know that I had to release 1.2.5 because of problems with the 1.2.4 release (the binary lacked a couple of patches; otherwise the source code was fine). Alex, when I first heard of eLyXer -- amidst mounting frustrations resulting from several failed attempts at converting a 350-page document to any other usable format -- I thought it was just another deceptive solution and gave it a miss entirely. How wrong I was, how deceptively brilliant this is! I was expecting I would have to at least input child documents, but it worked its magic on the master document itself. Believe me, nothing else ever worked, and this is a complex document with LaTeX hacks here and there. Sure, there were some issues, like not recognising some (or all) LaTeX commands, external inset, and ignoring some BibTeX entries, but I now have a usable single-file HTML verbatim copy of the main contents, complete with (cross-)references and images. The software had been lying dormant as a package in my (GNU/Linux) distribution's unofficial buildscripts repository [1] with no love at all, but I'll be promoting it directly to a supported binary repository as soon as I get some time -- no-one should miss this. [1] https://aur.archlinux.org/packages/elyxer/ Glad you are doing this. I will add you to the list of maintainers if you want, and send you any announcements directly. Thanks, Alex.
Re: Project's favorite license????
Hi, On Fri, Jul 5, 2013 at 9:58 PM, Liviu Andronic landronim...@gmail.comwrote: On Fri, Jul 5, 2013 at 6:50 PM, Steve Litt sl...@troubleshooters.com wrote: tex4ht and eLyXer, or the project's need to incorporate it. If my code is good, and my code is licensed right, it very well could be that I or someone else can tear chunks out of my code and put them in LyX or eLyXer or make a shellscript or whatever. I can easily imagine Alex, the author of eLyXer, accepting an ePub export switch in his converter. I would be happy to. Just fork and send a pull request when you are ready to: https://github.com/alexfernandez/elyxer/ That is how things work these days, and I cannot complain. Sadly I don't have the time to do most things myself, but I have already received some juicy pull requests and have integrated them happily. As for the license, we can work things out to our mutual benefit. Open source licenses are a means to an end. Alex.
RCS on Mac OS X 10.9 Mavericks with Xcode 5.1 doesn't work
Hi, After few failures to use RCS on Mac OS X 10.9 Mavericks, I found on the Xcode release notes https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN- Xcode/#//apple_ref/doc/uid/TP40001051-SW241 this statement: The CVS and RCS source control tools have been removed from Xcode 5. 11968433 Does anybody know how to get those working back? Isn't it about time to use Git for Lyx? Does anyone know how to use Git from Lyx ( I know how to use it in the command line) Thanks Alex
Re: RCS on Mac OS X 10.9 Mavericks with Xcode 5.1 doesn't work
Thanks, So the solution for Mac OS X Mavericks with Xcode 5 that doesn’t include RCS anymore is to download the GNU-RCS from this site: https://code.google.com/p/rudix-mountainlion/downloads/detail?name=rcs-5.9.0-0.pkg and using Control-Click option, open and install the RCS. Lyx version control works back for me. Best regards, Alex On Nov 11, 2013, at 9:32, Stephan Witt st.w...@gmx.net wrote: Am 10.11.2013 um 20:54 schrieb Alex Liberzon alex.liber...@gmail.com: Hi, After few failures to use RCS on Mac OS X 10.9 Mavericks, I found on the Xcode release notes https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN- Xcode/#//apple_ref/doc/uid/TP40001051-SW241 this statement: The CVS and RCS source control tools have been removed from Xcode 5. 11968433 Removing CVS and RCS control from Xcode doesn't imply it's removed from LyX. Does anybody know how to get those working back? You have to provide the cvs and rcs executables to get it working. Perhaps you miss these command line tools now after going to 10.9 + Xcode 5. Isn't it about time to use Git for Lyx? Does anyone know how to use Git from Lyx ( I know how to use it in the command line) It's supported with the upcoming LyX-2.1 release. Regards, Stephan
Re: We need ePub/Mobi conversion: was: Book Frontmatter
myself to devote any efforts to support eLyXer, not even a few hours to solve reported issues with the latest formats. I am just not interested. My lack of long-term support for eLyXer has thus become a self-fulfilling prophecy. Anyway, I would suggest anyone who is working on any portion of a LyX to ePub conversion talk with me. I'm pretty knowledgeable about ePub, and I've already identified a lot of the dead ends and blind alleys in ePub creation, and I know what parts of the LyX document should go into the ePub, and which parts would be better re-done as either config or CSS. If you are already conversant in Python, know ePub and are willing to do the pretty boring task of translating between LyX and ePub, then you can take eLyXer as the starting point to do the job. It can probably be done in a few days: - one to understand eLyXer internals, - one to solve any stupid design errors that I may have made that make ePub support hard, such as configure it to use a different base.cfg file, - and one or two to recode all commands to output ePub. I would encourage you to take eLyXer and run from there, but the high probability that you will find strong opposition to integrate the resulting converter into eLyXer will probably mean that your effort will mostly be useful for you. So, my advice would be to keep away from it. If you are still interested I can of course give you any support you need with the source code. My switch to Bluefish isn't cast in concrete: Once LyX contains a good, generic, reliable LyX to ePub or even LyX to ePub friendly Xhtml conversion, I can switch back. If you do it soon enough, I won't even have to write an Xhtml to LaTeX converter :-) Again, good luck, whatever course you choose. Alex.
Introducing eLyXer: LyX to HTML converter
Dear LyX users, LyX is a wonderful editor; its PDF output is perhaps unmatched by other graphical editors. But the most common interchange method of today is HTML, and LyX does not produce good HTML. There are some tools for TeX - HTML conversion, and even LyX - HTML, but the results tend to be poor and rigid. So undeterred by the myriad of similar efforts I set to the task of producing a simple, specialized tool for LyX - HTML conversion, and the result is eLyXer. It is meant to produce acceptable-to-beautiful HTML code, depending on your browser's Unicode and CSS rendering merits. To use it just type at the prompt: $ elyxer document.lyx document.html This command takes a LyX document called (surprisingly) document.lyx, and produces (just as surprisingly) a web page called document.html. Ta-dah! The conversion is complete. For better results you may need to copy the file docs/lyx.css to your working directory, and perhaps customize it a bit. See this wiki page for details: http://wiki.lyx.org/Tools/ELyXer and be sure to read the user guide included in the package. A pretty example can be seen at http://vecinos-productions.com/rayleigh/book.html eLyXer is very much a work in progress, since it only supports a pretty small subset of LyX features -- it doesn't support too many LyX versions or even operating systems either. It is basically a home-grown tool for my needs, and it shows. However I would like to share it with other people who may have a use for it, and in the process expand it for other uses. Some LyX developers have recommended to get it in the hands of users ASAP, to calibrate interest and so you can have a say in future developments. You know, release early, release often is still the mantra. It is a command line tool written in Python 2.5, in case you are not sufficiently scared yet. Those used to smoother sailings can wait until the tool can be accessed from within LyX, which (if there is any interest at all, and as time allows) should be done in the next months. Adventurous souls can download the second public version 0.2 as a .tar.gz file: http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-20090311.tar.gz or as a zip file: http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-20090311.zip Let me know how it goes. Enjoy, Alex Fernández (ely...@gmail.com)
Re: Introducing eLyXer: LyX to HTML converter
Hi Nikos, first of all thank you for your efforts. All sounds very promising. I just ran eLyXer (under Ubuntu II/ 64-bit) a couple of times. Your example-files userguide.lyx and devguide.lyx are translated without errors. Good to know! Thanks for trying it out, you are indeed a brave soul. Unfortunately, by testing on my own documents I receive only errors. Some examples (of output) below. Let me know if you need full-preamble and/or other details. Right, it's a bug in the parsing tree. Now corrected to accept generic insets. Could you please try again? Same download link: http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-20090311.tar.gz I would like to try a newer version; I am right now compiling LyX 1.6.2rc2 but it is going to take a while. Could you send me privately a sample document, even if it is a large one? It is probably the fastest way to diagnose any remaining problems. Thanks, Alex.
Re: Introducing eLyXer: LyX to HTML converter
Hi Olivier, That looks like a very nice tool. The HTML code is indeed good-looking! Thanks a lot! In time I hope it will be useful to other users. It is the least I can do after having used LyX for several years so satisfactorily. Is there a problem with the bibliography export ? It looks like the above example contains many more entries in the bibliography that there are references in the text, most having not numbers between the brackets. No problem at all, just that my sample document contained both referenced and unreferenced bibliography entries. In other words: I cut most of the text but left the bibliography entries. PS: I noticed you use #!/usr/bin/python while the python scripts of LyX use #! /usr/bin/env python I'm not sure, but the later my be more 'universal' (tolerant/portable) Changed now. I will release a new version later on today with the latter line :D Thanks, Alex.
Re: Introducing eLyXer: LyX to HTML converter
It even validates. http://validator.w3.org/check?uri=http%3A%2F%2Fvecinos-productions.com%2Frayleigh%2Fbook.htmlcharset= (detect+automatically)doctype=Inlinegroup=0verbose=1 Please make sure this remains so. Sure. If you find an example of invalid XHTML please notify me. Quoting from the user guide: The HTML code generated is technically XHTML Transitional, version 1.0, using UTF-8 encoding. It passes the W3C tests [w3c-validator]. If your particular web page doesn't pass the tests, then it is a bug and it will be treated as such. Thanks, Alex.
Re: Introducing eLyXer: LyX to HTML converter
Hi, But if you and others who are able to develope eLyXer would build that capability in, it would serve very well my publications plans of texts with many short helping/illuminating notes in the margin (for less disconnect someone's reading of the main text. Right now, and with the kind help of Nikos Alexandris, I have added basic support for footnotes: they appear as floating boxes on the right, although not numbered. You will find them in the next release, probably sometime this afternoon. Just to make you know my wish, Great! If there is any other missing feature be sure to tell me. You can send document samples privately and I will do my best. Thanks, Alex.
Re: Introducing eLyXer: LyX to HTML converter
Nikos, it started producing html's for me :D Great! Notes (which you probably already know): # using the KOMA-Script article class 1. All footnotes appear as normal text exactly there where they are inserted in LyX' document and therefore cannot be distinguished from the text-body. As to the first point you may try to copy the docs/lyx.css file to your html directory. It will improve significantly. The rest will have to wait for the 0.5 (20090313) version :D 5. Pictures are used without the scaling that is defined within LyX (well... I don't know how hard this would be to implement). Actually it doesn't looks too difficult. Thanks for the report, Alex.
Re: Introducing eLyXer: LyX to HTML converter
Hi, Joachim, OK, I dared to download and uncompress it. Great, another brave soul! And proceeded to the first step, with the response: joachim$ ../elyxer userguide.lyx userguide2.html File ../elyxer, line 21 �...@classmethod ^ SyntaxError: invalid syntax It seems that your Python is not understanding the decorator syntax for classmethods, which were introduced in Python 2.4: http://pyref.infogami.com/classmethod The following command would verify that this is indeed the problem: $ python --version Might be because of Mac-OSX (as you haven’t tested it on Mac OS X)??? You are right: MacBook Pro OSX 10.4.11 Tiger It would appear that Tiger comes with a Python 2.3 version. It is easy to upgrade to a more current version: http://www.python.org/download/mac/ I would commit to make eLyXer work with Tiger, but only if you are willing to be the guinea pig -- I don't have a Python 2.3 installation and don't have the resources to create one. What do you think? Just to report it. Thanks! Alex.
Re: Introducing eLyXer: LyX to HTML converter
=Or have you, Alex, still an idea of resolving the problem? With such a committed test subject as you, we may try to make eLyXer work with Python 2.3 :D I will send you a test version as soon as possible. Thanks, Alex.
Re: Introducing eLyXer: LyX to HTML converter
Lots of errors like this: Parsing line 3000 Image images3/tweakui/my not found Image images3/tweakui/internet not found I presume that the images have spaces in the path? -- the next version should correct this problem. Error at 3246: \begin_deeper Error at 3265: \end_deeper This is an unknown command (to eLyXer). I will modify the error description to make it more specific. Output html file had no graphics and no TOC. TOC is not supported yet. Could you please send me (privately) a copy of your document, or at least the complete list of errors? In case there is any problem: remove any sensitive material, I promise to keep it confidential. Let's try to make it work. Thanks, Alex.
Re: Introducing eLyXer: LyX to HTML converter
If that helps the minimum python version required by lyx is python-2.3.4 (if you are wondering about why the last 4 that is related with some unicode fixes there were only applied at that sub-version). It sure does help. I will try to make eLyXer compatible with at least 2.3.5. Thanks, Alex.
Re: Introducing eLyXer: LyX to HTML converter
Hi folks, A new version of eLyXer is online: http://wiki.lyx.org/Tools/ELyXer Direct downloads: http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-0.5.tar.gz http://wiki.lyx.org/uploads/Tools/eLyXer/elyxer-0.5.zip Richard Talley: image filenames with spaces should now be working. Nested lists are supported. Nikos Alexandris: Section*s are working. Images are harder than I thought ;) only scaling is working. To avoid the copyright notice just run: $ elyxer --nocopy source.lyx destination.html Joachim Osnabryg: mostly running under Python 2.3.5, may need some further work. Thanks, Alex.
Re: how run elyxer under Windows?
Hi Murray, Of course that won't work in Windows, since Windows doesn't know that elyxer is a python script. So I did two things: First, I changed the name from elyxer to elyxer.py. And second, I tried this command: python -c ../elyxer.py userguide.lyx userguide.html I'm by no means an expert, but according to: http://docs.python.org/dev/using/cmdline.html#using-on-cmdline you just have to drop the -c. So it seems it should be: $ python ..\elyxer.py userguide.lyx userguide.html (I don't have a Windows installation to try it on, sorry.) Once again, I'm stymied by something allegedly ported from *nix to Windows and either not working as it should or else not documented correctly. I am sorry if I gave that impression; in fact it has not been tested on Windows. If you don't mind you can be the test subject for running eLyXer on Windows. What's the fix (beside fixing me_? First try that command. Then we can try the next step. Alex.
Re: Introducing eLyXer: LyX to HTML converter
Hi folks, On Sat, Mar 14, 2009 at 3:21 AM, Christian Ridderström christian.ridderst...@gmail.com wrote: I believe there are free hosting facilities for git repositories, or you can surely get an account within the LyX repository (Subversion at the moment). Just google for free git repository, or something like that. Or ask on the developers list... Following Christian's recommendation the project is now hosted at Savannah.nongnu.org. Be sure to visit the main page (with its cheesy logo): http://www.nongnu.org/elyxer/ The wiki page now points there too. http://wiki.lyx.org/Tools/ELyXer And to celebrate it I have published version 0.6 over there. It supports Flex URLs and code, and alignment. In a little while it should hit the mirrors: https://savannah.nongnu.org/files/?group=elyxer This means that from now on I will publish all versions there without announcing them here in the lyx-users list. (That is, unless enough people request it; I could post a little notice over here every time a new version is ready, which from now on should be more infrequent.) Thanks to everyone who has so far downloaded the tool and tested it. With your help it can only get better. Alex.
Re: how run elyxer under Windows?
python ..\elyxer.py userguide.lyx userguide2.html did work. (And the resulting html file was identical to the version userguide.html supplied with the elyxer distribution.) Thank you! Great! I will note on the user guide that it works on Windows, and how to do it: http://www.nongnu.org/elyxer/userguide.html Finally, I see that the installed LyX 1.6.1 for Windows includes a python subdirectory that includes a Python executable, python.exe, and a python26.dll module along with a python lib directory. Calling that Python 2.6 executable seems to work as well as the separate Python 2.5 that I installed elsewhere. (I hadn't realized until now that Python was included with LyX.) Interesting. It may come handy. Thanks for your time, Alex.
Re: LyX to HTML?
Hi Anders, Thanks, as I stated, I did try elyxer. That actually produces nice output, but it seems to support a very limited set of latex/lyx. None of my equations or numbered lists come out correctly. But maybe this will one day be a good tool. It appears to be new. eLyXer is indeed pretty new: I started playing with the idea in January for my own purposes, and have published it just a couple of weeks ago. What we can do is that you send me your document (you can Loremipsumize it as wished, although it will remain completely confidential) and I will try to make eLyXer work for you. That way if it works the whole community benefits; and if it is beyond my modest means, or you don't like the results, no harm done. Other LyX users have helped me a lot to make improvements, as you can see in the acknowledgements -- it could not have progressed so quickly from a custom personal tool to something more or less usable without them. I encourage other LyX users to do the same. That is after all the true Open Source way, isn't it? Thanks, Alex.
Re: LyX - rtf, doc or openoffice convert: ONCE AGAIN
On Mon, Apr 6, 2009 at 5:54 PM, Uwe Stöhr uwesto...@web.de wrote: It is well known that ooolatex is buggy and often fails. I would try to use eLyXer to convert your document to HTML and then open the result With OpenOffice 3 and save it as RTF or whatever you like. http://www.nongnu.org/elyxer/ I am trying to improve the results of eLyXer conversion. If your document doesn't generate proper HTML for your document (or you just find the results lacking), you can always send me a sample, I will do my best to make your documents work. But don't expect too much. When you need a nice DOC file, you have to write your file with OpenOffice or Word. Sure, but it is good to have a starting point. At least you don't have to retype it all again. Thanks, Alex Fernández.
Re: Lyx to html with plastex
Hi Parul, I am trying to convert a latex document to html on Windows using Plastex. The latex document has png and eps images. On running the Plastex command for conversion, I get the following error. Any ideas what is going on? No, but you should give this new program a try: http://www.nongnu.org/elyxer/ Yes, please give eLyXer a try. Version 0.15 has just been published with a few improvements. If your favorite mirror does not carry it yet, just go to http://download.savannah.gnu.org/releases-noredirect/elyxer/ Your document is rendered acceptably, although the date does not come out centered -- it will be solved for next version. If you need anything else to make it work for you just let me know. Thanks, Alex.
Re: Lyx to html with plastex
Hi again, On Sun, Apr 19, 2009 at 7:50 PM, Parul Bali parul.sarasw...@gmail.com wrote: Thanks for this. The html file looks very good indeed. However, was wondering if it would be possible to have separate html files for each page (as is possible with Plastex). Also, noticed that the table of contents isn't displayed. Is it in the works? The first item is in the works, as you can see in the user guide: http://www.nongnu.org/elyxer/userguide.html What I want to achieve is to be able to segment the HTML page in chapters, parts or sections. Actually I need it for my own documents, so you can rest assured that the tool will eventually get there. Is this what you want? The second point (table of contents) is related. Since eLyXer does the conversion on the fly, keeping minimal state information on memory, it is not possible right now to generate a table of contents: at the top of the document it is not known how many chapters or sections there will be. So a second pass is necessary. At the moment the planned extension is to create a second utility which does both things: segment the page and create a table of contents where needed. I cannot give dates for these developments, since they depend on the usual factors: day job, family, etc. But I would like to have them ready before summer. Until then your best bet is to segment the documents manually. Cheers, Alex.
Re: unofficial elyxer 0.23 Debian package
Hi Marcelo, 2009/5/26 Marcelo Acuña mv...@yahoo.com.ar: Excuse me, I don´t understand. What make elyxer? eLyXer is a tool to convert LyX documents to HTML. It can be used from within LyX or as a command line tool. You have more information here: http://www.nongnu.org/elyxer/ Thanks, Alex.
Re: [announce] LyXWinInstaller for LyX 1.6.3
Hi Olivier, On Fri, Jun 5, 2009 at 8:23 PM, Olivier Ripolldurocortorum73-gm...@yahoo.fr wrote: Well, I guess the bugs may be due to not having python installed. Indeed, I've found that display equations result in python using 100% CPU doing nothing while the same equations as inline are converted in no time. Could you send me a sample document that reproduces this behaviour? Send it privately and I will treat it as such. As for feature requests or valid bugs, he is reading this mailing list, as is written on the elyxer page (contact section): The author lingers around official LyX mailing lists and monitors for mentions of eLyXer. Indeed. :D Btw. Form where did you get version 0.24, the project page tells me that 0.23 is the latest version: http://www.nongnu.org/elyxer/ The download links on that page points to https://savannah.nongnu.org/files/?group=elyxer and http://download.savannah.gnu.org/releases-noredirect/elyxer/ where the latest version dated June 2nd is 0.24. Due to the Savannah failure of last week: http://lwn.net/Articles/335483/ The main product page has not been updated. The last version though is 0.24. Thanks, Alex.
Re: [announce] LyXWinInstaller for LyX 1.6.3
Hi again, Olivier, On Fri, Jun 5, 2009 at 2:06 PM, Olivier Ripolldurocortorum73-gm...@yahoo.fr wrote: I managed to get elyxer working by doing the following: - copy elyxer.py to the script folder (C:\Program Files\LyX 1.6.3\Resources\scripts) on my machine, - in Preferences - Converters, in the LyX - HTML, modify the command to be: python $$s/scripts/elyxer.py $$i $$o Quite cleverly done. I believe that the version of Python distributed with LyX should run eLyXer just fine. The first file sent to elyxer was probably a little too complex. I killed python after 40 minutes running full on one CPU. This is the one I'm mostly interested on. I later gave it a less complex file and it returned a correct and nice result (where htlatex fails). I appreciate the fact that the home-made character styles are converted to a Flex CSS class, which can then be created in CSS. Any custom layouts are converted to custom CSS classes. You have indeed good eyes. Tiny bugs / feature requests for elyxer and LyX (probably already known): Not so much. 1- Figure numbers are missing in the references. The link with a little blue arrow works, but my text is full of Fig. without figure number. Odd, captions should work fine. Again, please send me a sample document if at all possible. 2- The HTML file is returned in a subfolder, so all images links are broken. When moving the file in the parent folder (where the lyx file is, and where the pdf/ps/TeX are exported, it works fine. This is a design decision of Pavel Sanda (and for the record, I do not agree with it): http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg150892.html There is the possibility of copying all referred image files, convert them and then copy them back. This approach requires more work and I'm still figuring it out. 3- There is one place in my file where I used the \unittwo tip given in LyX docs (Appendix A Typographic Advice of Math docs). The \unit tag is not supported yet. If you send me a sample doc I will try to make it work. Yes, I know I am requesting a lot of sample files from you; but that is how eLyXer has improved until now, thanks to kind testers. You can also join the hall of fame! Alex.
Re: [announce] LyXWinInstaller for LyX 1.6.3
Hi Olivier, On Mon, Jun 8, 2009 at 9:31 AM, Olivier Ripolldurocortorum73-gm...@yahoo.fr wrote: Congratulations for fixing that so fast. So I could test the speed of elyxer, and it is +/- instantaneous for a document of 11 pages with figures and 58 equations (not counting the inline ones). Thanks! Happy users are what make it worthwhile :D Having written html pages many years ago at the university, I am totally amazed by the quality of the equations. No MathML, and still, no images. I am working with LyX developers to make images work. For now just copy the generated .html file into the same directory as the main .lyx file; any PNG images will be used. Now, let's challenge you for 0.26 ;-) I have a few unconverted stuff: - \tan and \arctan - \overrightarrow (quite useful for some things like gradient) - \ldots (that the ellipsis, AKA the three dots ...) - \max (and probably \min) That was too easy! OK, I cheated and used a nice table with TeX and Unicode equivalences: http://community.jedit.org/?q=node/view/1746 And another one with many commands. Only the \overrightarrow command added difficulty, and is still not perfect; right now a double-length arrow is used, so it may look bad if you put too much text under the arrow. And for a distant future version - \gtrsim (and its friends, AMS math symbols). A similar table with TeX and Unicode equivalences would make it rather easier. It should be in text form (or HTML, or XML, but not PDF) for useful manipulation. Thanks, Alex.
Re: Elyxer and Lyx 1.6.3
Hi Murat, On Fri, Jun 12, 2009 at 4:56 PM, Murat Yildizoglumurat.yildizo...@univ-cezanne.fr wrote: I am trying elyxer under the last version of Lyx (1.6.3) . I have followed the instructions in the list given by Olivier: Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't downloaded it to try, but I was under that impression. Well, maybe not. But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex. I am probably missing something but I do not know what :-( I am sorry I can't help you. Surely someone else on the list can help you. Meanwhile you can try manual conversion on a DOS terminal, writing: Python.exe route_to_elyxer\elyxer.py filein.lyx fileout.html Let us hope that LyX 1.6.4 comes already preconfigured to use eLyXer and that the Windows installer optionally installs it. It would solve a lot of problems for users. Thanks, Alex.
Re: Elyxer and Lyx 1.6.3
Hi Uwe, On Sat, Jun 13, 2009 at 5:16 PM, Uwe Stöhruwesto...@web.de wrote: Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't downloaded it to try, but I was under that impression. Well, maybe not. No, but LyX 1.6.3 recognizes eLyXer when it is installed. To help LyX to recognize eLyXer, you need to add the path to the eLyXer.py file to LyX's PATH in the preferences. That is actually what I meant with support: recognize it and use it if present. Sorry for the confusion. Alex.
Re: eLyxer and (web) typography
Hi Tim, On Tue, Jun 16, 2009 at 12:01 AM, Tim Michelsentimmichel...@gmx-topmail.de wrote: I would like to suggest to edit the standard stylesheet provided by http://www.nongnu.org/elyxer/lyx.css The CSS you link is provided as a service to the community; users are encouraged to change it on their documents with the --css option. To my humble opinion, the generated html should follow the tradition of Lyx in creating readable, user-friedly and accessible documents. Yes, some thought has been given to that question. Unfortunately producing usable output is much harder than would look at first sight (or that should be); and getting it right for every browser on every platform is not trivial. Font availability, scaling, etc. all change when you switch platforms or even browsers. Many popular sites have given up and just offer different stylesheets depending on the browser, something which is not an option here. You can see some examples at: http://browsershots.org/http://www.nongnu.org/elyxer/math.html I am using Firefox on Debian, and you can see that it looks great (or at least I like it). On Windows however Firefox looks quite ugly: fonts are not pretty. IE 7 is a bit ugly but tolerable. Here are some examples for web pages (personal selection): * http://www.nvpit.nl/cms/ * http://robcomm.net/ * http://www.swaroopch.com/notes/Python Thanks, those are nice. Unfortunately they are not immediately useful. For one thing they can be judged on personal opinion and taste. But the real problem is that they would probably suffer from cross-platform issues as well. Actually I see the first one with fonts too small and the second one too large. some hints on web typography: http://www.smashingmagazine.com/2009/03/18/10-principles-for-readable-web-typography/ * http://www.csarven.ca/web-typography Same problems. But let us see if we can get constructive and get something out of this discussion. What we can actually do is: you, or someone else who has taken the trouble to make the output look good on their favorite platform, can send me your CSS files (or a patch against mine). Then I can try to blend those in and still keep the sane look on Debian. Probably we can find a combination of fonts and sizes that look good on the most popular platforms. We can do it; we have already got the character set mostly right thanks to a similar effort by another user. Now is time for good typography! Any takers? Thanks, Alex.
Re: eLyxer and (web) typography
Hi again, On Tue, Jun 16, 2009 at 11:57 AM, Tim Michelsentimmichel...@gmx-topmail.de wrote: Dear all and especially Alex! I deeply appologize for my strong words. They were not intended to offence. No need to apologize, they were taken in good sport. You are obviously not trying to offend anyone but to improve eLyXer. A good shake-up was probably needed to improve typography, which on some browsers is indeed lacking. You tried to help with your links too; the only missing piece was perhaps some (CSS) code accompanying your words and showing your ideas. But Olivier was kind enough to supply that. You surely put a considerable amount of time into this. Sorry. Do not worry, I (and surely the rest) have a lot of fun using and developing eLyXer. My ultimate goal is that people (me included) find it useful, so I would just encourage you to contribute any further ideas you have. Alex.
Re: eLyxer and (web) typography
Hi, On Wed, Jun 17, 2009 at 12:19 AM, Tim Michelsentimmichel...@gmx-topmail.de wrote: As example, by modifying line 5 of lyx.css from font: x-small serif; to font: small sans-serif; and then adding the line font-family: serif; to .formula, the text is more web-styled (i.e. it uses sans-serif fonts (formulas stay in serif) and fonts are a little larger. Yes, This kind of modifications incorporate more screen-friendly display. I have updated the CSS file in version 0.27 following Olivier's suggestions: http://www.nongnu.org/elyxer/ Please let me know if you like the changes: http://www.nongnu.org/elyxer/math.html Thanks, Alex.
Re: eLyxer and (web) typography
Hi Murray, On Thu, Jun 18, 2009 at 3:07 AM, Murray Eisenbergmur...@math.umass.edu wrote: I hate to say this, but the target page is a good example of why converting math in LaTeX (whether originating in LyX or not) to HTML gives such bad results. Here are a few of the uglies: What you are outlining are basically differences between the LaTeX version and the HTML generated by eLyXer. We know that results are not going to be identical, at least not until we are using MathML (and its moment has not come yet IMHO); but they are an approximation to be used in certain situations. I am sure that when you write equations on the blackboard you don't draw typographically-perfect symbols, but they do the job. The same for PowerPoint presentations -- you can compose a simple equation which is more-or-less what you want, but many things will come out a bit distorted, even if you just paste a screenshot from a PDF. The Math Showcase is there precisely to show what you can expect from eLyXer output. I am aware of all the points you mention and a few more: fractions not exactly centered with the rest of the line, equation numbering only in the destination and not in the link, no space between fractions and units, square root symbols not covering all of the radicand; and this is without getting into fancy TeX stuff. Some features are acceptable, others can be improved, and others simply cannot be done at all. To improve eLyXer I am going to need something more than just HTML output is not _exactly_ like PDF output. Which points are particularly bothering you (and you cannot live with them)? How would you solve them? Sample CSS code would be very useful. There's also one issue not with the conversion but with the original typesetting: in 4.3, the kg units should be set upright, not italic. This one has been reported by many people, thanks to you all! It is proving to be surprisingly hard to solve, due to how eLyXer stores the results of the conversion, but it will hopefully be solved for 0.28. Thanks, Alex.
Re: eLyxer and (web) typography
On Thu, Jun 18, 2009 at 3:54 PM, rgheckrgh...@bobjweil.com wrote: And I guess the results must be much better on some other system than on mine since, on mine, much of this is completely unreadable. Attached is what I get in 4.3. I have no idea what this is supposed to be, but presumably not as is. (This is with Firefox 2.0.0.19 on Fedora 8.) eLyXer output requires CSS2, which is poorly supported on Firefox 2. You should try Firefox 3 (which yesterday turned 1 year old by the way) where it looks much better. What it means is: time to upgrade! The forthcoming HTML output from LyX will therefore use png's initially and shoot for MathML later. Note that the latter won't be as hard as writing a LaTeX to MathML converter (though these do exist), since we already have a parsed form of the LaTeX and can output MathML off that tree. Once it is there it will be nice to have two options for HTML output. Meanwhile eLyXer will use XHTML and CSS2 which can be rendered acceptably on modern browsers. Alex.
Re: eLyxer and (web) typography
On Wed, Jun 24, 2009 at 11:02 PM, Pavel Sandasa...@lyx.org wrote: Alex Fernandez wrote: Once it is there it will be nice to have two options for HTML output. Meanwhile eLyXer will use XHTML and CSS2 which can be rendered acceptably on modern browsers. yes this option would be good and i thing Richard would be happy if you could help to support MathML in the native html output with the experience you gained on elyxer... Sure, but eLyXer does not output MathML. I am waiting for Richard to implement it in LyX so that I can then rip it off... (just joking). Alex.
lyx 1.6.2 + Ubuntu 9.04 = slow typing
Hi! I would like to share my experience with solving very frustrating problem with typing in lyx 1.6.x under Ubuntu 9.04. Maybe this will help someone else or even lead to a fix in a next lyx version. Recently I've upgraded to Ubuntu 9.04. After that, I could not continue my work in lyx 1.6.2. When typing, I experienced a very large delay (like seconds) before all symbols would appear on screen. I read through all posts in lyx mailing list with similar symptoms (just 2 or 3). The only solution there that worked was to buy a new video card. What I've done next: 1) Installed lyx 1.6.0 - the same typing delay. Installed lyx 1.5.7 - no typing delays. Returned back to lyx 1.6.2. 2) Looked at the CPU utilization. When typing, Xorg ate up to 50% CPU. Then I resized lyx window to be smaller. CPU utilization fall down, and typing delay decreased. I resized lyx to be 25% of the screen - typing delay almost disappeared. 3) I looked which video card I have (lspci |grep Display) - Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) I googled for problems with Intel graphics under Ubuntu 9, and found this link useful: http://ubuntuforums.org/showthread.php?t=1130582highlight=ubuntu+slow+update +jaunty 4) I tried different solutions from the link above and mostly got my X broken or no effect. Finally this one worked for me: - open xorg.conf (sudo gedit /etc/X11/xorg.conf) - go to section Device, mine was Section Device Identifier Configured Video Device EndSection - add Option MigrationHeuristic greedy so the section looks now like this Section Device Identifier Configured Video Device Option MigrationHeuristicgreedy EndSection - restart X or reboot. Now I have almost no typing delays in lyx 1.6.2 (at least, typing speed is the same as in lyx 1.5.7 on my PC).
Re: lyx 1.6.2 + Ubuntu 9.04 = slow typing
Richard Talley rich.tal...@... writes: I'd be very interested in knowing what your Xorg CPU utilization is like now. I'm having a similar problem on an old server running Xubuntu 9.04, where Xorg is hogging the CPU. Thanks. -- Rich Xorg uses 10-20% CPU now, usually 10%.
Re: lyx 1.6.2 + Ubuntu 9.04 = slow typing
This is worth posting to the wiki, if you're so inclined. Well, I can do this. Which wiki section should I post to? Intel drivers for the older chips are currently broken and in most cases unusable. So all in all I doubt this is somehow relevant for LyX it's more of a general issue. Yes, it is a general driver-issue, but the one and only application on my PC that is so severly affected (it was in fact almost unusable) is Lyx. As far as I know, Opera and Mathematica also use Qt somehow (and Lyx is build upon Qt, isn't it?), but I didn't experience any problems with them. So I guess that the problem has something to do with the way Lyx uses Qt rendering engine.
Re: exporting HTML - elyxer error
Hi Phil, On Tue, Sep 22, 2009 at 8:54 PM, Phil philip_...@yahoo.com wrote: LyX 1.6.4, Windows XP Anyone have any idea why my HTML export does not work...? I get an error saying ... error occurred whilst running elyxer.py -Directory C:/Documents Settings... Can you tell us how you configured LyX to recognize eLyXer? Depending on the method there are various things that could have gone wrong. Also, it would be helpful if you could go to Preferences Converters, look for LyX - HTML in the list, and send us the Converter line; it should be something like: elyxer.py --directory $$r $$i $$o Thanks, Alex.
Re: LaTeX/LyX 2html in reasonable way?
Hi, On Thu, Sep 24, 2009 at 2:02 PM, s0r05000 pekkis5...@luukku.com wrote: My problem is this: I have fair documentation written with lyx, and i'm having trouble converting it to html in such way, that tree view would be shown on the left in htm. I've tried latex2html and elyxer, but neither have option to hardcode frames into html. So all my results end in having html that is very similar to dpf output i get straight from lyx. Real problem is the navigation inside the html. With normal tools we'll have settle for browsing through the manual with up/next/previous without seeing the tree. Within eLyXer there is no option currently to do what you want. But it is planned as a future extension, and in fact if you run elyxer.py --toc you will see a half-baked attempt at building a tree of links (not yet an official option). If there is interest in this feature I can try to fit it in the next release after this one (ETA couple of weeks). Keep in mind that it will generate a different HTML that points to the first one, but everything will be in one big page as is now; the issue of building the frames would be up to you. (Subdividing the generated HTML is another planned extension but it would probably take longer.) Alex.
Re: LyX 1.6. ~ LaTex2RTF
Hi David, On Wed, Oct 7, 2009 at 6:53 PM, David Hewitt dhewit...@gmail.com wrote: Frankly, my new method for dealing with getting stuff from LyX to M$Word (arm twisted, screaming) is to export the plain text (ps2ascii option so that refs are formatted) and then finger-paint the whole thing. Since I only have to do it once, I just accept the fact that one day of work will be wasted on this shenanigan. All this said, I am excited to try out LyX 1.6.x and eLyxer as an alternative. Shameless plug: by all means do, and please report back any issues to the eLyXer users list (in copy), or to me. I also read reports here but it might fall down the seams. I am running out of bugs to fix and feature requests to fulfill :D (Not that eLyXer is perfect now, far from that; probably it's just that not so many people are using it, and/or those people are not bothered enough to complain about it.) Alex.
Re: Converting to doc format
On Wed, Oct 21, 2009 at 12:20 PM, Anders Ekberg a...@mac.com wrote: Try eLyxer, export to HTML and import the HTML in Word (see elyxer documentation for the switch to make the html readable in Word.) Yeah, and let us know how it goes. I am interested in any problems you might have during the conversion. Note that equations etc will not work. On the generated HTML they may look right, especially on Firefox; but after importing from Word they will probably look very strange. Alex.
Indentation in float algorithm environment.
Dear All, I have a question on indentation in the float algorithm environment. I noticed that the typesetting of algorithm in LyX does not include indentation and I could not insert 'Tab' into my typed algorithm. However, the 'algorithm' package for LaTeX does automatically indent for you when you use flow-control structures. Does the algorithm environment in LyX has any relation with 'algorithm' package for LaTeX? Currently, the only indentation I can do is to manually type multiple Ctl-Space to make my algorithm looks better. But this is inefficient and ugly. Can anyone shed some light on this? Thx in advance! Regards, Yufei __ Post your free ad now! http://personals.yahoo.ca
Help With Citation References
I need to get a document out pronto and don't really have the time at the moment to fiddle around with bibtex. So, I'd like to use the bibliography features built directly into lyx. I'm having a minor problem that is an issue of conveniene only. NOTE: I'm using the "article" document style. I'd like to cite multiple references simultaneously. For instance, "In the references [3,4,8] we see" To do this, what I'd *like* to do is click the 3 reference keys to these citations, perhaps separated by commas, so that I get the desired multiple reference. I can't seem to do this. Suppose I click the rightmost down arrow in the citation insert GUI, which lists all the reference keys, and choose a particular reference. If I then choose another, it erases the first one I chose, so that my attempt to create a list is thwarted. Instead, I have to type in the reference keys myself, separated by commas. This works, but it's incovenient. How can I do this using the clickables only, so that at worst I have to type in a few commas myself? Much thanks, Alex Casti Mount Sinai School of Medicine New York, NY
Bibliography style inconsistency
Hi, I am using plain bibtex style file plain.bst It seems that there is inconsistency in that entiries from books/proceedings have the word pages and articles from journals do not. For example: [1] A. John. Mesurement of frequency. Frequency Journal, 22(3):217-223,June 1998. [2] B. Peter. Measurement of time. In Time Meausurement, pages 66-77. IEEE, 1998. How can I remove/correct this inconsistency? Is there a bibtex style to use wich is like plain but without this problem? Thank you.
Line spacing within figure float captions
Hello. I wrote an article style document in 12pt font, double-spaced, using lyx-1.1.6fix2. What I want is for *everything* to be double-spaced, including the abstract, figure captions, and so forth. Everything looks to have the spacing I want, except that my figure captions aren't double-spaced (4 lines per vertical inch), but rather appear to have one-half spacing. I have no idea why, unless there is something inherent to the caption environment that makes it so. The Question: How may I set the caption line spacing so that I get double-spaced caption text? Thanks, AC
lyx printing problems
Hi. I have been trying to printout a document in progress, which normally printed fine, and instead of black characters, i get black blocks with white characters inside them... why is this happening and how can i fix it? -my printer does test pages fine, so im guessing this is something weird with the postscript print? Alex
Horizontal scroll bar
I'm current using lyx1.1.6fix2 I suspect that there is no way to activate a horizontal scroll bar, and I just want to be sure. Is there a horizontal scrollbar option available? If not, can we expect to see one in future versions? Thanks, Alex
LyX with LaTeX Error
Howdy, (new to the list - and a new user of LyX - great program btw!) I'm having a problem including any sort of graphics in a document. They add just fine, but when I go to export or view the document (DVI, etc.), I get a dialog box There were errors during the LaTeX run., and when I double click on the error, I get: LaTeX Error: Unknown option 'ln' for package 'graphics'. \if [EMAIL PROTECTED] The option 'ln' was not declared in package 'graphics', perhaps you misspelled its name. Try typing return to proceed. I know this is a LaTeX error, but it's complaining about the code LyX sends it. I've since reinstalled teTeX, and LyX, and still no help. I get this error on a *new* document, with nothing but an image it in. I've tried all sorts of images (eps, png, jpg, etc.) and still get it. I'm at a loss of what it could be. Any tips on how to solve this problem? I really need figures in my paper. Thanks. latex --version, gives TeX version 3.14159, kpathsea version 3.3.1; LaTeX configuration does find graphicx package. Here's lyx --version: LyX 1.3.1 of Tue, Mar 18 2003 Built on Jul 10 2003, 23:40:17 Configuration Host type: i686-pc-linux-gnu Special build flags:xforms-image-loader C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (3.2.2) C++ Compiler flags: -march=athlon -O3 -pipe -fomit-frame-pointer -fno-exceptions Linker flags: Frontend: xforms libXpm version: 4.11 libforms version: 1.0.0 LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx -alex [EMAIL PROTECTED] http://www.theparticle.com/
Re: slides and landscape
i finally upgraded to 1.3.2 and am still having the same problem that landscape comes out upside down when i export to postcript even when i remove the -swap from gv -swap. the pdf looks ok when i read/print from acroread. any ideas? http://hep-www.colorado.edu/~olivas/StillSeaScape.ps thanks, alex. Raphael Clifford wrote: Olivas, Alexander Raymond wrote: here's an example of the problem i'm having... http://hep-www.colorado.edu/~olivas/LyxExamples/PortraitExample.pdf http://hep-www.colorado.edu/~olivas/LyxExamples/LandscapeExample.pdf i also don't have an edit-preferences-file. i do have an edit-preferences-lookfeel,lang opts,conversion,inputs, and outputs. we're probably using different versions? yes, you're using 1.3.2 and i'm using 1.2.3. i still didn't find any reference to gv or swap. thanks, alex -Original Message- From: Raphael Clifford To: Olivas, Alexander Raymond Cc: '[EMAIL PROTECTED]' Sent: 7/8/2003 2:30 AM Subject: Re: slides and landscape Olivas, Alexander Raymond wrote: i'm using the slides style in lyx 1.2.3 and would like them to come out in landscape. when i select Layout-Document-Paper- Landscape it cuts off most of the slide and prints it upside down. is there a better way todo this? thanks, alex. Hi, When you say it cuts off most of the slide do you mean it cuts off roughly the right-most third? If so this is because of the -t a4 option that lyx sticks in when called dvips. Someone has claimed that gs versions from 6.53 onwards don't have this problem but I am unable to test this. (I am running redhat 7.3 and it appears to be almost impossible to upgrade ghostscript on it.) I simply have to export as latex and run dvips manually at the moment :( The upside down problem is caused by lyx sticking -swap in the options for gv. This can be fixed in edit-preferences-file formats-postscript-viewer where it should say gv -swap at the moment. Just change that to gv. Cheers, Raphael P.S. I am using lyx 1.3.2 but seem to have had the same problems. Hmmm... All I can see from those examples is that the landscape is upside down. As you are using pdf and not postscript my suggestions may not have been relevant. If you have time/energy you could upgrade to 1.3.2 and then it would be easier for me/us to help you. Cheers, Raphael
Re: slides and landscape
i'm using 1.3.2 with redhat 7.2. in the link below that line is in the preamble. all i did was open your attachment in lyx and export to postscript. since this works for you i'm wondering if maybe we're using different versions of ghostscript. i'm using gv 3.5.8 and ps 7.00. thanks, alex. Holger Zebner wrote: Hi, yes, doin' some presentations with LyX is damn' tricky. But you gain small files and readability... I am not too advanced (...every day a bit more...) but I think that you basically need the folowing line at the end of your preamble: \renewcommand{\printlandscape}{\sliderotation{right}\special{landscape}} If it doesn't work send me a msg and you get my last presentation. Or contact Dekel Tsur who designed the template I sent you. Anyway, what version are you working with? Good luck Holger At 17:43 28.07.2003, you wrote: i did exactly that with the attachment and it still comes out upside down. http://hep-www.colorado.edu/~olivas/seminar.ps alex. Holger Zebner wrote: Hi, I had the same problem in my 1rst presentation. I found the attached example through this list. Load it into LyX and look in the preamble. The last command lets evrything come out fine. Greetings Holger At 23:13 25.07.2003, you wrote: i finally upgraded to 1.3.2 and am still having the same problem that landscape comes out upside down when i export to postcript even when i remove the -swap from gv -swap. the pdf looks ok when i read/print from acroread. any ideas? http://hep-www.colorado.edu/~olivas/StillSeaScape.ps thanks, alex.
Re: slides and landscape
correction...that was gs 7.00. alex. Alex Olivas wrote: i'm using 1.3.2 with redhat 7.2. in the link below that line is in the preamble. all i did was open your attachment in lyx and export to postscript. since this works for you i'm wondering if maybe we're using different versions of ghostscript. i'm using gv 3.5.8 and ps 7.00. thanks, alex. Holger Zebner wrote: Hi, yes, doin' some presentations with LyX is damn' tricky. But you gain small files and readability... I am not too advanced (...every day a bit more...) but I think that you basically need the folowing line at the end of your preamble: \renewcommand{\printlandscape}{\sliderotation{right}\special{landscape}} If it doesn't work send me a msg and you get my last presentation. Or contact Dekel Tsur who designed the template I sent you. Anyway, what version are you working with? Good luck Holger At 17:43 28.07.2003, you wrote: i did exactly that with the attachment and it still comes out upside down. http://hep-www.colorado.edu/~olivas/seminar.ps alex. Holger Zebner wrote: Hi, I had the same problem in my 1rst presentation. I found the attached example through this list. Load it into LyX and look in the preamble. The last command lets evrything come out fine. Greetings Holger At 23:13 25.07.2003, you wrote: i finally upgraded to 1.3.2 and am still having the same problem that landscape comes out upside down when i export to postcript even when i remove the -swap from gv -swap. the pdf looks ok when i read/print from acroread. any ideas? http://hep-www.colorado.edu/~olivas/StillSeaScape.ps thanks, alex.
latex preview oddity
i've recently installed the latex-preview and i get previews for any math that i now type that didn't exist before. for example if i had $x=1$ somewhere in the document and retyped it in a different place i get no preview. no error either. lyx just doesn't bother trying to generate a preview. however if i type $x=2$ (not previously existing in my document) i get a preview. any ideas? thanks, alex.
Re: latex preview oddity
Alex Olivas wrote: i've recently installed the latex-preview and i get previews for any math that i now type that didn't exist before. for example if i had $x=1$ somewhere in the document and retyped it in a different place i get no preview. no error either. lyx just doesn't bother trying to generate a preview. however if i type $x=2$ (not previously existing in my document) i get a preview. any ideas? thanks, alex. by the way, i'm using lyx-1.3.2 on redhat 7.2. alex.
lyx errors and floats!?
i'm getting a lot of strange errors when i try to insert a figure, algorithm, or table float and view the dvi. the first error reads...(s**t i can't copy and paste from the LaTex Error box)... oh well...something like... Latex Error:Float(s) lost. \end{document} i don' t get this error when i try to insert a Floatflt figure. it doesn't seem to matter whether the floats are empty or filled. the problem obviously has nothing to do with the floats, but the error messages are really helpful (at least to me). does anyone have a clue as to what might be going on? i'm using 1.3.2 on redhat 7.2. thanks, alex.
Re: lyx errors and floats!?
so it looks like i found the problem. it turns out i was abusing the here if possible option on floats. if i use here definitely, which i really don't want to do, it compiles. could someone explain the difference between these two options and why i had problems compiling? thanks, alex. Alex Olivas wrote: i'm getting a lot of strange errors when i try to insert a figure, algorithm, or table float and view the dvi. the first error reads...(s**t i can't copy and paste from the LaTex Error box)... oh well...something like... Latex Error:Float(s) lost. \end{document} i don' t get this error when i try to insert a Floatflt figure. it doesn't seem to matter whether the floats are empty or filled. the problem obviously has nothing to do with the floats, but the error messages are really helpful (at least to me). does anyone have a clue as to what might be going on? i'm using 1.3.2 on redhat 7.2. thanks, alex.
left bracket only
whenever i try $\left{...$ for example lyx (1.3.2) automatically displays the corresponding right bracket. is there anyway to suppress the right bracket? i only want the left displayed. the latex equivalent would be something like... $\left\{ ... \right.$ thanks, alex.
Re: left bracket only
ah ha! those empty buttons on the lower right of the delimiters math panel actually do something. thanks, alex. Herbert Voß wrote: Alex Olivas schrieb: whenever i try $\left{...$ for example lyx (1.3.2) automatically displays the corresponding right bracket. is there anyway to suppress the right bracket? i only want the left displayed. the latex equivalent would be something like... $\left\{ ... \right.$ no problem, choose it from the math menu Herbert
Re: Instant Preview (fwd)
Alon Altman wrote: On Sun, 21 Dec 2003, Alex Olivas wrote: go to Edit-Preferences-Look Feel-Graphics and there'll be an instant preview box you can click. alex. Wow! It works great (I had to install the preview-latex package first). One small problem I still have with this, is that the previews seem too small compared to the surrounding text. It seems that the 120% zoom I'm using for the screen fonts isn't applied to the previews. Is there any way to fix this? Furthermore, could you point me to a place in the manual (or somewhere else) where this feature is discussed? Thanks, Alon no i can't really. you pretty much know what i know now. one thing i've noticed is that even when i change the font size of the latex the preview size doesn't change but the size is correct in the output. hopefully someone help will help you with the rest. good luck, alex.
Math panel won't go into the background
My system:Lyx 1.3.4, QT front end, Redhat 9 Linux For some reason that I can't quite figure out, when I open the math panel it always wants to sit in the foreground in front of the lyx document window. When I click the lyx document lying behind it, the document window doesn't come to the foreground as with other GUIs -- the math panel always remains in front. I find this rather annoying. I can't seem to find anything in the preferences to control this feature. Is there anything I can do about it? Much thanks for the help.
Graphics missing in PDF/PS, SGML export??
I'm a relatively unsophisticated but enthusiastic LyX user; I've been following its development for years. I'm using LyX 1.3.1 on RedHat 9 (installed from lyx-1.3.1-1rh9-qt.i386.rpm) with generally good results, creating structured docts for multiple target formats, esp. PDF, also PS, HTML, and text, using Linuxdoc SGML export from a LyX master created with a Linuxdoc template. I have done this successfully before with previous versions of LyX. Today I'm puzzled by absence of graphics in any of the generated products, including PDF generated by either (buffer-export pdf) or pdflatex export. My memory is that this worked fine in earlier versions. I can't imagine that this is really broken, but there does not seem to be any configuration at either the document level or the individual figure to control this. Any ideas? Thanks in advance. Alex Brown [EMAIL PROTECTED]
Re: Graphics missing in PDF/PS, SGML export??
Jose' Matos wrote: On Sunday 25 April 2004 15:44, Alex Brown wrote: Any ideas? Thanks in advance. No, both images and tables didn't work in previous versions but it will in next, 1.4. :-) Alex Brown [EMAIL PROTECTED] Hmm, I have a clear memory of using graphics with Linuxdoc but I must be wrong. Time to get going with Docbook, I suppose. I have found a helpful comment on Docbook tools handling of graphics at http://articles.linuxguru.net/view/202#AEN6 -- each target file format requires a different graphics file type: * In your document do not specify the file type, as each conversion routine will expect a different extension, except the HTML conversion which takes this literally. This is why I asked you above not to have the .png extension on your PNG files. The browser can determine the file type anyway. Here is an example for a screen shot: screenshot screeninfoEmacs 21 Graphical Menus in X/screeninfo graphic fileref=graphic/emacs-21-graphic-menu/graphic /screenshot Sounds like this can be made to work. -- Alex Brown [EMAIL PROTECTED] +1 617 308 9456
Docbook export:
Alex Brown wrote to [EMAIL PROTECTED]: ... Time to get going with Docbook, I suppose. Chris -- I've found your excellent http://www.karakas-online.de/mySGML/ -- thanks very much. (For lyx-users, this provides some shell scripts esp. lyxtox that drive several large engines.) Your approach is: Chris Karakas [EMAIL PROTECTED] wrote: * We will put everything in a shell script. We don't want to bother about anything else. We want to ponder comfortably upon the meaning of life while drinking some coffee or tea, watching our computer do the work for us - personally, a very rewarding experience :-) * We will use sed http://www.gnu.org/software/sed/manual/sed.html to correct LyX' SGML output. The more we are able to correct, the more SGML features we get out of our plain vanilla LyX. * We use the sgmltools http://www.sgmltools.org package which hides a lot of details from the end user, giving nonetheless all the power of the involved tools. * We will adapt the DocBook DSSSL stylesheets http://docbook.sourceforge.net/projects/dsssl/ to our personal needs and taste. * The end product shall be a directory ready to upload to our web server with all files, links, images and formats necessary. It seems usable, but it's a substantial investment of time just to get the tools and configuration set up. Is this still the easiest way (in your opinion) to produce the various product files from LyX generated DocBook SGML? Any changes for recent LyX, esp 1.4? Any comments would be appreciated. -- Alex Brown [EMAIL PROTECTED] +1 617 308 9456
Re: Docbook export:
What are you trying to do with lyx that does not work now? I will gladly add those features that you need. I am looking for a solution to the problem today, but I'm delighted to help you work on LyX improvements. You really should get input from users who are more experienced with DocBook SGML in other toolsets -- Chris Karakas is clearly one of the most experienced with DocBook and LyX. His list of workarounds for problems he's found is pretty comprehensive. I'm not sure what you mean by "character layout styles" below -- perhaps these will show the structured elements available within a top level environment? If so, I would prefer to see them in the "environment" pulldown window on the toolbar, not via Layout-Character... which seems to be intended for preformat control of font. In the DocBook DTD the author element may contain a variety of other elements, including the "person.ident.mix" element which may contain honorific, firstname, surname, lineage, othername, affiliation, authorblurb, and contrib. It may NOT contain straight character strings, esp. "Alex Brown [EMAIL PROTECTED]", where the angle brackets clearly are dangerous to SGML. Here are my comments: The author structure you show below is a helpful example -- Karakas shows how to insert an inline SGML environment as a workaround. He reports that LyX 1.3.x DocBook support is circa version 3.1, not current 4.2, but it seems that even that is simplified; the tags available are only slightly more complex than LinuxDoc. There are a great number of such environment tags in DocBook, most of them elements valid only within containers. DocBook is an unusually large and complex DTD but this is typical of SGML work. It would of course be ideal to see in the environment pulldown list on the toolbar, only the tags available for elements within the current LyX environment, instead of all tags in the DTD. DocBook is standardized and varies with successive versions, but in general DTDs may be customized to a particular organization's needs. It would be ideal to be able to work in LyX with any valid SGML DTD. I know that the heritage of LyX is TeX, not SGML, so I don't expect this to be easy. I haven't looked at LyX source yet and have no idea if the following question is serious or ridiculous: Can this environment structure in the LyX GUI be generated from a DTD so that LyX can work with DocBook DTDs at various version levels (or any other DTDs)? Rebuilding LyX for use with a particular DTD is an acceptable solution. LyX does not appear to validate environment or tag use at all -- I realize that without integration with jade this may be impossible. As an improvement, it would be extremely helpful to see an error message window from "db2dvi" etc when one of the "view" options is selected on the main toolbar, and its processing results in errors (on stderr). These error messages tend to give hints about structure problems of this sort. My workaround is a Makefile to build the product files (HTML, PDF etc) from SGML, which I run separately from Emacs and thus I'm able to use the Emacs error message parsing to track down the offending SGML line. This works quite well. Such error parsing in LyX, to point out a LyX environment with a problem, would be ideal as a long term solution. Good luck with future versions of LyX. For now, "writing in LyX, thinking in SGML" as Chris puts it, will have to do for me. -- Alex Brown [EMAIL PROTECTED] +1 617 308 9456 Jose' Matos wrote: One important feature for 1.4 lyx are the character layout styles, the inline equivalents of layout styles. Notice the attached picture where the firstname and surname appear differently. Any suggestion to improve lyx ability to deal with docbook is welcome. {screenshot deleted} image/gif
Spaces in math-eqn mode
I'm currently running lyx1.1.6-fix4 on a machine with Redhat Linux 7.2. There's an annoying problem I have with lyx that has been occurring since I started using it 3 years ago. Sometimes this problem occurs and sometimes it doesn't, perhaps depending on which way the wind is blowing on a given day. THE PROBLEM: When I manually insert spaces in the math-eqn mode, using either ctrl-space or the math panel editor, I often get an error message when I compile the lyx document. It is definitely related to the presence of these inserted spaces. Has anyone else had this problem? Is there something I should know to avoid it? Much thanks, Alex Casti
Re: Spaces in math-eqn mode
Andre Poenitz wrote: On Thu, Feb 14, 2002 at 01:18:58PM -0500, Alex Casti wrote: THE PROBLEM: When I manually insert spaces in the math-eqn mode, using either ctrl-space or the math panel editor, I often get an error message when I compile the lyx document. It is definitely related to the presence of these inserted spaces. Which kind of error messages and how does the .lyx and the exported .tex in this case look like? It would be nice if you gave an example as short as possible. Andre' This error message occurs when I'm in the math equation mode (gotten to using ctrl-shift-M). I'll type an equation, and then at the end of it I'll insert a horizontal space (using ctrl-space or the math panel) before a punctuation mark, say. The error message is There were errors during the LATEX run It happens often, but not always, which perplexes me even further. Sometimes this error occurs when I use a new version of lyx to open an old .lyx document (generated by an older version of lyx). Many errors of this type occur, despite the fact that the older version of lyx that I used to generate the file accepted these horizontal spaces with no LATEX compilation errors. Alex
Re: Spaces in math-eqn mode
Hi -- attached is an example .lyx file which illustrates the problem. Thank you very much for your help and interest. Best, Alex Andre Poenitz wrote: On Thu, Feb 14, 2002 at 05:50:35PM -0500, Alex Casti wrote: It happens often, but not always, which perplexes me even further. Hm... and I cannot reproduce it. Maybe you could just save a .lyx and send it to me if this occurs the next time? Sometimes this error occurs when I use a new version of lyx to open an old .lyx document (generated by an older version of lyx). Many errors of this type occur, despite the fact that the older version of lyx that I used to generate the file accepted these horizontal spaces with no LATEX compilation errors. There have been no big changes to the math code in the stable tree including your 1.1.6fix4 for about three years. This puzzles me further. Andre' -- André Pönitz .. [EMAIL PROTECTED] #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \begin_preamble \pagestyle{empty} \setlength{\topmargin}{-0.5in} \setlength{\oddsidemargin}{0.2in} \setlength{\evensidemargin}{0.2in} \setlength{\textheight}{8.6in} \setlength{\textwidth}{6.1in} %** Begin Definitions *** \def\mskip{\hspace{.05in}} \def\mskipp{\hspace{.1in}} \def\neg{\hspace{.05in}} \def\for{\hspace{.05in}} \def\hs{\hspace{.25in}} \def\ns{\hspace{-.03in}} \def\nss{\hspace{-.17in}} \def\nsss{\hspace{-.1in}} \def\nege{\ns = \ns} \def\order{{\cal{O}}} \def\la{\hbox{\raise.35ex\rlap{$$}\lower.6ex\hbox{$\sim$}\ }} \def\ga{\hbox{\raise.35ex\rlap{$$}\lower.6ex\hbox{$\sim$}\ }} \def\beq{\begin{equation}} \def\eeq{\end{equation}} \def\beqa{\begin{eqnarray}} \def\eeqa{\end{eqnarray}} \def\eps{\epsilon} %** End Definitions *** \end_preamble \language english \inputencoding default \fontscheme default \graphics default \float_placement ht \paperfontsize 10 \spacing single \papersize Default \paperpackage a4 \use_geometry 1 \use_amsmath 0 \paperorientation portrait \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \series bold Example lyx file illustrating the error \layout Standard \series bold Message I frequently get when I insert \layout Standard \series bold horizontal space within the math equation mode. \layout Standard \latex latex \backslash vspace{.3cm} \layout Standard \latex latex \backslash noindent \backslash fbox{ \backslash rm \backslash bf{Some Equation}} \layout Standard \latex latex \backslash vspace{.1cm} \layout Standard \latex latex \backslash noindent \latex default Suppose \begin_inset Formula \( {\cal V}=P_{3}[x] \) \end_inset and \begin_inset Formula \( {\cal W}=P_{4}[x] \) \end_inset , where \begin_inset Formula \( P_{n}[x] \) \end_inset is the vector space of \begin_inset Formula \( n^{{\rm th}} \) \end_inset -order polynomials: \layout Standard \begin_inset Formula \[ P_{n}[x]=\left\{ p(x)\mid p(x)=c_{0}+c_{1}x+\ldots +c_{n-1}x^{n-1}+c_{n}x^{n}\right\} \, \, .\] \end_inset If you take the horizontal space before the period out of the above equation, then the LATEX compilation error disappears. \the_end
Figure Captions and Figure Centering
I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. - (1) Caption Question - In older versions, insertion of a figure float automatically included a caption. Not so in the new version. To put in a caption, I now include in the figure float environment a LATEX-mode box like \caption{caption text} My question: how do I insert math formulas within the caption without having to bang out all the raw latex? That is, I want the WYSIWYG feature within the caption, but the LATEX enviornment doesn't seem to allow it. Basically, I'd like to be able to put math formulas, equation cross references, etc., within the caption without having to type the raw latex. Probably there's a better way for me to insert the caption, but I don't know it. --- (2) Figure Centering --- In older lyx versions, figures were automatically centered. Now it seems that I have to do this manually with LATEX boxes for \begin{center} and \end{center}. How do I make figures centered by default? Much thanks, Alex Casti Mount Sinai School of Medicine
Re: math from lyx - rtf
I just now tried the latex2html converter on a lyx-generated latex file. Everything looked great, except the references to equation numbers do not display properly in my netscape 4.79 browser (running from Redhat 7.3 Linux). Instead of the equation number, an empty square appears. This square can be clicked, which moves the browser page to the equation in question (I think), but why doesn't the equation number appear? Has anyone else had this problem (or is this the way it's supposed to be?)? Thanks, Alex Subject: Subject: Re: math from lyx - rtf Date: Mon, 07 Oct 2002 23:57:08 -0400 From: Nirmal Govind [EMAIL PROTECTED] To: [EMAIL PROTECTED] Word/Equations are embedded math equation objects. I have not seen any way to really convert latex formula to this format. The best you can do might be inserting the latex2html generated pictures into word. This can be done, I think, by some html to rtf translator. Thanks Bo.. I was trying latex2html from within Lyx and the math part wasn't getting converted.. but I exported the file to Latex and then ran latex2html from the shell and it worked fine.. I guess this is probably a decent way to do it till a way is found to convert math into rtf directly... nirmal
Re: math from lyx - rtf
Andre Poenitz wrote: On Wed, Oct 09, 2002 at 12:12:37AM -0400, Alex Casti wrote: Has anyone else had this problem (or is this the way it's supposed to be?)? It looks like a latex2html problem, doesn't it? If so, the authors of latex2html might help. It didn't seem beyond the realm of possibilty that it had something to do with the lyx conversion to latex. It was also a current thread of discussion on this list, so... Andre' PS: Please quote only the relevant parts of the message you are responding to. People who need the full message can go to the archives. And please write _below_ the parts you are quoting as it is easier to read top-down (context, then your remark) than vice versa. Jawohl, sir, and I'll stop chewing gum in class too. Thank you very much.
Re: math from lyx - rtf
Andre Poenitz wrote: On Wed, Oct 09, 2002 at 02:48:51AM -0400, Alex Casti wrote: It looks like a latex2html problem, doesn't it? If so, the authors of latex2html might help. It didn't seem beyond the realm of possibilty that it had something to do with the lyx conversion to latex. It was also a current thread of discussion on this list, so... Well, then how does the intermediate .tex and the final .html look like? Well, like you suggested, the promised land was within the borders of latex2html documentation. For the sake of completeness I'll mention the fix. The equation numbers weren't appearing in my .html because I ran the converter on the latex file without first compiling the latex and creating the .aux file. When I compiled the latex first, and then ran the converter, everything turned out beautiful. Thanks, Alex
Trouble compiling version 1.2.2 (Aiksaurus troubles)
Hi -- I'm using the tarball to compile the updated lyx (version 1.2.2) on Redhat Linux 8.0. Everything seems to compile okay after I run make, except I get a seemingly fatal error associated with undefined references to the thesaurus program Aiksaurus. This is despite the fact that I have installed Aiksaurus, and have run previous versions of lyx (1.2.0 and 1.2.1) successfully. The current version of Aiksaurus I have is Aiksaurus-0.15-1, which I installed via an RPM file. The configure command I used was ./configure --with-version-suffix=1.2.2 Any help or workaround would be greatly appreciated. Here's the error message I get: *** Thesaurus.o: In function `Thesaurus::Thesaurus[not-in-charge]()': Thesaurus.o(.text+0x14): undefined reference to `AiksaurusImpl::Aiksaurus::Aiksaurus[in-charge]()' Thesaurus.o: In function `Thesaurus::Thesaurus[in-charge]()': Thesaurus.o(.text+0x3a): undefined reference to `AiksaurusImpl::Aiksaurus::Aiksaurus[in-charge]()' Thesaurus.o: In function `Thesaurus::~Thesaurus [not-in-charge]()': Thesaurus.o(.text+0x61): undefined reference to `AiksaurusImpl::Aiksaurus::~Aiksaurus [in-charge]()' Thesaurus.o: In function `Thesaurus::~Thesaurus [in-charge]()': Thesaurus.o(.text+0x8b): undefined reference to `AiksaurusImpl::Aiksaurus::~Aiksaurus [in-charge]()' Thesaurus.o: In function `Thesaurus::lookup(std::basic_stringchar, std::char_traitschar, std::allocatorchar const)': Thesaurus.o(.text+0xfe): undefined reference to `AiksaurusImpl::Aiksaurus::find(char const*)' Thesaurus.o(.text+0x142): undefined reference to `AiksaurusImpl::Aiksaurus::next(int)' Thesaurus.o(.text+0x187): undefined reference to `AiksaurusImpl::Aiksaurus::next(int)' Thesaurus.o(.text+0x487): undefined reference to `AiksaurusImpl::Aiksaurus::next(int)' collect2: ld returned 1 exit status make[2]: *** [lyx] Error 1 make[2]: Leaving directory `/home/arc/ZZtemp/temp/lyx-1.2.2/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/arc/ZZtemp/temp/lyx-1.2.2/src' make: *** [install-recursive] Error 1 **
Problems: XFORMS and version 1.3.0 WYSIWYG issues
I'm having some problems with the recent release (lyx-1.3.0), as well as some XFORMS issues. My operating system is REDHAT LINUX 8.0 on an i386 PC. ISSUE #1 Please correct me if I'm wrong, but is it the case that lyx-1.3.0 does not require XFORMS? Currently, I have xforms-0.88-3 installed (via the binary package xforms-0.88-3.i386.rpm). This is the only version of XFORMS that I could get to work with lyx-1.2.3, and I have no idea why. I would love to install xforms 1.0 with an RPM, but I have no idea how to do the rebuilding. I downloaded the source RPM xforms-1.0-release.src.rpm from the lyx ftp site. How do I rebuild it into a regular old .rpm file for installation? I tried rpm --rebuild xforms-1.0-release.src.rpm but it turns out that rebuild is an unknown option. Do I need to install some other package to use rebuild? Could somebody out there give me a theoretically fail safe set of instructions so that I can install the newest version of XFORMS? I know that this isn't really a .lyx issue, but I'm stuck. ISSUE #2 I used the binary lyx-1.3.0-1rh8-qt.i386.rpm to install version 1.3.0. It looks great, except that I don't seem to have the usual WYSIWYG feature when I type in formulas, greek letters, and so forth. It just leaves in the raw latex. However, when I use version 1.3.0 to import older version .lyx files, the WYSIWYG feature is as before. Integrals, sums, etc. show up as the symbols instead of the raw latex. I do get an error message after I've fired up version 1.3.0 : Adding /usr/share/lyx/xfonts/ to the font path. X Error of failed request: 86 Major opcode of failed request: 51 (X_SetFontPath) Serial number of failed request: 8 Current serial number in output stream: 10 Unable to add font path. Is this font problem the root of my WYSIWYG problems? Why does this problem not occur for imports of older lyx files (i.e. version 1.2.3 lyx imported into 1.3.0)? Much thanks, Alex Casti [EMAIL PROTECTED]
Re: Problems: XFORMS and version 1.3.0 WYSIWYG issues
Dekel Tsur wrote: On Fri, Feb 07, 2003 at 05:27:59PM -0500, Alex Casti wrote: ISSUE #1 Please correct me if I'm wrong, but is it the case that lyx-1.3.0 does not require XFORMS? If you use the QT frontend, you don't need XForms First, thanks to all who have responded on this thread. Now, let me follow up on my progress...(or lack of) On my Redhat Linux 8.0 pc I still can't seem to get the WYSIWYG feature of version 1.3.0 to work properly after installation with the RPM file at the ftp site. Math symbols, greek letters, etc. are left in their raw latex form, rather than the symbols. It was suggested (users group and INSTALL file) that I install the truetype fonts latex-ttf-fonts-0.1.tar.gz, which I tried to do. It didn't seem to help, although I'm not sure I did it right. I'm not a pro with all the details that go into putting fonts in their proper places, setting font paths, and so forth (my machine vomited when I tried xset fp+ fontpath...who knows why... is there more to it than putting the fonts in some directory and specifiying the font path?) I thought I'd try to compile 1.3.0 from the tarball instead, just to see if any magic fixes occurred. My configure command was ./configure --with-frontend=qt --with-version-suffix=1.3.0 This generated the error message configure: error: moc binary not found in $PATH or /bin ! Apparently moc2 and moc couldn't be found. I take it that these necessary QT items don't come with the standard Redhat 8 installation. Currently I have the following QT rpm's installed: qt-3.0.5-17 qt2-2.3.1-8 Any help would be appreciated. You guys are doing a fantastic job! Version 1.3.0 looks stunning, which is why I'm desperate to get it working properly (and yes, I realize this release was not intended to be ready for prime time). Best, Alex Casti