Jaf
Posts: 70
Joined: 2/1/2006 Status: offline
|
quote:
Is there any way to tell asctortf to turn off all the grid lines in the output file? If you mean the gridlines shown by Word, that's an option in Word, and not something in the document itself. quote:
I'm able to put *'s on either side of specific text using an .inc file, but when asctortf creates the output file, it just prints the *'s rather than setting the text between them to bold. I'm not sure why that should be. If you'd care to email me some example files I'll happily investigate this for you quote:
The input files have a bunch of subheaders like: something: prints here another one: prints there I'm trying to figure out how to tell it to make these come out bolded like: something: prints here another one: prints there Any suggestion for how to accomplish this? The only pattern is that there is always a colon+space ': ' on the subheader line and the line is always blank except for the subheader text. Probably the best thing to do is to try and get the software to recognise these as headings. There are a couple of options here. If the "something:"s are all well known, then you can use the "Heading key phrases" policy to define them. On the Conversion options -> Analysis policies -> Headings menu option tab, you can enter phrases to be interpreted as signalling a heading when they appear at the start of a line. so for example a value of "", "something:|another one:" would allow lines begining "something:" and "another one:" to be recognised as level 2 headings. Note the match text is case sensitive, and it's a good idea to include the colon to reduce the chances of false matches elsewhere in the text. Another possibility - if the list of possible sub-headings isn't known - would be to use a Text Command to treat all lines containing a colon as a heading. This is less than ideal if a colon is used in another context, but for some files it may be a suitable approach. In this technique you'd add a line of the form treat_line containing string ":" as_header_2 to your Text Commands file. One final approach would be to treat such lines as "definitions". That is the part on the right of the colon is a definition of the heading to the left of the colon. The results would be broadly similar to using <DL>,<DD> and <DT> tags in HTML. However this would only allow bolding of the definition term, and isn't something supported by AscToPDF (or indeed that well by AscToRTF).
< Message edited by Jaf -- 5/27/2006 12:36:19 PM >
|