Copy link to clipboard
Copied
I'm using FrameMaker Version 9.0p255 I've imported some computer code output from an ASCII file into a document using the import files feature. Each line is assigned a paragraph tag that uses 9 point Courier New font. It appears that on some of the lines the space character is not a fixed font like all of the viewable characters. I've tried other fixed fonts and see the same thing. This is also an issue when I print the document. Does anyone know if this is just an issue with Version 9? Is there a work around for this? Is this a problem with Version 10?
Thanks.
Copy link to clipboard
Copied
Check that Smart Spaces aren't turned on in your document properties (Format > Document > Text Options). This can really mess with multiple spaces.
If you wan to have this feature enabled in your main document, then you could format your source code in a separate FM document with the smart spaces off, and then import this as a text inset into the main document and keep the source formatting.
Copy link to clipboard
Copied
The smart spaces were not enabled. So this is not the problem.
If the following comes through, I think that this illustrates what is going on. There should be 16 characters before the equals sign in each line so that the equals signs should align. Note that the 'd' in the first line does not align with the first 't' in the second line.
Code Version = 6.1.88|
Date & time = 02/08/11 09:48:4|
Copy link to clipboard
Copied
I found the problem. There were several lines that I imported from the ASCII file that were 256 characters long with most of those characters on the end being blank. I expected FrameMaker to wrap these long lines, but it didn't and this is were the problem is. Other long lines were wrapped, but there last character was a visible one. I realized that the key indicator was not seeing the end of paragraph text marker at the end of the line. When I went in and deleted enough blank characters at the end of the line, the paragraph marker finally showed. Hopefully this post will help any one else in the future who encounters this.