From b70099515710a01c3929503777606f277f5a694b Mon Sep 17 00:00:00 2001 From: mbertucci47 <61854785+mbertucci47@users.noreply.github.com> Date: Tue, 4 Jun 2024 16:27:08 -0600 Subject: [PATCH] fix small typos --- .../pgf/pgfmanual-en-dv-visualizers.tex | 2 +- .../pgf/pgfmanual-en-gd-algorithms-in-c.tex | 2 +- .../pgf/pgfmanual-en-pgfsys-commands.tex | 4 ++-- .../pgf/gd/examples/c/SimpleDemoC.c | 2 +- .../pgf/gd/interface/c/InterfaceFromC.c | 2 +- .../pgf/gd/interface/c/InterfaceFromC.h | 18 +++++++++--------- .../external/tikzexternaltest.code.tex | 2 +- .../tikz/libraries/tikzexternalshared.code.tex | 2 +- .../libraries/tikzlibraryanimations.code.tex | 2 +- .../tikzlibraryintersections.code.tex | 2 +- .../lua/pgf/gd/force/ControlCoarsening.lua | 2 +- .../graphdrawing/lua/pgf/gd/force/library.lua | 2 +- .../lua/pgf/gd/model/Path_arced.lua | 2 +- .../pgf/gd/trees/SpanningTreeComputation.lua | 2 +- .../tex/pgflibrarygraphdrawing.code.tex | 4 ++-- .../pgfmoduledatavisualization.code.tex | 2 +- tex/generic/pgf/systemlayer/pgfsys-tex4ht.def | 8 ++++---- tex/generic/pgf/systemlayer/pgfsys.code.tex | 8 ++++---- .../pgf/systemlayer/pgfsysanimations.code.tex | 2 +- .../utilities/pgfkeyslibraryfiltered.code.tex | 4 ++-- tex/generic/pgf/utilities/pgfutil-common.tex | 2 +- 21 files changed, 38 insertions(+), 38 deletions(-) diff --git a/doc/generic/pgf/pgfmanual-en-dv-visualizers.tex b/doc/generic/pgf/pgfmanual-en-dv-visualizers.tex index f1e5c06ed..2fcd5a811 100644 --- a/doc/generic/pgf/pgfmanual-en-dv-visualizers.tex +++ b/doc/generic/pgf/pgfmanual-en-dv-visualizers.tex @@ -740,7 +740,7 @@ \subsection{Advanced: Creating New Visualizers} Now, let's see how this works: % TODOsp: codeexamples: This stuff is all needed for the next `codeexample` -% but cannot be stored (simply) in `setup code`, `preample` or `pre` +% but cannot be stored (simply) in `setup code`, `preamble` or `pre` \pgfooclass{circle visualizer} { % Stores the name of the visualizer. This is needed for filtering % and configuration diff --git a/doc/generic/pgf/pgfmanual-en-gd-algorithms-in-c.tex b/doc/generic/pgf/pgfmanual-en-gd-algorithms-in-c.tex index 305752fc4..bfc2dc5cb 100644 --- a/doc/generic/pgf/pgfmanual-en-gd-algorithms-in-c.tex +++ b/doc/generic/pgf/pgfmanual-en-gd-algorithms-in-c.tex @@ -755,7 +755,7 @@ \subsubsection{The Hello World of Graph Drawing in OGDF -- Adapting Existing Cla // File HelloWorldLayout.h #include -class HelloWorldLayout : puplic ogdf::LayoutModule { +class HelloWorldLayout : public ogdf::LayoutModule { public: virtual void call(ogdf::GraphAttributes &GA) diff --git a/doc/generic/pgf/pgfmanual-en-pgfsys-commands.tex b/doc/generic/pgf/pgfmanual-en-pgfsys-commands.tex index dd80accf0..06e412f02 100644 --- a/doc/generic/pgf/pgfmanual-en-pgfsys-commands.tex +++ b/doc/generic/pgf/pgfmanual-en-pgfsys-commands.tex @@ -460,7 +460,7 @@ \subsection{Graphic State Option System Commands} \end{command} \begin{command}{\pgfsys@setdash\marg{pattern}\marg{phase}} - Sets the dashing patter. \meta{pattern} should be a list of \TeX\ + Sets the dashing pattern. \meta{pattern} should be a list of \TeX\ dimensions separated by commas. \meta{phase} should be a single dimension. \example |\pgfsys@setdash{3pt,3pt}{0pt}| @@ -645,7 +645,7 @@ \subsection{Pattern System Commands} This command declares a new colored or uncolored pattern, depending on whether \meta{flag} is |0|, which means uncolored, or |1|, which means colored. Uncolored patterns have no inherent color, the color is provided - when they are set. Colored patters have an inherent color. + when they are set. Colored patterns have an inherent color. The \meta{name} is a name for later use when the pattern is to be shown. The pairs $(x_1,y_1)$ and $(x_2,y_2)$ must describe a bounding box of the diff --git a/source/generic/pgf/c/graphdrawing/pgf/gd/examples/c/SimpleDemoC.c b/source/generic/pgf/c/graphdrawing/pgf/gd/examples/c/SimpleDemoC.c index 18e5889ad..5a0468b76 100644 --- a/source/generic/pgf/c/graphdrawing/pgf/gd/examples/c/SimpleDemoC.c +++ b/source/generic/pgf/c/graphdrawing/pgf/gd/examples/c/SimpleDemoC.c @@ -25,7 +25,7 @@ int luaopen_pgf_gd_examples_c_SimpleDemoC (struct lua_State *state) { the nodes of a graph in a circle (without paying heed to the sizes of the \ nodes or to the edges). Its main purpose is to show how C code \ can access the Lua representation of graphs. See \ - Section~\ref{section-algorithms-in-c} of the manual for detais."); + Section~\ref{section-algorithms-in-c} of the manual for details."); pgfgd_key_add_precondition (d, "connected"); pgfgd_declare (state, d); pgfgd_free_key (d); diff --git a/source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/InterfaceFromC.c b/source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/InterfaceFromC.c index 40c9dca84..6f501f54e 100644 --- a/source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/InterfaceFromC.c +++ b/source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/InterfaceFromC.c @@ -849,7 +849,7 @@ pgfgd_Edge_array* pgfgd_digraph_syntactic_edges (pgfgd_Digraph* g, int tail, in { pgfgd_Edge_array* edges = (pgfgd_Edge_array*) calloc(1, sizeof(pgfgd_Edge_array)); - // First, get the arc in the syntatic digraph. + // First, get the arc in the syntactic digraph. lua_State* L = g->state; int tos = lua_gettop(L); diff --git a/source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/InterfaceFromC.h b/source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/InterfaceFromC.h index 40495dbdc..e529f33c5 100644 --- a/source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/InterfaceFromC.h +++ b/source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/InterfaceFromC.h @@ -164,13 +164,13 @@ typedef struct pgfgd_Vertex { /** The pos field of the Lua Vertex class. Unlike the other fields of this struct, you can write pos.x and pos.y. When the graph - drawing function returns, the values stored in theses fields + drawing function returns, the values stored in these fields will be written back to the Lua layer. */ pgfgd_Coordinate pos; /** The options fields of the Lua Vertex class. Note that you do - not have direct access to theses options. Rather, all access to + not have direct access to these options. Rather, all access to them must go through functions like pgfgd_isset that take a pgfgd_OptionsTable* as input. Also note that you cannot store a pointer to an options table: At the end of the graph drawing @@ -297,7 +297,7 @@ typedef struct pgfgd_SyntacticDigraph { pgfgd_Vertex_array vertices; /** All syntactic edges of the graph. You cannot modify this array, - but you can use the pgfgd_path_xxx funtion to change the routing + but you can use the pgfgd_path_xxx function to change the routing of the edges stored here. Note that, since you get access to syntactic edges, the direction of these edges may not be what you expect and there may be several syntactic edges between the @@ -382,7 +382,7 @@ typedef struct pgfgd_Digraph pgfgd_Digraph; pgfgd_Vertex objects. The reason is that a pgfgd_Digraph may actually contain vertices that are not present in the syntactic digraph (for instance, dummy vertices in a spanning tree) and for - which no pgfgd_Vertex obejct exists. For this reason, we only use + which no pgfgd_Vertex object exists. For this reason, we only use indices and there is a special function (pgfgd_digraph_syntactic_vertex) that can be used to retrieve the pgfgd_Vertex object, provided it exists. @@ -421,7 +421,7 @@ typedef struct pgfgd_Arc_array { store a |Digraph| object. Examples are "digraph" or "ugraph". The function will then return a handle to this digraph which you can subsequently access. The handle will become invalid at the end of - the graph drawing funciton and you must free it explicitly using + the graph drawing function and you must free it explicitly using pgfgd_digraph_free. */ extern pgfgd_Digraph* pgfgd_get_digraph (pgfgd_SyntacticDigraph* g, const char* graph_name); @@ -438,13 +438,13 @@ extern int pgfgd_digraph_num_vertices (pgfgd_Digraph* g); */ extern pgfgd_Arc_array* pgfgd_digraph_arcs (pgfgd_Digraph* g); -/** This function allows you to retrieve the syntatic vertex that +/** This function allows you to retrieve the syntactic vertex that corresponds to a given index in the digraph. Normally, the first vertex of a digraph like the ugraph will also be the first entry of the vertices field of the syntactic digraph, but this need not always be the case. For instance, for a spanning_tree digraph, there will be more vertices in the graph than there are syntactic - vertices and the order may be quite different. For theses reaons, + vertices and the order may be quite different. For these reasons, you must use this function to convert a vertex index into the digraph g into a pgfgd_Vertex object. It may happen that the index does not refer to any syntactic vertex, in this case 0 is @@ -466,7 +466,7 @@ extern int pgfgd_digraph_isarc (pgfgd_Digraph* g, int t returned array explicitly using pgfgd_digraph_free_edge_array. Typically, this array will have at most one entry, but it may happen that the user has specified - several syntatic edges between the same vertices, in which case + several syntactic edges between the same vertices, in which case you get a larger array here. Note that tail and head are indices (starting with 1) into the @@ -568,7 +568,7 @@ extern void pgfgd_key_phase (pgfgd_Declaration* d, const char* s); some point, it would call the actual Lua graph drawing algorithm. At that point, the function f is called instead. The parameter of this function will be a representation of the - to-be-drawn syntatic digraph as a C pgfgd_SyntacticDigraph. + to-be-drawn syntactic digraph as a C pgfgd_SyntacticDigraph. */ extern void pgfgd_key_algorithm (pgfgd_Declaration* d, pgfgd_algorithm_fun f, diff --git a/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex b/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex index 153a07425..e796dba79 100644 --- a/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex +++ b/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex @@ -8,7 +8,7 @@ \begin{tikzpicture}[baseline] \draw (0,0) grid (4,4); \end{tikzpicture} -an explizit file name. +an explicit file name. \begin{tikzpicture} \node[draw,rounded corners] {A node with a ref (\ref{eq:1})}; diff --git a/tex/generic/pgf/frontendlayer/tikz/libraries/tikzexternalshared.code.tex b/tex/generic/pgf/frontendlayer/tikz/libraries/tikzexternalshared.code.tex index 2ff5aa2d3..7db917980 100644 --- a/tex/generic/pgf/frontendlayer/tikz/libraries/tikzexternalshared.code.tex +++ b/tex/generic/pgf/frontendlayer/tikz/libraries/tikzexternalshared.code.tex @@ -310,7 +310,7 @@ }% }% -% Auto-select a suitable default value fo 'system call': +% Auto-select a suitable default value for 'system call': \pgfutil@ifundefined{tikzexternal@driver@\pgfsysdriver}{% % fallback. We do not know the driver here. \csname tikzexternal@driver@pgfsys-pdftex.def\endcsname diff --git a/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryanimations.code.tex b/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryanimations.code.tex index 90b868771..7f8175d50 100644 --- a/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryanimations.code.tex +++ b/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryanimations.code.tex @@ -296,7 +296,7 @@ \def\tikz@anim@path@parse#1{% {% - \setbox0=\hbox{{% protext against side effects + \setbox0=\hbox{{% protect against side effects \pgfinterruptpath% \expandafter\tikz@scan@next@command#1\pgf@stop% \pgfsyssoftpath@getcurrentpath\tikz@anim@result% diff --git a/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryintersections.code.tex b/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryintersections.code.tex index cf94f9236..013c1949b 100644 --- a/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryintersections.code.tex +++ b/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryintersections.code.tex @@ -53,7 +53,7 @@ \expandafter\pgfutil@g@addto@macro\expandafter\tikz@intersect@namedpaths\expandafter{\tikz@marshal}% }% -% at the end of evey \path command ... +% at the end of every \path command ... \let\tikz@finish@orig=\tikz@finish \def\tikz@finish{% \tikz@finish@orig% diff --git a/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlCoarsening.lua b/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlCoarsening.lua index d69d5fc6c..c5ce0f295 100644 --- a/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlCoarsening.lua +++ b/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlCoarsening.lua @@ -57,7 +57,7 @@ declare { expected to be higher than graphics where this feature is not applied. The following example demonstrates how coarsening can improve the - quality of graph drawings generated with Walshaw's algorihtm + quality of graph drawings generated with Walshaw's algorithm |spring electrical layout'|. "]], examples = [[" diff --git a/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/library.lua b/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/library.lua index acfda34ff..8d03f99c2 100644 --- a/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/library.lua +++ b/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/library.lua @@ -43,7 +43,7 @@ -- \item If the nodes are connected by an edge, one can treat the edge as -- a ``spring'' that has a ``natural spring dimension''. If the nodes -- are nearer than the spring dimension, they are push apart; if they --- are farther aways than the spring dimension, they are pulled together. +-- are farther away than the spring dimension, they are pulled together. -- \item If two nodes are connected by a path of a certain length, the -- nodes may ``wish to be at a distance proportional to the path -- length''. If they are nearer, they are pushed apart; if they are diff --git a/tex/generic/pgf/graphdrawing/lua/pgf/gd/model/Path_arced.lua b/tex/generic/pgf/graphdrawing/lua/pgf/gd/model/Path_arced.lua index 1875b8d1a..1401f1f9f 100644 --- a/tex/generic/pgf/graphdrawing/lua/pgf/gd/model/Path_arced.lua +++ b/tex/generic/pgf/graphdrawing/lua/pgf/gd/model/Path_arced.lua @@ -171,7 +171,7 @@ local function arc (path, start, start_angle, end_angle, radius, trans, centerx, end_angle = end_angle % 360 if end_angle >= start_angle then - -- In case the modulo has inadvertedly moved the end angle + -- In case the modulo has inadvertently moved the end angle -- before the start angle: end_angle = end_angle - 360 end diff --git a/tex/generic/pgf/graphdrawing/lua/pgf/gd/trees/SpanningTreeComputation.lua b/tex/generic/pgf/graphdrawing/lua/pgf/gd/trees/SpanningTreeComputation.lua index dacf63486..0fa3a52a1 100644 --- a/tex/generic/pgf/graphdrawing/lua/pgf/gd/trees/SpanningTreeComputation.lua +++ b/tex/generic/pgf/graphdrawing/lua/pgf/gd/trees/SpanningTreeComputation.lua @@ -436,7 +436,7 @@ declare { }, summary = [[" - Assings a uniform priority of 5 to all edges. + Assigns a uniform priority of 5 to all edges. "]] } diff --git a/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.code.tex b/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.code.tex index 63efd352f..4affb7dfe 100644 --- a/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.code.tex +++ b/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.code.tex @@ -540,7 +540,7 @@ % #2 = second node % #3 = edge direction % #4 = edge options (will be executed in a protected environment) -% #5 = aux stuff (curtesy for TikZ -- edge nodes) +% #5 = aux stuff (courtesy for TikZ -- edge nodes) % % Description: % @@ -604,7 +604,7 @@ % % % The text in #5 is some "auxiliary" text that is simply stored away -% and later directly to \pgfgdcallbackedge. This is a curtesy to TikZ, +% and later directly to \pgfgdcallbackedge. This is a courtesy to TikZ, % which can use it to store its node labels. % % Example: diff --git a/tex/generic/pgf/modules/pgfmoduledatavisualization.code.tex b/tex/generic/pgf/modules/pgfmoduledatavisualization.code.tex index 1c79ba748..9f922358b 100644 --- a/tex/generic/pgf/modules/pgfmoduledatavisualization.code.tex +++ b/tex/generic/pgf/modules/pgfmoduledatavisualization.code.tex @@ -2721,7 +2721,7 @@ % % % Compute the ideal number of entries per row/column (called - % "target" in the following) and entries per colum/row (called + % "target" in the following) and entries per column/row (called % "per target" in the following) % % if (number of entries > ideal) diff --git a/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def b/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def index 44dd1ae5b..29415d968 100644 --- a/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def +++ b/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def @@ -115,7 +115,7 @@ % okey padding:0; margin:0; - % background-color:\#12ff55; usefull for debugging positioning + % background-color:\#12ff55; useful for debugging positioning text-align:center; % good for centered text nodes...will have to improve that later on...with more integration with pgf options for text nodes } }% @@ -179,7 +179,7 @@ }% \pgfsys@invoke{\Hnewline% added that \Hnewline}% added that -%%%%%%%%%%%%%%% maybee I should add an option to change the css, for the whole picture +%%%%%%%%%%%%%%% maybe I should add an option to change the css, for the whole picture \pgfsys@invoke{