Freebsd Laptop Support

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

Thursday, 29 December 2011

Getting Started with Docbook using Lyx

Posted on 03:02 by Unknown
Docbook is a document structure standard that is widely used and a useful tool for the technical writer.  The complexities of learning the markup isn't a big difficulty when using WYSIWYM (what you see is what you mean) document processing applications such as Lyx (Free and Cross-Platform) and Adobe FrameMaker.  Its open source roots allows users to edit and work with Docbook across various platforms.

Getting started with Docbook using Lyx is quick and easy.  Users just need to set up their document for Docbook (SGML) and can start writing away.
To set up a Lyx Document for Docbook markup:
1. Click File then New.
2. Click Document then Settings.

3. The left hand panel displays numerous settings for the new document.  Select Document Class and in the menu, choose between Docbook book (SGML), Docbook article, Docbook chapter, and Docbook section.

4. Most users can start working on the document already.  However, other settings users may want to set up are the following:
  • Font - select font sets to be used
  • Text Layout - set spacing and indentation settings  
  • Margin Layout - set margins
  • Page Layout - set the default page output
  • Numbering and TOC
  • Bibliography
  • Bullets - users can optimize the bullet item used per level
  • PDF Properties - allow the creation of bookmarks and navigation trees
Bullet characters can be changed.

PDF settings can be set.
5. Text can now be imported or pasted on to the document window.  
Users can import a variety of documents into Lyx.
6. Using Lyx's Environment choice box, text can be tagged and formatted as paragraphs, subparagraphs, subsubsections, Itemize, Enumerate, Code, Part, Section, Subsection, etc.
6. Once the document is finished, save the file in .lyx format by clicking File and then Save.
7. To create a Docbook file from the Lyx document click File then Export.  Since the Document Class Docbook was selected during setup, the document has options to be exported to either Docbook or Docbook XML.

8.   Lyx will automatically export the file to the same folder where the Lyx document was saved.
Linux users can review the Docbook markup using the text editor Gedit.  With the Docbook file exported from Lyx opened in Gedit, click View, then Highlight Mode.  Select Docbook or XML to highlight the XML tags.

Linux's Gedit text editor can highlight the XML markup.

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)
    • ►  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)
      • Yearender: Favorite Podcasts for 2011
      • QuickFix: Create ePub files in two steps using Lyx...
      • Linux on Film: Revenge Episode 9-10
      • Getting Started with Docbook using Lyx
      • Linux Public Wi-Fi Compatible: Manila Peninsula Hotel
      • Happy Holidays - Don't let Hardware get in the Way
      • Linux Tips for Connecting to Wireless Networks at ...
      • Xfce vs. LXDE vs. Gnome(2,3) vs. KDE4 vs. Unity Pa...
      • MIT Open Course: Intro to Tech Communication
      • Xfce vs. LXDE vs. Gnome(2,3) vs. KDE4 vs. Unity Pa...
Powered by Blogger.

About Me

Unknown
View my complete profile