On Wed, Jul 02, 2008 at 02:11:18PM +0200, Jonathan Sauer wrote:
Of course (although according to the PDF spec, line ends need not be escaped):
| If a string is too long to be conveniently placed on a single line, it | may be split across multiple lines by using the backslash character at | the end of a line to indicate that the string continues on the | following line. The backslash and the end-of-line marker following it | are not considered part of the string.
Yes, but as the newline is stripped from the string,
That the counterexample for "no needs for escaping".
| If an end-of-line marker appears within a literal string without a | preceding backslash, the result is equivalent to \n (regardless of | whether the end-of-line marker was a carriage return, a line feed, or both).
You are correct; when not escaped, a newline might be changed. Although if the string is a text string (opposed to containing binary data), this should not matter.
It does matter, <CR> and <LF> are different in bookmarks (only <LF> generates a line break in AR7/8).
Yours sincerely Heiko