"tee" the output to a file with docx extension. I want to open the file with word.</c>
A trick for producing documents that look nice in Word: output simple HTML and name the file with a docx extension. Word will format that reasonably and your employer gets a "docx" file.
You can indent - and get bullet points (or item numbers) - with HTML lists:
<ul>
<li>artist
<ul>
<li>album
<ol>
<li>song</li>
<li>song</li>
</ol>
</li>
<li>album</li>
</ul>
</li>
<li>artist</li>
</ul>
Note: <ul> produces a bulleted list and <ol> produces a numbered list.
To get a list with out either bullets or numbers, use:
Update: As hippo rightly pointed out (below), you should use:
<ul style="list-style: none;">
rather than (ab)using <dl> as I have done in the past. However, I have not actually tested that, so I will leave my (heretical) example, below, as-is.
<dl>
<dd>artist</dd>
<dd>artist</dd>
</dl>
You can nest <dl> with <ul> and <ol> lists.
|