Freebsd Laptop Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 22 February 2013

Tips on Writing a Manual or Guide using LyX Part 1

Posted on 05:42 by Unknown
Category: Techwriter

Writing a document using LyX can be a frustrating experience if you're accustomed to a traditional word processor like Abiword, Microsoft Word, or LibreOffice Write. However, there's a lot to like about using the WYSIWYM LyX. As mentioned in a previous blogpost about using CherryTree for quickly writing online manuals, there are many ways to write a structured document without having to use markup such as Docbook or XML. As much as I like HTML5, Docbook, and DITA, I must admit it's a bit too much if you're going to write a manual that won't have reusable sections, won't access extensible data, or won't be repurposed for different mediums. For technical writers who are currently using WYSIWYG page layout applications like Adobe PageMaker, Adobe InDesign, or even Microsoft Publisher and CorelDraw, there's a definite advantage to using LyX's approach. For one thing, I find it frustrating having to constantly think about spacing, typography, and layout with those applications as opposed to rattling off text (with or without markup). That said, LyX does have its limitations from a design perspective even when compared to the basic word processors such as Corel WordPerfect and Microsoft Word 2010.

Before attempting to use LyX to write a document, make sure you're aware of its primary function - clean and straightforward typesetting (This is actually laborious to pull of when using XSLT). Think of LyX as a distraction-free text editor with the ability to export a structured PDF. I really like LyX, but with the cornucopia of fantastic open source full-featured word processors out there, I only use it for special cases such as textbooks or scholarly documents requiring mathematical symbols. For my part, the most useful feature for LyX is exporting a clean PDF with a navigable TOC without much effort. LyX also exports to a pretty clean single page XML1.0 compliant HTML file though I prefer using Cherrytree because of the collapsible navigation tree it automatically adds.

1. Change all the Document Settings you need before you start writing.
To avoid any frustrating global document changes midway, do all the customizations before you start writing. Everything from fonts, to indents, page size, default bullet symbols, and PDF export options are all available in the Document Settings window. Click Document and then Settings and make sure everything is set. Document Class is arguably the most important setting though in my case, I find TOC and numbering to be the most important configuration to edit particularly since my output is primarily PDF documents with a TOC.




2. Select and use images carefully.
Like Docbook, the quality of images inserted into LyX varies depending on the output. A high-quality PNG on a LyX document exported to PDFLateX looks blurred and small. However, it's huge and clear if you exported the manual to an HTML file and exporting to DVI in LyX is especially terrible for images. I find it useful to keep separate copies of the same LyX file for an HTML manual and PDF one.

3. Use Vertical Space and Page Breaks (no carriage returns!)
For WYSIWYG page layout applications like Scribus and InDesign, you just drag and place graphics and objects wherever you want, using guides to approximate distance and alignment. In LyX, you can't press the RETURN key to add space between paragraphs and inserted objects and images. Add Vertical Space by clicking Insert then Formatting. Click Vertical Space ... to adjust breathing room between objects. Add Page Breaks by clicking Page Break under the same Formatting menu. If you're having a tough time visualizing how a document would look like use the View (CTRL+R) regularly.




4. Don't change Environments if you can change Text Style - and vice versa
Environments such as Part, Section, and Itemize have a corresponding spacing and text style. Depending on the TOC and numbering preference for the document, it also affects the PDF TOC. Use the Standard Environment and click Edit and then Text Style if you just want to change the appearance of the text but don't want that text to appear on the TOC. Otherwise, use the correct Environment. It's helpful to click the Toggle Outline pane to get an idea how your document will appear on the TOC.




5. Save the .lyx file in one folder
Save the .lyx file in one folder so that whenever you export to DVI or HTML, everything appears in one place. It may seem like a no-brainer but LyX doesn't exactly give you a dialog box asking for the save destination when you export a document.

6. Insert Hyperlinks
If the eventual output is to PDF or HTML, use the Hyperlinks feature. Click Insert then Hyperlinks and select either URL, web, or File.




7. Use Box not Note
Note is very useful for just plain LyX documents but if the end result is PDF, use the Vertical Space, Box, and Indent to create the effect of Docbook-like Notes, Warnings, and Messages. Click Insert then Box and select the type of box you want to use for your text.

