From a99f5c6a052c724e50d262b9e71490835fcc7e16 Mon Sep 17 00:00:00 2001 From: msweet Date: Fri, 28 Mar 2014 16:01:14 +0000 Subject: [PATCH] Add a "how do I get help?" section, and make these headings subsections under the DESCRIPTION section. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11774 a1ca3aef-8c08-0410-bb20-df032aa958be --- doc/help/man-cups.html | 10 ++++++++-- man/cups.man | 10 ++++++++-- man/mantohtml.c | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/doc/help/man-cups.html b/doc/help/man-cups.html index 2a692f180..f0f520d74 100644 --- a/doc/help/man-cups.html +++ b/doc/help/man-cups.html @@ -17,7 +17,7 @@ is the software you use to print from applications like word processors, email r does its best to hide this from you and your application so that you can concentrate on printing and less on how to print. Generally, the only time you need to know anything about your printer is when you use it for the first time, and even then CUPS can often figure things out on its own. -

How Does It Work?

+

How Does It Work?

The first time you print to a printer, CUPS creates a queue to keep track of the current status of the printer (everything OK, out of paper, etc.) and any pages you have printed. Most of the time the queue points to a printer connected directly to your computer via a USB port, however it can also point to a printer on your network, a printer on the Internet, or multiple printers depending on the configuration. Regardless of where the queue points, it will look like any other printer to you and your applications. @@ -29,7 +29,7 @@ gets a job for printing, it determines the best programs (filters, printer drive

When the print job is completely printed, CUPS removes the job from the queue and moves on to any other jobs you have submitted. You can also be notified when the job is finished, or if there are any errors during printing, in several different ways. -

Where Do I Begin?

+

Where Do I Begin?

The easiest way to start is by using the CUPS web interface to configure your printer. Go to "http://localhost:631" and choose the Administration tab at the top of the page. Click/press on the Add Printer button and follow the prompts. @@ -45,6 +45,12 @@ and commands to add printers to CUPS. Additionally, your operating system may include graphical user interfaces or automatically create printer queues when you connect a printer to your computer. +

How Do I Get Help?

+The +CUPS +web site (http://www.CUPS.org) provides access to the +CUPS +user mailing list, additional documentation and resources, and a bug report database. Most vendors also provide online discussion forums to ask printing questions for your operating system of choice.

Environment

CUPS commands use the following environment variables to override the default locations of files and so forth. For security reasons, these environment variables are ignored for setuid programs: diff --git a/man/cups.man b/man/cups.man index 8eeaa8973..5c23eb00f 100644 --- a/man/cups.man +++ b/man/cups.man @@ -24,7 +24,7 @@ Now, since every printer manufacturer does things differently, printing can be v does its best to hide this from you and your application so that you can concentrate on printing and less on how to print. Generally, the only time you need to know anything about your printer is when you use it for the first time, and even then .B CUPS can often figure things out on its own. -.SH HOW DOES IT WORK? +.SS HOW DOES IT WORK? The first time you print to a printer, .B CUPS creates a queue to keep track of the current status of the printer (everything OK, out of paper, etc.) and any pages you have printed. Most of the time the queue points to a printer connected directly to your computer via a USB port, however it can also point to a printer on your network, a printer on the Internet, or multiple printers depending on the configuration. Regardless of where the queue points, it will look like any other printer to you and your applications. @@ -38,7 +38,7 @@ gets a job for printing, it determines the best programs (filters, printer drive When the print job is completely printed, .B CUPS removes the job from the queue and moves on to any other jobs you have submitted. You can also be notified when the job is finished, or if there are any errors during printing, in several different ways. -.SH WHERE DO I BEGIN? +.SS WHERE DO I BEGIN? The easiest way to start is by using the .B CUPS web interface to configure your printer. Go to "http://localhost:631" and choose the Administration tab at the top of the page. Click/press on the Add Printer button and follow the prompts. @@ -58,6 +58,12 @@ and commands to add printers to .BR CUPS . Additionally, your operating system may include graphical user interfaces or automatically create printer queues when you connect a printer to your computer. +.SS HOW DO I GET HELP? +The +.B CUPS +web site (http://www.CUPS.org) provides access to the +.B CUPS +user mailing list, additional documentation and resources, and a bug report database. Most vendors also provide online discussion forums to ask printing questions for your operating system of choice. .SH ENVIRONMENT .B CUPS commands use the following environment variables to override the default locations of files and so forth. For security reasons, these environment variables are ignored for setuid programs: diff --git a/man/mantohtml.c b/man/mantohtml.c index 61cc65474..9a49a9bdb 100644 --- a/man/mantohtml.c +++ b/man/mantohtml.c @@ -918,7 +918,7 @@ html_fputs(const char *s, /* I - String */ while (*end && !isspace(*end & 255)) end ++; - if (end[-1] == ',' || end[-1] == '.') + if (end[-1] == ',' || end[-1] == '.' || end[-1] == ')') end --; strlcpy(temp, s, sizeof(temp)); -- 2.39.2