On Thu, Apr 11, 2013 at 3:46 AM, Jean-Marc Lasgouttes
<lasgout...@lyx.org> wrote:
> 11/04/2013 04:51, Scott Kostyshak:
>
>>  From what I understand, "PostScript" is the correct way to write it.
>>
>> Does anyone have an opinion on this?
>
>
> Why not. If you go this way, "git grep" tells me that there are other places
> needing attention.

Is the attached patch OK? I did not make the change in the translated
manuals. Should I? I don't know how the translation process works for
the manuals.

Scott
From d31db4ee94d433a9a57fe58e79a13a6f4e06ddb3 Mon Sep 17 00:00:00 2001
From: Scott Kostyshak <skost...@lyx.org>
Date: Wed, 10 Apr 2013 22:47:44 -0400
Subject: [PATCH] Spelling: "Postscript" -> "PostScript"

---
 lib/configure.py                      |    6 +++---
 lib/doc/EmbeddedObjects.lyx           |    2 +-
 lib/doc/LaTeXConfig.lyx               |    2 +-
 lib/doc/UserGuide.lyx                 |    6 +++---
 lib/examples/CV-image.eps             |    2 +-
 lib/examples/ItemizeBullets.lyx       |    4 ++--
 lib/examples/ca/ItemizeBullets.lyx    |    2 +-
 lib/examples/es/ItemizeBullets.lyx    |    2 +-
 lib/examples/fr/ListesPuces.lyx       |    2 +-
 lib/examples/instant_preview.lyx      |    4 ++--
 lib/examples/powerdot-example.lyx     |    4 ++--
 lib/examples/seminar.lyx              |    4 ++--
 lib/scripts/lyxpreview2bitmap.py      |    4 ++--
 lyx.1in                               |    2 +-
 src/Length.h                          |    2 +-
 src/LyXAction.cpp                     |    4 ++--
 src/frontends/qt4/GuiDocument.cpp     |    2 +-
 src/frontends/qt4/ui/PrefPrinterUi.ui |    2 +-
 src/graphics/GraphicsParams.cpp       |    4 ++--
 src/graphics/epstools.cpp             |    2 +-
 src/insets/InsetGraphics.cpp          |    4 ++--
 src/tex2lyx/test/foo.eps              |    2 +-
 22 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index 946d8f7..3dbfc38 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -572,12 +572,12 @@ def checkFormatEntries(dtl_tools):
         'nedit', 'gedit', 'notepad', 'geany', 'leafpad', 'mousepad'],
         rc_entry = [r'''\Format bibtex bib    "BibTeX"         "" ""   "%%"    
""      "text/x-bibtex"''' ])
     #
-    #checkProg('a Postscript interpreter', ['gs'],
+    #checkProg('a PostScript interpreter', ['gs'],
     #  rc_entry = [ r'\ps_command "%%"' ])
