public inbox for [email protected]  
help / color / mirror / Atom feed
Odd formatting in on-line docs
5+ messages / 4 participants
[nested] [flat]

* Odd formatting in on-line docs
@ 2004-04-17 16:55  Tom Lane <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Tom Lane @ 2004-04-17 16:55 UTC (permalink / raw)
  To: pgsql-www; [email protected]

The online copies of the documentation misformat <programlisting>
constructs, indenting lines after the first.  For example at

http://www.postgresql.org/docs/7.4/static/sql-syntax.html#SQL-SYNTAX-LEXICAL

the three example SQL statements should all be indented the same.  Older
versions look the same, as do the "interactive" versions.  But the
developer version of the docs is fine:

http://developer.postgresql.org/docs/postgres/sql-syntax.html#SQL-SYNTAX-LEXICAL

I think this must be some weird interaction between the docs themselves
and the HTML wrapper that's put around them to make the online pages.
Can anyone diagnose this and fix it?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Odd formatting in on-line docs
@ 2004-04-19 08:14  Dave Page <[email protected]>
  0 siblings, 0 replies; 5+ messages in thread

From: Dave Page @ 2004-04-19 08:14 UTC (permalink / raw)
  To: Tom Lane <[email protected]>; pgsql-www; [email protected]

 

> -----Original Message-----
> From: Tom Lane [mailto:[email protected]] 
> Sent: 17 April 2004 17:56
> To: [email protected]; [email protected]
> Subject: [pgsql-www] Odd formatting in on-line docs
> 
> I think this must be some weird interaction between the docs 
> themselves and the HTML wrapper that's put around them to 
> make the online pages.
> Can anyone diagnose this and fix it?

Yup, think I got it. The kludge of a program that loads the docs into
the database was adding a space at the beginning of the second and
subsequent lines inside <pre> tags. It's fixed for the 7.4 docs - at
some point I will reload the rest of them but I'm a little pushed for
time right now.

Regards, Dave




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Odd formatting in on-line docs
@ 2004-04-20 01:03  Bruce Momjian <[email protected]>
  parent: Tom Lane <[email protected]>
  0 siblings, 0 replies; 5+ messages in thread

From: Bruce Momjian @ 2004-04-20 01:03 UTC (permalink / raw)
  To: Tom Lane <[email protected]>; +Cc: pgsql-www; [email protected]

Tom Lane wrote:
> The online copies of the documentation misformat <programlisting>
> constructs, indenting lines after the first.  For example at
> 
> http://www.postgresql.org/docs/7.4/static/sql-syntax.html#SQL-SYNTAX-LEXICAL
> 
> the three example SQL statements should all be indented the same.  Older
> versions look the same, as do the "interactive" versions.  But the
> developer version of the docs is fine:
> 
> http://developer.postgresql.org/docs/postgres/sql-syntax.html#SQL-SYNTAX-LEXICAL
> 
> I think this must be some weird interaction between the docs themselves
> and the HTML wrapper that's put around them to make the online pages.
> Can anyone diagnose this and fix it?

Someone must have fixed it:

SELECT * FROM MY_TABLE;
UPDATE MY_TABLE SET A = 5;
INSERT INTO MY_TABLE VALUES (3, 'hi there');

It isn't indented like the developer docs, but it isn't misaligned.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [email protected]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Odd formatting in on-line docs
@ 2004-04-20 07:06  Dave Page <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Dave Page @ 2004-04-20 07:06 UTC (permalink / raw)
  To: Bruce Momjian <[email protected]>; Tom Lane <[email protected]>; [email protected]; +Cc: pgsql-www; [email protected]

 

> -----Original Message-----
> From: Bruce Momjian [mailto:[email protected]] 
> Sent: 20 April 2004 02:04
> To: Tom Lane
> Cc: [email protected]; [email protected]
> Subject: Re: [pgsql-www] Odd formatting in on-line docs
> 
> Someone must have fixed it:
> 
> SELECT * FROM MY_TABLE;
> UPDATE MY_TABLE SET A = 5;
> INSERT INTO MY_TABLE VALUES (3, 'hi there');
> 
> It isn't indented like the developer docs, but it isn't misaligned.

I did, and I responded to the lists. I'm seeing some duplicate messages
and long posting delays at the moment - is there a problem Marc?

Regards, Dave.



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Odd formatting in on-line docs
@ 2004-04-20 13:03  Marc G. Fournier <[email protected]>
  parent: Dave Page <[email protected]>
  0 siblings, 0 replies; 5+ messages in thread

From: Marc G. Fournier @ 2004-04-20 13:03 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: Bruce Momjian <[email protected]>; Tom Lane <[email protected]>; pgsql-www; [email protected]

On Tue, 20 Apr 2004, Dave Page wrote:

>
>
> > -----Original Message-----
> > From: Bruce Momjian [mailto:[email protected]]
> > Sent: 20 April 2004 02:04
> > To: Tom Lane
> > Cc: [email protected]; [email protected]
> > Subject: Re: [pgsql-www] Odd formatting in on-line docs
> >
> > Someone must have fixed it:
> >
> > SELECT * FROM MY_TABLE;
> > UPDATE MY_TABLE SET A = 5;
> > INSERT INTO MY_TABLE VALUES (3, 'hi there');
> >
> > It isn't indented like the developer docs, but it isn't misaligned.
>
> I did, and I responded to the lists. I'm seeing some duplicate messages
> and long posting delays at the moment - is there a problem Marc?

any delays are most likely in that it, for some reason, is having to be
approved by myself ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: [email protected]           Yahoo!: yscrappy              ICQ: 7615664




^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2004-04-20 13:03 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-17 16:55 Odd formatting in on-line docs Tom Lane <[email protected]>
2004-04-20 01:03 ` Bruce Momjian <[email protected]>
2004-04-19 08:14 Re: Odd formatting in on-line docs Dave Page <[email protected]>
2004-04-20 07:06 Re: Odd formatting in on-line docs Dave Page <[email protected]>
2004-04-20 13:03 ` Marc G. Fournier <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox