public inbox for [email protected]  
help / color / mirror / Atom feed
readability tutorial example in pdf
2+ messages / 2 participants
[nested] [flat]

* readability tutorial example in pdf
@ 2013-05-04 21:00 Erik Rijkers <[email protected]>
  2013-12-04 15:03 ` Re: readability tutorial example in pdf Bruce Momjian <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Erik Rijkers @ 2013-05-04 21:00 UTC (permalink / raw)
  To: pgsql-docs

The attached patch breaks code-example into two lines.

In the pdf (A4) version this line is truncated by several words, making a tutorial example
incomprehensible.

(The line-break also shows up in the html vrsion but does not look particularly ugly there)


Thanks,

Erik Rijkers

-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Attachments:

  [application/octet-stream] advanced.sgml.diff (485B, 2-advanced.sgml.diff)
  download | inline diff:
--- doc/src/sgml/advanced.sgml.orig	2013-05-04 22:13:15.965966753 +0200
+++ doc/src/sgml/advanced.sgml	2013-05-04 22:39:51.718539936 +0200
@@ -389,7 +389,8 @@
     order in which the rows are output.)  Here is an example:
 
 <programlisting>
-SELECT depname, empno, salary, rank() OVER (PARTITION BY depname ORDER BY salary DESC) FROM empsalary;
+SELECT depname, empno, salary,
+   rank() OVER (PARTITION BY depname ORDER BY salary DESC) FROM empsalary;
 </programlisting>
 
 <screen>


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

* Re: readability tutorial example in pdf
  2013-05-04 21:00 readability tutorial example in pdf Erik Rijkers <[email protected]>
@ 2013-12-04 15:03 ` Bruce Momjian <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2013-12-04 15:03 UTC (permalink / raw)
  To: Erik Rijkers <[email protected]>; +Cc: pgsql-docs

On Sat, May  4, 2013 at 11:00:26PM +0200, Erik Rijkers wrote:
> The attached patch breaks code-example into two lines.
> 
> In the pdf (A4) version this line is truncated by several words, making a tutorial example
> incomprehensible.
> 
> (The line-break also shows up in the html vrsion but does not look particularly ugly there)

Agreed.  I ended up splitting it into three lines;  applied patch
attached.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Attachments:

  [text/x-diff] doc.diff (731B, 2-doc.diff)
  download | inline diff:
diff --git a/doc/src/sgml/advanced.sgml b/doc/src/sgml/advanced.sgml
new file mode 100644
index 3c067d5..1e45511
*** a/doc/src/sgml/advanced.sgml
--- b/doc/src/sgml/advanced.sgml
*************** SELECT depname, empno, salary, avg(salar
*** 389,395 ****
      order in which the rows are output.)  Here is an example:
  
  <programlisting>
! SELECT depname, empno, salary, rank() OVER (PARTITION BY depname ORDER BY salary DESC) FROM empsalary;
  </programlisting>
  
  <screen>
--- 389,397 ----
      order in which the rows are output.)  Here is an example:
  
  <programlisting>
! SELECT depname, empno, salary,
!        rank() OVER (PARTITION BY depname ORDER BY salary DESC)
! FROM empsalary;
  </programlisting>
  
  <screen>


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


end of thread, other threads:[~2013-12-04 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-05-04 21:00 readability tutorial example in pdf Erik Rijkers <[email protected]>
2013-12-04 15:03 ` Bruce Momjian <[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