From Mageia wiki
Jump to: navigation, search
this page is a draft.
It requires improvements. If you want to improve it, simply log in and click on the Edit tab.

Please remove this {{Draft}}template, when you're sure the page is complete and correct.


View the other draft pages, or other pages to improve and maintain.

Available kinds of publications

You can make all kinds of publications in Calenco.

At the moment we use:

  • html without screenshots for the inline help
  • html with screenshots (WebHelp) for the online help and help in MCC
  • PDF
  • EPUB

Download an existing publication

All publications are currently written to https://docteam.mageia.org.uk/Factory/, making it impossible to download them from Calenco.

Update an existing publication

  • Open Mageia Calenco Make sure you are in the Doc Factory workspace
  • Choose the desired language
  • Click on the "Publications" tab
  • It is hard to see all columns. Make sure your screen is large enough or the font in your window small enough, to see them all.
  • Select the Manual you want to update, for instance MCC-EN-EPUB and click on its green arrow with almost circle shape. You find it on the right, next to the "Status" column. The updated manual will appear in https://docteam.mageia.org.uk/Factory/EPUB/mcc/MCC-EN-EPUB.epub
  • Please ping papoteur on IRC if a publication doesn't include the last changes.

Making a new publication

  • Select the Manuals classification on the left
  • Select the Manual you want to make a publication for, for instance DrakX.xml on the right
  • Choose Publications in the menu bar
  • Choose Manage from the drop-down menu
  • Choose New Publication in the new window that appears
  • Choose a Pub(lication) Name, click tab: the output file name will now be the same as the publication name.
    • Make sure you don't choose a name that already exists, not even for another language
    • The installer webhelp publications should have similar names as DrakX-EN-Webhelp (replace EN with the correct language code)
    • MCC webhelp should get names similar to MCC-ET-WebHelp (unfortunately, the English one misses the "EN-" in the name)
    • The zipped MCC webhelp (for pasmatt to package) should be named like MCC-ET-WebHelp-zipped (again the English one misses the "EN-")
    • EPUB: DrakX-EN-EPUB, MCC-EN-EPUB etc.
    • PDF: DrakX-EN-PDF, MCC-EN-PDF etc.
  • Choose an Output Format
    • HTML-Based Formats (Multiple Pages) is good for the help in installer
    • Web Help is good for the online help
    • PDF for .pdf
    • EPUB Format for .epub
  • Output Processor Params (Optional): it is not needed to enter anything here
  • Stylesheet
    • If you chose the Webhelp Output Processor, the Stylesheet needs to be set to
      • WebHelp-DrakX.xsl for DrakX (installer help)
      • WebHelp-MCC.xsl for MCC help
    • If you chose HTML-Based Formats (Multiple Pages), then choose docbook-xhtml-drakx.xsl here
    • For PDF choose [DEFAULT] XSL-FO
    • For EPUB format choose [DEFAULT] EPUB2
  • Stylesheet Params
    • For Installer and NetInstall manual, add this:
profile.condition=classical
and for Live manual, add:
profile.condition=live
This will select some parts or images specific to each manual in common pages.
  • If, when using non-Latin languages, the characters aren't displayed well in a PDF publication, then you should use special stylesheet for publication. Currently, we use the following stylesheets and fonts:
Languages Scripts Stylesheet Font
European non-Latin1 Latin, Cyrillic, Greek docbook-fo-fonteur.xsl Liberation Sans
Chinese Chinese traditional and simplified docbook-fo-A4.xsl Open Hei
Japanese Kanji and kana docbook-fo-fontja.xsl UmePlus P Gothic
To add a new language you have to
  1. Determine a free font for its script
  2. Ask Calenco admin (Camille Bégnis) to install the font on server
  3. Copy under the new name docbook-fo-fontja.xsl from Calenco content folder
  4. Edit the new file and replace all UmePlus P Gothic strings with the name of the new font
  5. Choose the new stylesheet for PDF publication
  • Store output on
    • Workspace is currently the correct place for the inline help for installer
    • All Webhelp publications should be stored remotely
      • In the latter case, choose FTP Server and fill out all the needed fields
        • If you want to make a webhelp publication for a new language, then it is easier to start your browser twice, put the screens side by side and login to Calenco twice. You can then click the edit button of a similar publication to easily copy most settings to the new publication.
Note:
For some servers, using the remove existing files option makes the publication fail. For some other servers, it is the opposite: the publication fails if you do not use this option. For docteam.mageia.org.uk both options should work now, but ticking remove existing files sometimes helps to resolve a problem. (not ticking remove existing files is better, because then someone who reads the publication doesn't see any errors while it is updated)

If the destination directory does not yet exist, then please first create it after connecting to the server with ssh or e.g. filezilla.

  • Type
    • If you choose Automatic, the publication should be updated automatically with every change to one of the .xml, .png or .xsl files it is made of. It was advised to use this setting, but since we have so much to publish on every change, the automatic publications break too often. We do now only use it for the non-zipped WebHelp publications in all languages (and use Manual for all others), but even then it often doesn't work. In that case, removing and re-adding the Auto tick is usually enough to regenerate the publication.

Here is a table with each publication we can have. Replace cc with the language code in same case:

Manual Publication name Output Format Stylesheet Path Stylesheet params transfer each file instead of archive
DrakX DrakX-CC-EPUB EPUB Format [DEFAULT]EPUB2 public_html/EPUB/installer/ profile.condition=classical
cc HTML-Based Formats (Multipl docbook-xhtml-drakx.xsl public_html/zipped/drakx-installer-help/ profile.condition=classical
DrakX-CC-WebHelp Web Help WebHelp-DrakX.xsl public_html/cc/installer/ profile.condition=classical X
DrakX-CC-WebHelp-zipped Web Help WebHelp-DrakX.xsl public_html/zipped/installer/cc/ profile.condition=classical
DrakX-cover DrakX-cover-CC-PDF PDF [DEFAULT]XSL-FO public_html/PDF/installer/ profile.condition=classical
DrakLive DrakLive-CC-EPUB EPUB Format [DEFAULT]EPUB2 public_html/EPUB/draklive/ profile.condition=live
DrakLive-CC-WebHelp Web Help WebHelp-DrakX.xsl public_html/cc/draklive/ profile.condition=live x
DrakLive-CC-WebHelp-zipped Web Help WebHelp-DrakX.xsl public_html/zipped/draklive/cc/ profile.condition=live
DrakLive-cover DrakLive-cover-CC-PDF PDF [DEFAULT]XSL-FO public_html/PDF/draklive/ profile.condition=live
MCC MCC-CC-EPUB EPUB Format [DEFAULT]EPUB2 public_html/EPUB/MCC/
MCC-CC-WebHelp Web Help WebHelp-MCC.xsl public_html/cc/MCC/ X
MCC-CC-WebHelp-zipped Web Help WebHelp-MCC.xsl public_html/zipped/MCC/cc/
MCC-cover MCC-cover-CC-PDF PDF [DEFAULT]XSL-FO public_html/PDF/MCC/
NetInstall NetInstall-CC-EPUB EPUB Format [DEFAULT]EPUB2 public_html/EPUB/netinstall/
NetInstall-CC-WebHelp Web Help WebHelp-DrakX.xsl public_html/cc/netinstall/ x
NetInstall-CC-WebHelp-zipped Web Help WebHelp-DrakX.xsl public_html/zipped/netinstall/cc/
NetInstall-cover NetInstall-cover-CC-PDF PDF [DEFAULT]XSL-FO public_html/PDF/netinstall/