8. Looking for Size, Bold, and Italics?
Some users may get frustrated about changing standard text properties in LyX because options for different sizes, underline, and bold properties are found under the Edit menu. Click Text Style then Customized.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Techwriter | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Drawing a Rounded Triangle in CorelDraw
    Category: Tech Writer If you need to draw a safety icon such as those found in user manuals or any icon which requires a rounde...
  • Linux on Film: The Amazing Spider-Man (2012) Part 1
    Ok, for dedicated fans of the latest Spider-Man movie (me included), Sony made use of this brilliant flick to advertise their Sony ...
  • Tech Flashback: The Lethal Weapon series 1987 - 1998 Part 3
    Category: Tech Today Continued from Tech Flashback: The Lethal Weapon series 1987 - 1998 Part 2 In this series of articles, we continue our ...
  • CorelDRAW X5: Adding Barcodes and QR Codes to Business cards Part 2
    QR Codes and QR Code Services Due to the popularity of QR Apps that can be installed on smartphones and iOS devices, QR codes are also becom...
  • Linux on Film: Antitrust (2001)
    *All screencaps from Antitrust (2001 ) Long-time Linux users are familiar with Antitrust (2001), which was strongly adverti...
  • CorelDraw Basics: Exporting to SVG for HTML5 web pages
    Category: Techwriter There are advantages to using SVG over the more popular PNG or JPEG when working with technical ...
  • Sony RAW (.ARW) support on openSUSE KDE
    Category: Linux Some advanced digital cameras and ILCs supports the RAW format, which many serious photographers prefer over JP...
  • Knoppix LiveUSB Basics: Bluetooth and Blueman Part 1
    Although Bluetooth has never been as reliable as a wired or RF connection, adding Bluetooth to an old machine is a simple way ...
  • Linux on Film: The Amazing Spider-Man (2012) Part 2
    Piezoelectric technology and microcontroller From a plot perspective, Peter probably made use of existing equipment like th...
  • Microsoft Product Placement in Arrow Season One Part 1
    Note: Unsolicited But Offered normally features Linux on film but in celebration of the ongoing season 2 of Arrow (w...

Categories

  • Linux
  • Linux - Mandriva
  • Linux - openSUSE
  • Tech Today
  • Techwriter
  • Travel Logs

Blog Archive

  • ▼  2013 (229)
    • ►  November (19)
    • ►  October (21)
    • ►  September (20)
    • ►  August (23)
    • ►  July (23)
    • ►  June (21)
    • ►  May (24)
    • ►  April (22)
    • ►  March (19)
    • ▼  February (16)
      • Considerations for an Apple and Samsung Smart Watc...
      • Considerations for an Apple and Samsung Smart Watc...
      • CorelDraw Basics: Exporting to SVG for HTML5 web p...
      • Tips on Writing a Manual or Guide using LyX Part 2
      • QuickFix: Transmission or Deluge (in China)?
      • Tips on Writing a Manual or Guide using LyX Part 1
      • QuickFix: Eject a USB storage device even with iTu...
      • Virtual Relationships and Social Networking
      • QuickFix: Microsoft Wireless Laser Mouse 6000
      • BYOD, network security, James Bond, and MacGyver
      • Linux on Video: "The Linux Action Show!"
      • Linux on Film: Criminal Minds - Season 8
      • Brief Thoughts on Fedora 18 DVD install and Gnome 3.6
      • QuickFix: Write a Multi-Language Online manual usi...
      • SkyDrive on Fedora 18 Gnome 3.x
      • Wacom Pen and Touch performance on openSUSE 12.2
    • ►  January (21)
  • ►  2012 (261)
    • ►  December (28)
    • ►  November (22)
    • ►  October (28)
    • ►  September (20)
    • ►  August (28)
    • ►  July (23)
    • ►  June (21)
    • ►  May (15)
    • ►  April (26)
    • ►  March (9)
    • ►  February (11)
    • ►  January (30)
  • ►  2011 (10)
    • ►  December (10)
Powered by Blogger.

About Me

Unknown
View my complete profile