Input

book: Create a structured PDF document with headings, chapters, etc.
webpage: Specifies that the HTML sources are unstructured (plain web pages.) A page break is inserted between each file or URL in the output.
continuous: Specifies that the HTML sources are unstructured (plain web pages.) No page breaks are inserted between each file or URL in the output.
Title of the document for the front page.
Extract the first heading of the document and use it as title. If checked the title field has no effect.
The title image or HTML page. These file has to be an attachments!
Specify document version to be displayed on the title page.
Intellectual property owner of this document.
Copyright notice for this document.
Information about who and when modified the document are applied at the end.

Output

Specifies the output format.
Grayscale document  Title page
Compression :   JPEG big images 

Pagina

 
User defined page size 
Choose one of the predefined standard sizes or select user defined.
Specifies the page size using a standard name or in points (no suffix or ##x##pt), inches (##x##in), centimeters (##x##cm), or millimeters (##x##mm).
Set the target browser width in pixels (400-1200). This determines the page scaling of images.
   2-Sided   Landscape
   
   
   
Specifies the margin size using points (no suffix or ##x##pt), inches (##x##in), centimeters (##x##cm), or millimeters (##x##mm). Keep empty for default value.
Left
Middle
Right
Sets the page header to use on body pages.
Left
Middle
Right
Sets the page footer to use on body pages.

Indice

Sets the number of levels in the table-of-contents. Empty for unlimited levels.
   Numbered headings Check to number all of the headings in the document.
Sets the title for the table-of-contents. Empty for default title.
Left
Middle
Right
Sets the page header to use on table-of-contents pages.
Left
Middle
Right
Sets the page footer to use on table-of-contents pages.

Colors

Enter the HTML color for the body (background).
Enter the image file for the body (background). These file has to be an attachments!
Enter the HTML color for the text.
Sets the color of links.
Enables generation of links in PDF files.

Fonts

Set the default size of text.
Set the spacing between lines of text.
Choose the default typeface (font) of text.
Choose the default typeface (font) of headings.
Set the size of header and footer text.
Choose the font for header and footer text.
Change the encoding of the text in document.
Check to embed font in the output file.

PDF

Controls the initial viewing mode for the document.
Document: Displays only the docuemnt pages.
Outline: Display the table-of-contents outline as well as the document pages.
Full-screen: Displays pages on the whole screen; this mode is used primarily for presentations.
Controls the initial layout of document pages on the screen.
Single: Displays a single page at a time.
One column: Displays a single column of pages at a time.
Two column left/right: Display two columns of pages at a time; the first page is displayed in the left or right column as selected.
Choose the initial page that will be shown.

Security

Check to number all of the headings in the document.
 Versione stampabile   Modify
 Copy   Annotate
Specifies the document permissions.
Specifies the user password to restrict viewing permissions on this PDF document. Empty for no encryption.
Specifies the owner password to control who can change document permissions etc. If this field is left blank, a random 32-character password is generated so that no one can change the document.

Expert

Specify language to use for date and time format.
Shrink code blocks on page.
Show line numbers for code blocks.
Make spaces visable by dots (·) instead of white spaces.
Make line breaks visable by a extra character (¶) at the end.
Enable this feature if you searching for problems or intent to report a bug report

About

Version 2.4.2 (MoinMoin 1.9.7)


MoinMoin - Generate PDF document using HTMLDOC

This action script generate PDF documents from a Wiki site using
the HTMLDOC (http://www.htmldoc.org) software packages which has
to be preinstalled first.

Copy this script in your's MoinMoin action script plugin directory.

Thanks goes to Pascal Bauermeister who initiated the implementaion.
Lot of things changes since then but the idear using HTMLDOC is the
main concept of this implementation.

Please visit the homepage for further informations:
http://moinmo.in/ActionMarket/PdfAction

@copyright: (C) 2006 Pascal Bauermeister
@copyright: (C) 2006-2010 Raphael Bossek <raphael.bossek@solutions4linux.de>
@license: GNU GPL, see COPYING for details

       

Italiano English
Modifica History Actions

OpenPursuit

Open Pursuit

Da parte di alcuni membri della community, è partito un po' per gioco il progetto "openpursuit" http://www.openpursuit.org

Il Progetto

Il progetto consiste nel creare un database contenente dei quiz (testuali o multimediali).

Il database sarà liberamente utilizzabile per creare dei giochi tipo "trivial pursuit" o "chi vuol essere milionario", "sarabanda" o qualunque altro tipo di quiz.

Le domande inserite saranno associate a dei "tags" per cui si potrebbe pensare di giocare con gli amici rispondendo a domande classiche di sport, cultura generale ma anche reti, tecnologie wireless, nerd o altre tematiche specifiche, a seconda della serata e dei partecipanti.

Ogni domanda potrà essere votata o segnalata come fuori tema e rivista/corretta da un team di utenti fidati.

Licenze

Il codice di django sarà rilasciato come GPL3. Le domande e i contenuti saranno rilasciati sotto licenza Creative Commons http://creativecommons.org/licenses/by-sa/3.0/deed.it. Nel primo punto questa licenza specifica che devi dichiarare la paternita' nei modi scritti dall'autore. La nostra clausola è che se vuoi utilizzare le domande del database per una tua qualche applicazione, devi presentare in modo chiaro su ogni quiz, un rimando al logo e/o al sito di openpursuit.

Roadmap

Attualmente stiamo tirando su la parte server utilizzando il framework python Django.

Regole del gioco

Autoregolamentazione Ogni utente che scarica la domanda invia un feedback per indicare se la domanda è consona o meno al contesto del tag... Ogni utente può votare ciascun quiz oppure segnalarlo come Fuori Tema. Ad un certo numero di segnalazioni la domanda passa allo stato di quarantena. Questo significa che la domanda è temporaneamente sospesa, non sarà più possibile scaricarla e prima che uno della commissione di utenti fidati la esamini. Se la domanda risulta effettivamente fuori luogo l'autore verrà prima ammonito, poi segnalato come spammer ed infine se persevera, espulso. In caso di abuso di feedback negativi, la procedura è analoga.

Implementare i giochi

Al momento le idee sono:

  • i) Sito web per il gioco online in base alla scelta dei tag di interesse
  • ii) Possibilita' di stampare tabellone e mazzo di carte con le domande, per giocare dal vivo.

Partecipa!

Cerchiamo persone che partecipino attivamente allo sviluppo del progetto, allo scopo di divertisi, fare qualcosa insieme e imparare cose nuove. In particolare cerchiamo:

  • Programmatori python per programmare il lato server con Django.
  • Persone che curino la grafica e i contenuti del sito

Se vuoi partecipare, non serve che sei un esperto in materia, basta solo che hai la voglia e i presupposti per imparare entro breve queste tecnologie. Abbiamo visto che una persona motivata e con medie conoscenze di programmazione riesce a diventare operativa su Django già dopo 8 ore. Abbiamo una mailing list interna: per essere invitati potete scrivere a ziducaixao [AT] autistici.org

Note sull'implementazione in django

Installate i seguenti pacchetti: mysql-server e python-mysqldb assicurandovi di avere la versione di quest'ultimo >= 1.2.1p2. Installate django DAL TRUNK seguendo le istruzioni su http://www.djangoproject.com/download/ . Non utilizzate i pacchetti che sono pieni di bug vecchi risolti nella versione del trunk!

Scaricate i sorgenti:

svn co https://svn.ninux.org/svn/ninuxdeveloping/openpursuit/trunk/djangoOp openpursuit
cd openpursuit

Copiate il template con le impotazioni e configuratelo secondo i parametri della vostra macchina

cp settings.py.tmpl settings.py

Modificate settings.py con i parametri del vostro database

Guardate il codice SQL che verrà creato sul vostro database:

python manage.py sql op

Create le tabelle con lo schema

python manage.py syncdb

Provate con il webserver di prova

python manage.py runserver [IP:PORTA]

Note aggiuntive: Per mandare correttamente le mail di attivazione può essere utile configurare postfix che accetta email da localhost e le inoltra su gmail. E' inoltre opportuno modificare al mano il database django_site per cambiare example.com nel vostro nome di dominio. Dovete cambiare la "colletion" del campo "messages" della tabella "auth_messages" in "utf8_unicode_ci". Altrimenti potreste avere un fastidiosissimo warning tutte le volte che utilizzate l'interfaccia di amministrazione.

Installare django amf http://djangoamf.sourceforge.jp/index.php?UserManual_en Se avete l'architettura a 64 bit c'e' un bug noto. La patch è qua: http://sourceforge.jp/tracker/index.php?func=detail&aid=11720&group_id=2585&atid=9591

Puo' essere utile installare questo pacchetto

python-reportlab

Copio il mio file /etc/apache2/sites-available/www.openpursuit.org

Naturalmente è richiesto il pacchetto libapache-mod-python

MaxRequestsPerChild 1
<VirtualHost *:80>
        ServerAdmin my__name@autistici.org

        ServerName www.openpursuit.org
        ServerAlias openpursuit.org

        ErrorLog /var/log/apache2/openpursuit-error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/openpursuit-access.log combined
        <Location "/">
            SetHandler python-program
            PythonPath "['/home/openpursuit','dir/di/django', '/home/openpursuit/djangoOp'] + sys.path"
            PythonHandler django.core.handlers.modpython
            SetEnv DJANGO_SETTINGS_MODULE djangoOp.settings
            PythonDebug On
       </Location>

        Alias /media/     /home/openpursuit/djangoOp/static/


       <Location "/media/">
           SetHandler None
       </Location>

       <Directory /home/openpursuit/djangoOp/static>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride None
               Order Deny,Allow
       </Directory>
</VirtualHost>