TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Creating a table from text? From:Geoff Hart <ghart -at- videotron -dot- ca> To:TECHWR-L <techwr-l -at- lists -dot- techwr-l -dot- com>, dvora -at- tech-challenged -dot- com Date:Wed, 04 Feb 2009 11:03:28 -0500
Deborah Hemstreet wondered: <<I... need to create a table that is
essentially just like the table of contents, but with an additional
column that lists documents that support that manual. Is there a
SIMPLE way to get the contents into a table format, with each heading
in a row, the page number in a column, and then an additional column,
as below?
Heading page # Supporting Documentation
Document Control 55 QCI 70-07-001
Management Review 62 BDP AD-001>>
If you're using Word, it's trivial so long as the columns of
information are seperated by a predictable character such as a tab.
All you need to do is select all the text, open the Table menu, select
Convert, then select "Text to table". Word generally does an excellent
job of this. When it doesn't, it's because there's an extra character
somewhere between the columns of information that fools Word into
thinking there are more columns than there really are. Deleting that
character solves the problem.
If you need to convert this into a format that Word will recognize
better (e.g., if the columns are separated by uneven numbers of spaces
instead of a single tab), you can do it by an iterative search and
replace: First, select all the text so that the search and replace
will only affect the selected text, not the whole manuscript. Next,
replace (for instance) all multiple spaces with a single tab. You can
then replace all instances of a tab followed or preceded by a space
(in two separate actions) with a single tab. There are more powerful
ways to accomplish this, but that would involve going into Word's
advanced search and replace features. A lecture for another day. <g>
The "for instance" means that you'll need a different search pattern
if different characters separate the columns.
I assume most other software offers a similar feature, but can only
speak for Word.
--------------------------------------------------------
Geoff Hart (www.geoff-hart.com)
ghart -at- videotron -dot- ca / geoffhart -at- mac -dot- com
--------------------------------------------------------
***Now available*** _Effective onscreen editing_
(http://www.geoff-hart.com/books/eoe/onscreen-book.htm)
ComponentOne Doc-To-Help 2009 is your all-in-one authoring and publishing
solution. Author in Doc-To-Help's XML-based editor, Microsoft Word or
HTML and publish to the Web, Help systems or printed manuals. http://www.doctohelp.com
Help & Manual 5: The complete help authoring tool for individual
authors and teams. Professional power, intuitive interface. Write
once, publish to 8 formats. Multi-user authoring and version control! http://www.helpandmanual.com/
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-