« DDD annexes » : différence entre les versions

De Le modèle M3M
Aller à la navigation Aller à la recherche
Contenu ajouté Contenu supprimé
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 28 : Ligne 28 :


All steps should be performed for both languages (EN & FR → ''XX'')
All steps should be performed for both languages (EN & FR → ''XX'')
<ol start="2">
<li>Increase version numbering (and the linked date)</li>
<li>in ODT file '''DDD.XX.odt''' (in page 1 and in page 4)</li>
<li>in wiki main page (<font face="FreeMono, monospace">[http://gonze.org/wikiM3M/index.php/DDD http://gonze.org/wikiM3M/index.php/DDD]</font>)</li>
<li>possibly in '''appCfg.java''' (for project DDD)</li>
<li>Spell check and verify page numbering.</li>
<li>Save.</li>
<li>Check that both version (EN & FR) have the same content.</li>
<li>Export as standard PDF. (jpeg 80. DPI 300) → '''DDD.XX.pdf'''</li>
<li>Export as high-res PDF. Check “lossless compression”, no DPI → '''DDD.XX.hi.pdf '''(this may be used only for professional printing process).</li>
<li>Run this bash command&nbsp;: ddd 1 (→ '''DDD.XX.noi''''''1''''''.odt''').</li>
<li>Edit the new DDD.XX.noimage.odt file. Remove all images. Remove everything before The first paragraph. Remove everything from and including the TOC. Save (→ '''DDD.XX.noi''''''2''''''.odt''').</li>
<li>While editing export this noimage file in mediawiki format (export… Format: mediawiki)(→ '''DDD.XX''''''.''''''noi''''''2''''''.''''''txt''').</li>
<li>Run this bash command&nbsp;: ddd 2 (→ '''DDD.XX.wiki.txt '''and '''→ $jnb/gwtApp/war/images/DDD/ '''files).</li>
<li>Follow the instructions displayed when running ‘ddd 2’.</li>
</ol>


*Increase version numbering (and the linked date)
The whole process should take less than 5 minutes,
**in ODT file '''DDD.XX.odt''' (in page 1 and in page 4)
**in wiki main page (<font face="FreeMono, monospace">[http://gonze.org/wikiM3M/index.php/DDD http://gonze.org/wikiM3M/index.php/DDD]</font>)
**possibly in '''appCfg.java''' (for project DDD)
*Spell check and verify page numbering (should be a multiple of 4)
*Save.
*Check that both version (EN & FR) have the same content.
*Export as standard PDF. (jpeg 80. DPI 300) → '''DDD.XX.pdf'''
*Export as high-res PDF. Check “lossless compression”, no DPI → '''DDD.XX.hi.pdf '''(this may be used only for professional printing process).
*Run this bash command&nbsp;: ddd 1 (→ '''DDD.XX.noi''''''1''''''.odt''').
*Edit the new DDD.XX.noimage.odt file. Remove all images. Remove everything before The first paragraph. Remove everything from and including the TOC. Save (→ '''DDD.XX.noi''''''2''''''.odt''').
*While editing export this noimage file in mediawiki format (export… Format: mediawiki)(→ '''DDD.XX''''''.''''''noi''''''2''''''.''''''txt''').
*Run this bash command&nbsp;: ddd 2 (→ '''DDD.XX.wiki.txt '''and '''→ $jnb/gwtApp/war/images/DDD/ '''files).
*Follow the instructions displayed when running ‘ddd 2’.


The whole process should take less than 5 minutes,
&nbsp;


=== <span style="color:#808080;">Développements envisageables</span> ===
=== <span style="color:#808080;">Développements envisageables</span> ===

Version du 12 décembre 2017 à 18:55

Annexes

Cette page contient diverses annexes et notes techniques relatives à DDD, essentiellement des liens.

Les liens de base sont : wikiFR wikiEN dans ce wiki, et  pdfFR pdfEN pour les PDFs.

Projet logiciel et documentation

Les développements DDD sont (outre ce wiki) organisés dans un projet eclipse (GwtDDD), dans la directory javaNB4projects.

Voici la javadoc du projet et ses spécifications initiales. La technologie principale est GWT, dont voici la javadoc.

Les applications développées sont accessibles sur Internet par navigateur PC (pas d'application Android / iPhone). Ce sont:

  1. Promo (site de promotion) DDD.gonze.org (et en préprod DDD.gonze.eu)
  2. Simul (site de simulation) DDDSimul.gonze.org (et en préprod DDDSimul.gonze.eu)

Numéro de version

Il y a un numéro de version du logiciel (qui est défini dans ug.java).

Il y a aussi un numéro de version et une date associés aux textes. Ce numéro de version là doit être mis à jour suivant la procédure ci-dessous.

DDD PDF and Web publishing

This should be performed whenever the DDD original text (ODT file) is updated.

All steps should be performed for both languages (EN & FR → XX)

  • Increase version numbering (and the linked date)
  • Spell check and verify page numbering (should be a multiple of 4)
  • Save.
  • Check that both version (EN & FR) have the same content.
  • Export as standard PDF. (jpeg 80. DPI 300) → DDD.XX.pdf
  • Export as high-res PDF. Check “lossless compression”, no DPI → DDD.XX.hi.pdf (this may be used only for professional printing process).
  • Run this bash command : ddd 1 (→ DDD.XX.noi'1'.odt).
  • Edit the new DDD.XX.noimage.odt file. Remove all images. Remove everything before The first paragraph. Remove everything from and including the TOC. Save (→ DDD.XX.noi'2'.odt).
  • While editing export this noimage file in mediawiki format (export… Format: mediawiki)(→ DDD.XX'.'noi'2'.'txt').
  • Run this bash command : ddd 2 (→ DDD.XX.wiki.txt and → $jnb/gwtApp/war/images/DDD/ files).
  • Follow the instructions displayed when running ‘ddd 2’.

The whole process should take less than 5 minutes,

Développements envisageables

  1. App Admin (gestion des utilisateurs de simulation) (projet 2018)
  2. Intégration Eid
  3. Version client android
  4. Intégration de davantage de langues
  5. ...