The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

r2g_table - Print a few charts which can be used to convert a date from the French Revolutionary calendar to the Gregorian calendar.

SYNOPSIS

r2g_table [--columns=nb] [--example=date] [--lang=language] [--table-workaround]

DESCRIPTION

This program prints three tables, plus a small text showing how to use these tables. The output uses UTF-8 encoding and HTML format. When printed from a table-aware web browser, these tables allow a computer-less user to convert dates from the French Revolutionary calendar to the Gregorian calendar.

OPTIONS

columns

The number of columns in the the first table. This must be a multiple of 4, plus 1. With 5, you get a narrow table with many lines, while with 13 or even 17, you get a wide table with fewer lines.

example

The instructions for use need a date as an example. The user can select the date that will be used as an example (French Revolution date, YYYYMMDD numeric format). Actually, the instructions use two examples: the first one not in Ventôse, the second one in Ventôse. If the user provides a date in Ventôse, the program will select a random month for the first example.

lang

Select the language that will be used for all language-dependant elements, including the instructions for use. Available languages are:

en

English (default)

us

English, with the Gregorian dates formatted in the US way (December 1, 2001)

fr

French

table-workaround

Kept for historical reasons.

Many years ago, around 2001 or 2002, I had noticed that when my web browser rendered and printed tables, it had problems with plain text following the tables, and it would skip a few plain text lines. In the present case, the first lines of the instructions for use would disappear. The workaround I had found consisted in building a table around the instructions for use. This option triggers this workaround.

AUTHOR

Jean Forget <JFORGET@cpan.org>

LICENSE

Copyright (c) 2001, 2002, 2003, 2013, 2015, 2020 Jean Forget. All rights reserved. This program is free software. You can distribute, modify, and otherwise mangle r2g_table under the same terms as Perl 5.16.3: GNU Public License version 1 or later and Perl Artistic License

You can find the text of the licenses in the LICENSE file or at https://dev.perl.org/licenses/artistic.html and https://www.gnu.org/licenses/gpl-1.0.html.

Here is the summary of GPL:

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see <https://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., https://www.fsf.org.