Kuro5hin.org: technology and culture, from the trenches
create account | help/FAQ | contact | links | search | IRC | site news
[ Everything | Diaries | Technology | Science | Culture | Politics | Media | News | Internet | Op-Ed | Fiction | Meta | MLP ]
We need your support: buy an ad | premium membership

[P]
Lyx - WYSIWYM Document Processing

By duncan bayne in Op-Ed
Wed Nov 10, 2004 at 03:43:47 PM EST
Tags: Software (all tags)
Software

WYSIWYG is dead; long live WYSIWYM - What You See Is What You Mean!

Well, perhaps that's an exaggeration. WYSIWYG seemed like a great idea last century ;-). With all the latest display and print technology, one could craft a document on screen and see it how it would be printed. The WYSIWYG paradigm has become so entrenched in UI design it's almost taken for granted by users and developers.


However, there are issues with WYSIWYG. Although WYSIWYG is unsurpassed for complicated graphical layouts, as anyone who's worked with a WYSIWYG word processor like Word knows, it's time-consuming to change your mind about the layout of your document after it's complete, especially if it spans multiple pages. Worse, it's very, very difficult to have multiple styles for your document, and it's very easy to trash the layout of your document by accident, while changing the content.

For example, say you've written a magazine article, and want to send it in PDF format to a publisher, but you also want to provide it in a friendly screen-readable PDF document to put up on your website. Obviously, you'd want two very different layout styles, and there's just no easy way of doing that with a WYSIWYG package like Word; the layout information is an integral part of the document. Finally, there are issues relating to display drivers, print drivers, page size, and fonts which mean that it's highly unlikely that WYSIWYG - WYSIWYGOnASimilarMachineOnAGoodDay is closer to the truth.

I have been doing a fair bit of writing lately; I've been working on an article for the FreeRadical (disclaimer: I'm also the webmaster for that magazine), and my first book, which is proving harder & more time consuming than I first estimated. I've been using Lyx, a WYSIWYM document processor, running on Mandrake Linux and WindowMaker.

In Lyx, the user works with the document content and structure. You enter text, and mark lines and paragraphs appropriately; for example, as Title, Author, Section, Quote, etc. If you want to enter a footnote, choose "Add Footnote" from the menu, and enter your footnote in the red box that appears in the text at the point of entry. It's all structural, and designed to be easy to edit, read, and proof-read. A friendly GUI makes working with the document even easier, although of course, being an X-Windows application, there are keyboard shortcuts for everything should you prefer.

Once you're happy with your document structure and content, you can get Lyx to export into one of many formats, including Tex and PDF, and HTML (using a utility like latex2html) for web content. The formatting used during export is specified in text style sheets, which are easily modifiable from the defaults to allow you to control exactly how your document looks, in whatever format you choose. That said, I've found the default style sheets perfectly adequate for my needs.

Lyx itself is quite small, and runs adequately on my P150 with 48MB RAM (although PDF export of even a small document takes about a minute or so). It's very stable, although as it makes extensive use of Tex, that shouldn't come as a surprise. There is a port of Lyx available for MS Windows as well. All Lyx files are ASCII, and well documented, so there's little danger of being bitten by upgrades or lack of support; indeed, many Lyx users cite data safety as a key factor in their decision to use Lyx.

Lyx and Lyx documentation can be obtained from the following sites:

Further useful information about Lyx can be obtained from these sites:

Sponsors

Voxel dot net
o Managed Hosting
o VoxCAST Content Delivery
o Raw Infrastructure

Login

Poll
My favourite document / word - processor is
o Abiword 4%
o Ami Pro 2%
o KOffice 1%
o Lyx 7%
o Microsoft Office 9%
o Microsoft Works 0%
o OpenOffice 14%
o StarOffice 0%
o Tex / LaTex + Text Editor 23%
o TeXmacs 0%
o Text Editor (vi, emacs, jEdit ...) 25%
o WordPerfect 3%
o Other 7%

Votes: 169
Results | Other Polls

Related Links
o WYSIWYG
o FreeRadica l
o Lyx
o Mandrake Linux
o WindowMake r
o friendly GUI
o latex2html
o my P150 with 48MB RAM
o Lyx - The Document Processor
o Apple Downloads - LyX/Mac
o LyX port for Windows 9x/ME/NT/XP/2000
o The LYX Tutorial
o Writing Self-Published Books with Lyx
o Also by duncan bayne


