Opened 4 years ago

Last modified 4 years ago

#3949 reopened enhancement

Number examples

Reported by: jidanni Owned by: grass-dev@…
Priority: minor Milestone: 7.8.3
Component: Docs Version: git-releasebranch78
Keywords: v.segment Cc:
CPU: Unspecified Platform: Unspecified

Description

$ w3m -dump file:///usr/share/doc/grass-doc/html/v.segment.html | grep ^Example
Example: Extract line segment from 400m to 5000m from beginning of line 1:
Example: Create parallel 1km long line segments along first 8km of track,
Example: A series of points, spaced every 2km along the tracks
Example: A series of points, spaced every 2km along the tracks, offset 500m to
Example: A series of points, spaced every 10% of the line's length along the

These should be called Example 1, Example 2, etc. with their own Table of Contents entries too. In fact just like is already implemented on v.in.ascii.html !

Change History (6)

comment:1 by neteler, 4 years ago

Keywords: v.segment added
Milestone: 7.8.2
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-releasebranch78

comment:2 by jidanni, 4 years ago

Thanks, but I am talking about real numbered examples. Just like in a textbook. Only then can one say, "Professor, regarding example 3A..."

Even when just looking at a g.manual -m man page too!

$ GET https://raw.githubusercontent.com/OSGeo/grass/c97c8beaeb66540a8cbd5c679bbd49de2a75c724/vector/v.segment/v.segment.html | grep -i Example
<h2>EXAMPLES</h2>
The examples are based on the North Carolina sample location.
$ GET https://grass.osgeo.org/grass79/manuals/v.in.ascii.html | grep Example
        <li class="toc"><a href="#example-1a)---standard-format-mode" class="toc">Example 1a) - standard format mode</a></li>
        <li class="toc"><a href="#example-1b)---standard-format-mode" class="toc">Example 1b) - standard format mode</a></li>
        <li class="toc"><a href="#example-2---point-format-mode" class="toc">Example 2 - point format mode</a></li>
        <li class="toc"><a href="#example-3---point-format-mode" class="toc">Example 3 - point format mode</a></li>
        <li class="toc"><a href="#example-4---point-format-mode---csv-table" class="toc">Example 4 - point format mode - CSV table</a></li>
        <li class="toc"><a href="#example-5---point-format-mode" class="toc">Example 5 - point format mode</a></li>
        <li class="toc"><a href="#example-6---point-format-mode" class="toc">Example 6 - point format mode</a></li>
        <li class="toc"><a href="#example-7---point-format-mode" class="toc">Example 7 - point format mode</a></li>
        <li class="toc"><a href="#example-8---point-format-mode" class="toc">Example 8 - point format mode</a></li>
<h3><a name="example-1a)---standard-format-mode">Example 1a) - standard format mode</a></h3>
<h3><a name="example-1b)---standard-format-mode">Example 1b) - standard format mode</a></h3>
<h3><a name="example-2---point-format-mode">Example 2 - point format mode</a></h3>
<h3><a name="example-3---point-format-mode">Example 3 - point format mode</a></h3>
<h3><a name="example-4---point-format-mode---csv-table">Example 4 - point format mode - CSV table</a></h3>
<h3><a name="example-5---point-format-mode">Example 5 - point format mode</a></h3>
<h3><a name="example-6---point-format-mode">Example 6 - point format mode</a></h3>
<h3><a name="example-7---point-format-mode">Example 7 - point format mode</a></h3>
<h3><a name="example-8---point-format-mode">Example 8 - point format mode</a></h3>

comment:3 by jidanni, 4 years ago

Resolution: fixed
Status: closedreopened

comment:4 by jidanni, 4 years ago

Sure, you can say "<LI> adds the numbers. No need."

However the numbers would not survive into the g.manual -m version.

comment:5 by neteler, 4 years ago

Milestone: 7.8.2

Ticket retargeted after milestone closed

comment:6 by neteler, 4 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.