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
Locked History Actions

HelpOnLinking

Linking Rules

  • Targets can be:
    • Local Pages:
      • either absolute: a page name or main page/sub page

      • or relative: /some sub page or ../some sister page

    • Interwiki Pages: OtherWiki:a pagename there

    • URLs: http://server/path

    • Pages and URLs may include an anchor (...#anchorname).

  • Use [[target]] if you want to link to some target object.

  • Use {{target}} if you want to transclude (embed/include/show) some target object (often an image).

  • Use target|text instead of just target to make it use the given text (e.g. as link text for links or as alt text for images).

  • Use target|text|params instead of just target to give additional params.

  • Use target|{{imagetarget}} if you want to show an image instead of a text.

URLs, interwiki pages, email addresses and CamelCase pagenames are recognized as targets even without using brackets.

Quick Reference

Hyperlink

Syntax

Comment

internal link

WikiName

CamelCase page name

internal free link

[[free link]]

any page name

internal link to sub page

/SubPage or [[/sub page]]

internal link to sister page

../SisterPage or [[../sister|link text]]

internal link with linktext

[[SomePage|some Page]]

link to attachment

[[attachment:a image.png]]

links to attachment image

external link

http://example.net

external link with linktext

[[http://example.net|example site]]

border of internal link

WikiName``s

2 backticks - for when a WikiName ends in the middle of a word

avoid an internal link

!WikiName

configurable function

Transclusion/Embedding

Syntax

Comment

embed an attached graphics

{{attachment:a image.png}}

show attachment image

embed an attached graphics

{{attachment:a image.png|alt text}}

show attachment image, with alt text

embed an attached graphics

{{attachment:a image.png|alt text|align="position"}}

shows attached image, with position can be top, middle, bottom, right or left

external graphics

{{http://example.net/image.png}}

shows target image

external graphics

{{http://example.net/image.png|alt text}}

shows target image, with alt text

external graphics

{{http://example.net/image.png|alt text|align="position"}}

shows target image, with position can be top, middle, bottom, right or left

Explanations

URLs

If you enter URLs into normal text, there is the problem of detecting what belongs to the URL and what not. There are four ways to force the ending of an URL:

  • put a space after the URL,
  • use the SixSingleQuotes escaping,

  • use the double bracketed URL syntax.

The supported URL schemes are: http, https, ftp, file and some others. The administrator of your wiki can extend the supported schemes by using the url_schemas variable (see HelpOnConfiguration).

In addition to the standard schemes, there are MoinMoin-specific ones: attachment and drawing, these are related to file attachments and are explained on HelpOnActions/AttachFile.

Spaces

You can always use the double brackets (or double braces) syntax to use page or file names with spaces.

This will even work for interwiki links, if the target wiki understands standard url quoting (space will become %20).

Anchors

To insert anchors into a page you need the Anchor macro (see HelpOnMacros): <<Anchor(anchorname)>>, where "anchorname" is the actual identifier of the anchor.

To link to an anchor on the same wiki page use [[#anchorname]] or [[#anchorname|label text]].

To link to an anchor on another wiki page write [[PageName#anchorname]] or [[PageName#anchorname|label text]], where "PageName" is the name of the other page and "anchorname" is the identifier of the anchor on that page.

/!\ On some Wikis, a link to the page RecentChanges might refer to the same page as this link: recentchanges. This is especially true for Windows and Mac OS X systems because they are not case-sensitive normally.

To keep a word like PageName from automatically being turned into a link, use Page``Name. (The problem with doing this is that it will prevent a simple search for the word "WikiName" from matching Wiki``Name in a page, due to the inserted characters.)

You can also suppress WikiName linking by putting an exclamation mark (bang) before the WikiName, i.e. !WikiName. This is available by default, but can be disabled with the configuration option bang_meta = False. Using this method will not interfere with most searches for the escaped WikiName, with the exception of certain quoted phrases and regular expressions.

To prevent automatic URL linking, use either `http://...` or {{{http://...}}}.

Sometimes you may want to give additional parameters for a link, influencing how it looks like, how it behaves and how exactly it links to the target - this is what the params part of [[target|text|params]] is for.

Setting attributes of the <a> tag

Available attributes: class, title, target, accesskey (see some html reference if you want to know what they mean).

Example: [[http://moinmo.in/|MoinMoin Wiki|class=green dotted,accesskey=1]]

Renders as: MoinMoin Wiki

(!) Pressing the access key should jump to that link target (for Firefox 2.x and the example above it is Alt-Shift-1).

Creating a query string for the target URL

What is possible for this depends on the target site.

Example: [[MoinMoin:MoinMoinWiki|MoinMoin Wiki|&action=diff,&rev1=1,&rev2=2]]

Renders as: MoinMoin Wiki

(!) Please remember:

  • If you want to give a key=value item for the query string, don't forget the ampersand (&).

  • Giving query string items does not work when you give a URL as target (but for links to pages or attachments).
  • If you give a URL as target, you can include a query string directly in that target, no need for params.
  • You don't need to encode and url_quote the query string stuff, moin does this automatically for you.

Other stuff

For more information on the possible markup, see HelpOnEditing. For details on how to link to subpages, see HelpOnEditing/SubPages.

Examples

Markup

 * http://moinmo.in/
 * [[http://moinmo.in/]]
 * [[http://moinmo.in/|MoinMoin Homepage]]
 * InterWiki
  * Self:InterWiki
  * MeatBall:InterWiki
  * [[MeatBall:InterWiki|InterWiki page on MeatBall]]
  * [[MoinMoin:page with spaces]] (doesn't exist)
 * email
  * user@example.com
  * mailto:user@example.com?subject=test
  * [[mailto:user@example.com?subject=test|Email me]]
 * [[InterWiki|InterWiki page in this wiki]]
 * [[#anchorname|Link to anchor on this page]]
 * [[OtherPage#anchorname|Link to anchor on other page in current wiki with label text]]
 * {{http://moinmo.in/moin_static/common/moinmoin.png}}
 * {{http://moinmo.in/moin_static/common/moinmoin.png|moinmoin logo}}

Display

If you used moin before...

Don't worry, it is much easier and better predictable now:

  • It is always two brackets (for links) or two curly braces (for transclusion/embedding) now.
  • Because of that, macros use <<MacroName(...)>> syntax now.

  • Use brackets or braces syntax if some target has blanks chars (no _ and no %20 any more!).
  • Use the pipe char (|) to separate target and text (and params).
  • wiki: is gone, just use interwiki without it.

  • inline: is now {{attachment:...}}.

  • Interwiki links now only use WikiName:PageName (not: WikiName/PageName)

  • It has less magic now (and will just do what you say!):
    • Underscore (_) is a normal character and different from blank.
    • If you want an underscore, use an underscore - if you want a blank, use a blank.
    • If you link to an image, it will just link to an image (not show/embed it!).
  • For early moin 1.6 users: no quoting with double-quotes any more, use outer double brackets/braces to quote.

(!) This markup is inspired by creole wiki markup standard (and is also quite similar to what mediawiki engine uses).