Re: code example wrapping

Поиск
Список
Период
Сортировка
От Erik Rijkers
Тема Re: code example wrapping
Дата
Msg-id bd0be715c13a013438ffd986b29aa295.squirrel@webmail.xs4all.nl
обсуждение исходный текст
Ответ на Re: code example wrapping  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: code example wrapping  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-docs
On Mon, April 5, 2010 18:18, Tom Lane wrote:
> "Erik Rijkers" <er@xs4all.nl> writes:
>> The manual has quite a few cases in the code-examples where, in the pdf version, there isn't
>> enough width to show the whole line.  Unfortunately, the rest of the line is then simply cut
>> off,
>> making the example 'invalid' (while reading, but also for copy-paste).
>
>> I would like to reformat (only) those cases so that the text is completely readable on the pdf
>> page.

> Exactly what width do you intend to wrap to, and how did you arrive at
> the number?
>

I want to manually reformat, rather than automatically wrap to some fixed width.

The width would be determined by readability of the .pdf versions (-A4, -US).  Maybe I should
check other formats at the same time?

It looks like less than 60 or 80 would already solve most of the problem-cases.  Obviously, the
actual split should be determined by the syntax of the example.


Erik Rijkers




В списке pgsql-docs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: code example wrapping
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Documentation and explanatory diagrams