-    checkViewer('a Postscript previewer', ['kghostview', 'okular', 'evince', 
'gv', 'ghostview -swap'],
+    checkViewer('a PostScript previewer', ['kghostview', 'okular', 'evince', 
'gv', 'ghostview -swap'],
         rc_entry = [r'''\Format eps        eps     EPS                    "" 
"%%"      ""      "vector"        "image/x-eps"
 \Format eps2       eps    "EPS (uncropped)"       "" "%%"      ""      
"vector"        ""
-\Format ps         ps      Postscript             t  "%%"      ""      
"document,vector,menu=export"   "application/postscript"'''])
+\Format ps         ps      PostScript             t  "%%"      ""      
"document,vector,menu=export"   "application/postscript"'''])
     # for xdg-open issues look here: 
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151818.html
     # the MIME type is set for pdf6, because that one needs to be 
autodetectable by libmime
     checkViewer('a PDF previewer', ['pdfview', 'kpdf', 'okular', 'evince', 
'kghostview', 'xpdf', 'acrobat', 'acroread', 'mupdf', \
diff --git a/lib/doc/EmbeddedObjects.lyx b/lib/doc/EmbeddedObjects.lyx
index 4dc2aa5..60ff0d3 100644
--- a/lib/doc/EmbeddedObjects.lyx
+++ b/lib/doc/EmbeddedObjects.lyx
@@ -41056,7 +41056,7 @@ You can export your document to PostScript using the 
menu
 \family sans
 File\SpecialChar \menuseparator
 Export\SpecialChar \menuseparator
-Postscript
+PostScript
 \family default
 .
  You can view your document as PostScript via the 
diff --git a/lib/doc/LaTeXConfig.lyx b/lib/doc/LaTeXConfig.lyx
index 53a123b..5a69841 100644
--- a/lib/doc/LaTeXConfig.lyx
+++ b/lib/doc/LaTeXConfig.lyx
@@ -6373,7 +6373,7 @@ Notes:
 dvipost
 \family default
  is a post-processor for DVI files created by LaTeX and TeX.
- It is needed by LyX to generate DVI or Postscript output of change tracking
+ It is needed by LyX to generate DVI or PostScript output of change tracking
  marks.
  To work properly, 
 \family sans
diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index 5caf0b1..75f7544 100644
--- a/lib/doc/UserGuide.lyx
+++ b/lib/doc/UserGuide.lyx
@@ -38667,7 +38667,7 @@ text
 
 (ps2ascii)
 \family default
- text format, the document will first be converted to Postscript format
+ text format, the document will first be converted to PostScript format
  and then exported as text using the program 
 \family sans
 ps2ascii
@@ -38676,7 +38676,7 @@ ps2ascii
 \begin_layout Description
 
 \family sans
-Postscript
+PostScript
 \family default
  PostScript format using the program 
 \family typewriter
@@ -38720,7 +38720,7 @@ PDF
 \family default
  or 
 \family sans
-Postscript
+PostScript
 \family default
  is missing, you need to update your LaTeX installation.
  After updating you have to reconfigure LyX, see section
diff --git a/lib/examples/CV-image.eps b/lib/examples/CV-image.eps
index 540bcf1..1fb7785 100644
--- a/lib/examples/CV-image.eps
+++ b/lib/examples/CV-image.eps
@@ -15,7 +15,7 @@
 %%BeginProlog
 %
 % Display a color image.  The image is displayed in color on
-% Postscript viewers or printers that support color, otherwise
+% PostScript viewers or printers that support color, otherwise
 % it is displayed as grayscale.
 %
 /DirectClassPacket
diff --git a/lib/examples/ItemizeBullets.lyx b/lib/examples/ItemizeBullets.lyx
index 1cb68d6..53b1100 100644
--- a/lib/examples/ItemizeBullets.lyx
+++ b/lib/examples/ItemizeBullets.lyx
@@ -1148,8 +1148,8 @@ textbf{\SpecialChar \ldots{}
 \family default
 , although the real changes are inside the guts).
  PS stands for PostScript.
- PSNFSS is a set of LaTeX files which provide NFSS support for the basic
- set of 35 PS fonts present in many postscript printers.
+ PSNFSS is a set of LaTeX files that provide NFSS support for the basic
+ set of 35 PS fonts present in many PostScript printers.
  
 \end_layout
 
diff --git a/lib/examples/ca/ItemizeBullets.lyx 
b/lib/examples/ca/ItemizeBullets.lyx
index c6e3b2b..252b643 100644
--- a/lib/examples/ca/ItemizeBullets.lyx
+++ b/lib/examples/ca/ItemizeBullets.lyx
@@ -1165,7 +1165,7 @@ textbf{\SpecialChar \ldots{}
  PS es refereix a PostScript®.
  PSNFSS és un conjunt de fitxers LaTeX que proporcionen funcionalitats NFSS
  al conjunts bàsic de 35 pòlisses PS presents en la majoria d'impressores
- postscript.
+ PostScript.
  
 \end_layout
 
diff --git a/lib/examples/es/ItemizeBullets.lyx 
b/lib/examples/es/ItemizeBullets.lyx
index 2ace973..bab539e 100644
--- a/lib/examples/es/ItemizeBullets.lyx
+++ b/lib/examples/es/ItemizeBullets.lyx
@@ -1164,7 +1164,7 @@ textbf{\SpecialChar \ldots{}
 , aunque los verdaderos cambios son internos).
  PS se refiere a PostScript®.
  PSNFSS es un conjunto de archivos LaTeX que proveen soporte NFSS para el
- conjunto básico de 35 fuentes PS presentes en muchos drivers postscript.
+ conjunto básico de 35 fuentes PS presentes en muchos drivers PostScript.
  
 \end_layout
 
diff --git a/lib/examples/fr/ListesPuces.lyx b/lib/examples/fr/ListesPuces.lyx
index 6797f1c..a7f3ff6 100644
--- a/lib/examples/fr/ListesPuces.lyx
+++ b/lib/examples/fr/ListesPuces.lyx
@@ -1211,7 +1211,7 @@ textbf{...}
  PS signifie PostScript®.
  PSNFSS est un ensemble de fichiers LaTeX qui fournissent le support de
  NFSS pour les 35 polices PS de base présentes dans beaucoup d'imprimantes
- postscript.
+ PostScript.
 \end_layout
 
 \end_inset
diff --git a/lib/examples/instant_preview.lyx b/lib/examples/instant_preview.lyx
index c3aa9c7..47c2afd 100644
--- a/lib/examples/instant_preview.lyx
+++ b/lib/examples/instant_preview.lyx
@@ -85,14 +85,14 @@ xy, qtree, tipa, pstricks, pst-plot, rotating, tikz, pgf
 \end_layout
 
 \begin_layout Standard
-Due to the use of postscript specials in Section 
+Due to the use of PostScript specials in Section 
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "sec:PSTricks"
 
 \end_inset
 
-, only the Postscript or PDF (ps2pdf) output formats will correctly render
+, only the PostScript or PDF (ps2pdf) output formats will correctly render
  the included images.
  However, the PDF (XeTeX) output seems to also work, while trying to typeset
  the document with 
diff --git a/lib/examples/powerdot-example.lyx 
b/lib/examples/powerdot-example.lyx
index 6461413..6adbf92 100644
--- a/lib/examples/powerdot-example.lyx
+++ b/lib/examples/powerdot-example.lyx
@@ -100,7 +100,7 @@ Powerdot
 \begin_inset Quotes eld
 \end_inset
 
-postscript code
+PostScript code
 \begin_inset Quotes erd
 \end_inset
 
@@ -147,7 +147,7 @@ View other formats
  button, you can use other output formats.
  However, the only sensible alternative is 
 \emph on
-Postscript
+PostScript
 \emph default
  itself.
  
diff --git a/lib/examples/seminar.lyx b/lib/examples/seminar.lyx
index 05557ea..9848c79 100644
--- a/lib/examples/seminar.lyx
+++ b/lib/examples/seminar.lyx
@@ -371,7 +371,7 @@ Size and orientation of the slides show problems depending 
on the output
 \family sans
 seminar
 \family default
- uses Postscript specials and does not work with 
+ uses PostScript specials and does not work with 
 \family sans
 PDF (pdflatex)
 \family default
@@ -400,7 +400,7 @@ PDF (dvips)
 \begin_layout Itemize
 
 \family sans
-Postscript
+PostScript
 \family default
  and 
 \family sans
diff --git a/lib/scripts/lyxpreview2bitmap.py b/lib/scripts/lyxpreview2bitmap.py
index 71849ce..bc09b43 100755
--- a/lib/scripts/lyxpreview2bitmap.py
+++ b/lib/scripts/lyxpreview2bitmap.py
@@ -235,7 +235,7 @@ def find_ps_pages(dvi_file):
     # Create the -pp parameter for dvipng
     pages_parameter = ""
     if len(ps_pages) > 0 and len(ps_pages) < page_index:
-        # Don't process Postscript pages with dvipng by selecting the
+        # Don't process PostScript pages with dvipng by selecting the
         # wanted pages through the -pp parameter. E.g., dvipng -pp 4-12,14,64
         pages_parameter = " -pp "
         skip = True
@@ -464,7 +464,7 @@ def main(argv):
         filter_pages(latex_file, legacy_latex_file, ps_pages)
 
         # Pass the new LaTeX file to the legacy method
-        progress("Pages %s include postscript specials" % ps_pages)
+        progress("Pages %s include PostScript specials" % ps_pages)
         progress("Using the legacy conversion method (PostScript support)")
         legacy_status, legacy_metrics = 
legacy_conversion_step1(legacy_latex_file,
             dpi, output_format, fg_color, bg_color, latex, pdf_output, True)
diff --git a/lyx.1in b/lyx.1in
index d2ee3e2..912d684 100644
--- a/lyx.1in
+++ b/lyx.1in
@@ -172,7 +172,7 @@ is the system directory. This was at build time 
@real_pkgdatadir@.
 .SH SEE ALSO
 tex2lyx@version_suffix@(1), latex(1).
 
-Full documentation in either native \fBLyX\fR or postscript format.
+Full documentation in either native \fBLyX\fR or PostScript format.
 .SH BUGS/LIMITATIONS
 There are still some bugs in \fBLyX\fR. To report one, read if
 possible the Introduction found under the Help menu in LyX. You'll
diff --git a/src/Length.h b/src/Length.h
index 470c7e1..c8ef317 100644
--- a/src/Length.h
+++ b/src/Length.h
@@ -91,7 +91,7 @@ public:
        std::string const asHTMLString() const;
        /// return the on-screen size of this length
        int inPixels(int text_width, int em_width = 0) const;
-       /// return the value in Big Postscript points.
+       /// return the value in Big PostScript points.
        int inBP() const;
 
        /// return the default unit (centimeter or inch)
diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index 01c5556..f0465e8 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -3047,7 +3047,7 @@ void LyXAction::init()
  * \li Params: <FORMAT> is either "custom" or one of the formats which you
                         can find in Tools->Preferences->File formats->Format.
                         Usual format you will enter is "pdf2" (pdflatex),
-                        "pdflatex" (plain tex for pdflatex) or "ps" for 
postscript.\n
+                        "pdflatex" (plain tex for pdflatex) or "ps" for 
PostScript.\n
                         In case of "custom" you will be asked for a format you
                         want to start from and for the command that you want to
                         apply to this format. Internally the control is then 
passed
@@ -3172,7 +3172,7 @@ void LyXAction::init()
                temporary directory.
  * \li Notion: In case you are already viewing the exported document (see 
#LFUN_BUFFER_VIEW)
                the output will be rewritten - updated. This is useful in case 
your viewer
-               is able to detect such changes (e.g. ghostview for postscript).
+               is able to detect such changes (e.g. ghostview for PostScript).
  * \li Syntax: buffer-update [<FORMAT>]
  * \li Params: <FORMAT>: The format to display, where this is one of the
                          formats defined (in the current GUI) in the
diff --git a/src/frontends/qt4/GuiDocument.cpp 
b/src/frontends/qt4/GuiDocument.cpp
index 57aef0f..13f9e81 100644
--- a/src/frontends/qt4/GuiDocument.cpp
+++ b/src/frontends/qt4/GuiDocument.cpp
@@ -1242,7 +1242,7 @@ GuiDocument::GuiDocument(GuiView & lv)
        latexModule->childDocLE->setValidator(new NoNewLineValidator(
                latexModule->childDocLE));
 
-       // postscript drivers
+       // PostScript drivers
        for (int n = 0; tex_graphics[n][0]; ++n) {
                QString enc = qt_(tex_graphics_gui[n]);
                latexModule->psdriverCO->addItem(enc);
diff --git a/src/frontends/qt4/ui/PrefPrinterUi.ui 
b/src/frontends/qt4/ui/PrefPrinterUi.ui
index dad59d5..bfcdaa1 100644
--- a/src/frontends/qt4/ui/PrefPrinterUi.ui
+++ b/src/frontends/qt4/ui/PrefPrinterUi.ui
@@ -127,7 +127,7 @@
       <item row="8" column="0" >
        <widget class="QLabel" name="printerSpoolCommandLA" >
         <property name="toolTip" >
-         <string>Command transmitted to the system to actually print the 
postscript file.</string>
+         <string>Command transmitted to the system to actually print the 
PostScript file.</string>
         </property>
         <property name="whatsThis" >
          <string/>
diff --git a/src/graphics/GraphicsParams.cpp b/src/graphics/GraphicsParams.cpp
index a53d2c5..74571b4 100644
--- a/src/graphics/GraphicsParams.cpp
+++ b/src/graphics/GraphicsParams.cpp
@@ -67,8 +67,8 @@ BoundingBox::BoundingBox(string const & bb)
        string a, b, c, d;
        is >> a >> b >> c >> d;
 
-       // inBP returns the length in Postscript points.
-       // Note further that there are 72 Postscript pixels per inch.
+       // inBP returns the length in PostScript points.
+       // Note further that there are 72 PostScript pixels per inch.
        unsigned int const xl_tmp = abs(Length(a).inBP());
        unsigned int const yb_tmp = abs(Length(b).inBP());
        unsigned int const xr_tmp = abs(Length(c).inBP());
diff --git a/src/graphics/epstools.cpp b/src/graphics/epstools.cpp
index 17aedfc..6a17f51 100644
--- a/src/graphics/epstools.cpp
+++ b/src/graphics/epstools.cpp
@@ -16,7 +16,7 @@
  *
  * Full author contact details are available in file CREDITS.
  *
- * Utilities for manipulation of Encapsulated Postscript files
+ * Utilities for manipulation of Encapsulated PostScript files
  */
 
 #include <config.h>
diff --git a/src/insets/InsetGraphics.cpp b/src/insets/InsetGraphics.cpp
index 70b43c4..a16345d 100644
--- a/src/insets/InsetGraphics.cpp
+++ b/src/insets/InsetGraphics.cpp
@@ -31,7 +31,7 @@ TODO
  *
  *
  * Conversions:
- *   Postscript output means EPS figures.
+ *   PostScript output means EPS figures.
  *
  *   PDF output is best done with PDF figures if it's a direct conversion
  *   or PNG figures otherwise.
@@ -123,7 +123,7 @@ string findTargetFormat(string const & format, OutputParams 
const & runparams)
                        return format;
                return "png";
        }
-       // If it's postscript, we always do eps.
+       // If it's PostScript, we always do eps.
        LYXERR(Debug::GRAPHICS, "findTargetFormat: PostScript mode");
        if (format != "ps")
                // any other than ps is changed to eps
diff --git a/src/tex2lyx/test/foo.eps b/src/tex2lyx/test/foo.eps
index 540bcf1..1fb7785 100644
--- a/src/tex2lyx/test/foo.eps
+++ b/src/tex2lyx/test/foo.eps
@@ -15,7 +15,7 @@
 %%BeginProlog
 %
 % Display a color image.  The image is displayed in color on
-% Postscript viewers or printers that support color, otherwise
+% PostScript viewers or printers that support color, otherwise
 % it is displayed as grayscale.
 %
 /DirectClassPacket
-- 
1.7.9.5

Reply via email to