Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Change spelling and grammar. #3817

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/usage/wkhtmltopdf.txt
Expand Up @@ -236,9 +236,9 @@ TOC Options:
printing the table of content

Page sizes:
The default page size of the rendered document is A4, but using this
--page-size optionthis can be changed to almost anything else, such as: A3,
Letter and Legal. For a full list of supported pages sizes please see
The default page size of the rendered document is A4, but using the
--page-size option this can be changed to almost anything else, such as: A3,
Letter and Legal. For a full list of supported page sizes please see
<http://qt-project.org/doc/qt-4.8/qprinter.html#PaperSize-enum>.

For a more fine grained control over the page size the --page-height and
Expand All @@ -253,7 +253,7 @@ Reading arguments from stdin:
will act as a separate invocation of wkhtmltopdf, with the arguments specified
on the given line combined with the arguments given to wkhtmltopdf

For example one could do the following:
For example, one could do the following:

echo "http://qt-project.org/doc/qt-4.8/qapplication.html qapplication.pdf" >> cmds
echo "cover google.com http://en.wikipedia.org/wiki/Qt_(software) qt.pdf" >> cmds
Expand Down Expand Up @@ -341,7 +341,7 @@ Footers And Headers:
Outlines:
Wkhtmltopdf with patched qt has support for PDF outlines also known as book
marks, this can be enabled by specifying the --outline switch. The outlines
are generated based on the <h?> tags, for a in-depth description of how this
are generated based on the <h?> tags, for an in-depth description of how this
is done see the Table Of Content section.

The outline tree can sometimes be very deep, if the <h?> tags where spread to
Expand Down
10 changes: 5 additions & 5 deletions src/pdf/pdfdocparts.cc
Expand Up @@ -271,7 +271,7 @@ void PdfCommandLineParser::outputOutlineDoc(Outputter * o) const {
o->text(
"Wkhtmltopdf with patched qt has support for PDF outlines also known as "
"book marks, this can be enabled by specifying the --outline switch. "
"The outlines are generated based on the <h?> tags, for a in-depth "
"The outlines are generated based on the <h?> tags, for an in-depth "
"description of how this is done see the ");
o->sectionLink("Table Of Contents");
o->text(" section. ");
Expand Down Expand Up @@ -318,7 +318,7 @@ void PdfCommandLineParser::outputArgsFromStdin(Outputter * o) const {
o->paragraph("When --read-args-from-stdin each line of input sent to wkhtmltopdf on stdin "
"will act as a separate invocation of wkhtmltopdf, with the arguments specified "
"on the given line combined with the arguments given to wkhtmltopdf");
o->paragraph("For example one could do the following:");
o->paragraph("For example, one could do the following:");
o->verbatim("echo \"http://qt-project.org/doc/qt-4.8/qapplication.html qapplication.pdf\" >> cmds\n"
"echo \"cover google.com http://en.wikipedia.org/wiki/Qt_(software) qt.pdf\" >> cmds\n"
"wkhtmltopdf --read-args-from-stdin --book < cmds\n");
Expand Down Expand Up @@ -350,9 +350,9 @@ void PdfCommandLineParser::outputInstallation(Outputter * o) const {
void PdfCommandLineParser::outputPageSizes(Outputter * o) const {
o->beginSection("Page sizes");
o->beginParagraph();
o->text("The default page size of the rendered document is A4, but using this --page-size option"
"this can be changed to almost anything else, such as: A3, Letter and Legal. "
"For a full list of supported pages sizes please see ");
o->text("The default page size of the rendered document is A4, but using the --page-size option "
"this can be changed to almost anything else, such as: A3, Letter and Legal. "
"For a full list of supported page sizes please see ");
o->link("http://qt-project.org/doc/qt-4.8/qprinter.html#PaperSize-enum");
o->text(".");
o->endParagraph();
Expand Down