Display: Sort:
Lyx - WYSIWYM Document Processing | 117 comments (95 topical, 22 editorial, 0 hidden)
dear god shut up (1.00 / 33) (#7)
by Liberal Conservative on Wed Nov 10, 2004 at 12:05:37 AM EST

if i read one more lame 2 sentence "world premier breaking news release" about some shitty piece of open sauce crapplication put together on a boring friday night in the computer lab at state U i'm gonna cut my nads off and feed em to rusty's dog

miserable failure

signed,
   liberal conservative

Always good to bring up LyX (3.00 / 2) (#20)
by regeya on Wed Nov 10, 2004 at 08:54:07 AM EST

LyX--for people who don't want to learn much about LaTeX. ;-D

I always feel weird advocating LyX, because WYSIWYG-based design buys my groceries, keeps the lights on, and keeps the car payments paid. But when I'm not designing, and am instead doing something like writing documents, I prefer LyX, to a certain extent.

Word processors aren't nearly as bad as they used to be, either. It's been a while since I attempted to write a large document in a word processor, but many word processors have tools that make things like, say, maintaining a Table of Contents much easier. Maybe not as easy as LyX, but pretty close.

[ yokelpunk | kuro5hin diary ]

Think Framemaker replacement (3.00 / 2) (#21)
by duffbeer703 on Wed Nov 10, 2004 at 09:00:57 AM EST

While LyX may not have all the bells and whistles and may not be buzzword compliant, we've used LyX to replace Framemaker for documentation and similar tasks.

Its a great product that not too many people know about yet.

No thanks (1.66 / 3) (#28)
by onealone on Wed Nov 10, 2004 at 12:41:15 PM EST

Looks vaguely interesting but too many prerequisits to run under Windows.

Vote - Notepad (none / 1) (#30)
by onealone on Wed Nov 10, 2004 at 12:49:05 PM EST

As opposed to nasty obsfucated things like Vi and Emacs.

Poll write-in. (none / 1) (#31)
by ubernostrum on Wed Nov 10, 2004 at 12:53:56 PM EST

While I wouldn't call it my "favorite" text processor, I find that lately I'm doing a lot of my work in DocBook SGML. There are things about it that I don't like (the unbelievable verbosity at times is annoying), but after years of writing HTML DocBook isn't that difficult to work with.

LyX is quite nice, though... the main thing holding me back is the rather silly reason of there not being a GTK port.




--
You cooin' with my bird?
Another one (3.00 / 3) (#32)
by John Thompson on Wed Nov 10, 2004 at 01:13:08 PM EST

Lyx is a very useful and versatile program. Another one I'd suggest checking is TeXmacs. They both produce beautiful output, but in my opinion TeXmacs has a better on-screen display.

Write in (1.14 / 7) (#33)
by malglico on Wed Nov 10, 2004 at 02:23:06 PM EST

In my day, we edited text files by hand, WITH MAGNETS!

LyX is intriguing (3.00 / 4) (#34)
by jd on Wed Nov 10, 2004 at 02:57:21 PM EST

But I found it tedious at times, and it doesn't produce particularly elegent LaTeX files. I'll vote this up, more because people really DO need to know there's life beyond Word, and not because I'm particularly keen on that specific solution.

Windows users who want a GUI-based LaTeX system might find migrating to Scientific Word an easier bite (byte?) than LyX. It's much closer to the design philosophy they are used to, whilst still giving them the power of a typesetting system. It's not free, but then, Windows users seem to like paying for things.

TeX is staggeringly powerful for describing documents. The macro language that sits on it, LaTeX, brings the complexity of the design to managable levels. True, they don't manage bitmaps that well and are more designed to embed Postscript files for graphics, you can still produce a very professional end-product.

Sadly, development of LaTeX 3 is stalled, although there is the occasional bout of work. Unless some truly innovative typesetting experts push the process forwards, LaTeX 3 might yet be beaten by not only Longhorn but by whatever comes after. Now, that is depressingly slow progress.

So, for all LyX fans out there who could offer some help or encouragement, here's your chance to make a piece of history and kick MS Word where it hurts.

LyX is nifty (none / 1) (#37)
by Gorgonzola on Wed Nov 10, 2004 at 04:22:38 PM EST

After having written two masters' theses using LyX and using it on a regular basis for letters I can only agree with the article's author. And no, neither of the two degrees involved are of a technical nature. And besides, I have gotten compliments about job applications written in LyX for their polished look.
--
A page a day keeps ignorance of our cultural past away, or you can do your bit for collaborative media even if you haven't anything new or insightful to say.

Behold LyX! (2.50 / 2) (#38)
by enthalpyX on Wed Nov 10, 2004 at 04:24:52 PM EST

And the glory of the XForms library! Bringing 80s style widgets to you TODAY.

Typesetting vs Word Processing (3.00 / 2) (#39)
by rodentboy on Wed Nov 10, 2004 at 04:44:26 PM EST

Have you seen how sophisticated the line breaking algoritm for TeX is? Knuth was almost fanatical about the quality of the output.

I was so used to using TeX for everything that when I was forced to start using Word (network effects) I was really disgusted by the output.



you missed the most important part (none / 0) (#40)
by mikpos on Wed Nov 10, 2004 at 05:19:55 PM EST

Like many, I assumed LyX would be pronounced "lich", where "ch" is pronounced like the Greek letter χ (bonus points to anyone who can write that in IPA). According to a very legitimate post on The Internet, it should actually be pronounced like the German lüks (a French pronunciation is given for political reasons only).

I'm a fan of LaTeX myself (none / 1) (#42)
by baronben on Wed Nov 10, 2004 at 05:24:07 PM EST

Unless you're doing something incredibly complicated, I've found that using just plain old LaTeX (a set of macros used to construct TeX files, which is a very powerful publishing program) is good enough. While LyX is pretty stable, there is zero chance of TextEdit, or any small text editing program, crashing on me. And, it also keeps with the philosophy of TeX, which is to separate formatting and writing. I write what I need to, and than play with the formatting later. But, LyX is good if you don't want to spend a few hours learning LaTeX
Ben Spigel sic transit gloria
TeX authoring (none / 1) (#43)
by grahamsz on Wed Nov 10, 2004 at 05:27:41 PM EST

I found that Kyle worked very well for creating documents which i could then push into postscript.

It has a very polished kde interface but at some levels it's not much more than a glorified and customized text editor.
--
Sell your digital photos - I've made enough to buy a taco today

The main problem with Lyx seems to be... (1.50 / 2) (#49)
by fyngyrz on Wed Nov 10, 2004 at 08:44:16 PM EST

...it depends on many other packages, and the installation doesn't appear to take care of figuring all that out, then finding, and installing, what you may lack.

If this is the case, the package is inaccessible to any docs person who isn't a geek, or hasn't a usable geek handy.

I rather support the idea that more folks, who are generally less geeklike, should be dragged to Linux. Installation pitfalls like...

"you must install this, that, the other, and these here depend on those there, but if you're running 1.2 and it is the GNU version then you need this unless you have the full BSD-enhanced CURSES package in which case you need that, also do keep in mind you'll have to recompile your kernal with the real time patch set from geekfingerblisters.com..."

...are what drag them right back to Windows as soon as they try to install it.


Blog, Photos.

pdf? (2.80 / 5) (#56)
by maw on Wed Nov 10, 2004 at 09:58:04 PM EST

I understand that you have to send a pdf off to your publisher, but what I still can't fathom is why anyone would publish information online using pdf.

pdfs are unpleasant to read, convey no extra useful information, and are large.

Every time I have to look at something in pdf format, I swear profusely at the author, and wonder what he could possibly have been thinking.

Please, do your readers a service, and if you publish your article publically, also make available as html.

(I have a standing offer of $1 USD to the first person who can tell me what I consider to a good reason to publish information in pdf. I expect to never pay it, but I could be wrong. And learning new things is nice.)
--
I have no idea what you're talking about, but that's ok, since you don't either.

The beauty of LaTeX (2.66 / 3) (#69)
by Coryoth on Thu Nov 11, 2004 at 03:06:49 AM EST

I never quite moved on from just using straight LaTeX, which works incredibly well presuming you've managed to get over the initial learning curve.  You really can do pretty much whatever you want with it.  For example, given my current situation where I often have to write documents that I will also have to give a presentation on, I invested a little time making that easier.

Now, I just go through and write the document in LaTeX pretty much as I normally would.  The only difference is, at the head of significant paragraphs I drop in a quick

\summary{ [bullet point summary of paragraph goes here] }

and continue with my document.  This, of course, helps crystalise your thoughts for the paragraph, but has an added side benefit:  I've written two document classes, one produces a document, the other produces a PDF presentation (akin to what you'd get from powerpoint) based on the bullet point summaries.  A simple switch of the documentclass declaration and I can generate either.  This lets me get on with writing the document, yet I'm effectively writing the presentation without thinking about it.  Furthermore, it's easy to share figures, equations, text, or pretty much anything I want between both the document and the presentation.  That means I can have everything in one document, and have any edits or changes automatically propagate through.  No cutting and pasting, no worries about the presentation falling out of sync with the document.  Everything is in one place, and easy to maintain.

This is, of course, similar to what Duncan is discussing in the way of different style sheets, only more powerful, as the results of the different document classes are wildly different (in content as well as style).

If there are other people interested in such things I might try posting my documentclasses somewhere - they are rather tailored to my taste in style, but should be easy enough to modify to suit other needs.

I suspect a determined individual could arrange for something similar in Lyx - it is mostly a frontend to LaTeX anyway.

Jedidiah.

Lyx on OS X (3.00 / 2) (#78)
by anon 17753 on Thu Nov 11, 2004 at 01:24:47 PM EST

Lyx is also available for OS X. There is a wiki at http://wiki.lyx.org/pmwiki.php/LyX/Mac.

come on... (none / 0) (#86)
by coderlemming on Thu Nov 11, 2004 at 04:43:14 PM EST

Having just spent 2 hours trying to get a table formatted right in straight LaTeX, making weird little changes so that the parser doesn't puke, I really have to wonder how the hell an application can write the LaTeX code to do what I want.  I'm not even trying to do anything paticularly fancy, either, but every time I use LaTeX I have to look up code snippets in obscure forums and mailing lists online, if it is indeed even possible to do what I want.  How can an application possibly get everything right?

Then again, despite all of my pain, I stick with LaTeX because its output is so beautiful :P


--
Go be impersonally used as an organic semen collector!  (porkchop_d_clown)

Great Article (none / 1) (#94)
by strlen on Thu Nov 11, 2004 at 08:28:46 PM EST

Too bad it's somewhat trapped in the section ghetto. One addition I'd like to make, however, is to mention the lout document processing language. I've found it to be better suited for non-scientific (or more specifically non heavymathematical) papers, and it would be great to see something more than an emacs editing mode available for it.

Link: http://lout.sourceforge.net/

There's also another great LaTeX editor front end, though in a very different style from Texmacs and LyX: and that is winedt (google it yourself).

--
[T]he strongest man in the world is he who stands most alone. - Henrik Ibsen.

Lyx - WYSIWYM Document Processing (none / 0) (#107)
by lbianchi on Sun Nov 14, 2004 at 03:29:47 PM EST

The link you give to the win32 port of Lyx is quite old. A fresher one is Ruurd Reitsma's port at
<http://www.home.zonnet.nl/rareitsma/lyx>, This version does not require Cygwin nor an X-server, and is based on a much more recent version of the source.

WYSINWYW (none / 0) (#108)
by infraoctarine on Sun Nov 14, 2004 at 05:44:08 PM EST

anyone who's worked with a WYSIWYG word processor like Word
I thought it was established by now that Word is indeed not a WYSIWYG word processor, but rather WYSINWYW, or "What You See Is Not What You Want". (Actually, I didn't make it up. It's from: Neville H., ``Crouching Error, Hidden Markup,'' Computer, September, 2001.)

So, Lyx gurus. (none / 0) (#109)
by i on Sun Nov 14, 2004 at 06:40:33 PM EST

How can I use several diferent languages in Lyx? Say, English, Hebrew, Russian, and Japanese?

and we have a contradicton according to our assumptions and the factor theorem

yay for LyX (none / 1) (#111)
by polyglot on Mon Nov 15, 2004 at 07:28:21 PM EST

As someone who is currently writing a PhD thesis in it, I can recommend it.

The point to keep in mind is that, being a LaTeX editor, everything (well, nearly) is a logical style, not physical style. Moving from Word to a professional document-construction tool like this is (to make a webby analogy) like moving from font tags in HTML to XHTML/CSS.

Physical appearance should be separated from the structure of the document, a paradigm very poorly supported by Word, though mainly because no one seems to understand or use Styles.


--
"There is no God and Dirac is his prophet"
     -- Wolfgang Pauli
‮־
Where is the advantage? (none / 0) (#112)
by bored on Tue Nov 16, 2004 at 11:52:13 AM EST

Nearly all the commercial WYSIWYG word processors/publishing utilities (M$ Word included) have the ability to write documents, where you mark sections of your document with things like new section, indexed word, etc.. and they will automatically compute tables of contents, indexes, consistant section layouts, etc. Its usually just a matter of spending a hour or two reading a book or the online help to figure out how to do this, rather than manually formatting everything. BTW: My personal favorite word processor is IBM's Word Pro although I have an old copy and they don't seem to be updating it much anymore.

Ami Pro-> Word Pro (none / 0) (#113)
by bored on Tue Nov 16, 2004 at 02:58:57 PM EST

I think Ami Pro became Word Pro when lotus bought it.

How is this different... (none / 0) (#114)
by bugmaster on Tue Nov 16, 2004 at 10:17:20 PM EST

...from using Emacs (vi, textpad, whatever) to write HTML with CSS ? Just wondering.
>|<*:=
Lyx - WYSIWYM Document Processing | 117 comments (95 topical, 22 editorial, 0 hidden)
Display: Sort:

kuro5hin.org

[XML]
All trademarks and copyrights on this page are owned by their respective companies. The Rest © 2000 - Present Kuro5hin.org Inc.
See our legalese page for copyright policies. Please also read our Privacy Policy.
Kuro5hin.org is powered by Free Software, including Apache, Perl, and Linux, The Scoop Engine that runs this site is freely available, under the terms of the GPL.
Need some help? Email help@kuro5hin.org.
My heart's the long stairs.

Powered by Scoop create account | help/FAQ | mission | links | search | IRC | YOU choose the stories!