welcome: please sign in

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 

Page

 
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.

Contents

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.
 Print   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.9)


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

       

location: HelpOnMacros



Macros

Macros allow the insertion of system features into normal wiki pages; the only thing that makes those pages special is that they contain macros. If you edit pages like RecentChanges or SystemInfo, you'll see what that means.

For more information on the possible markup, see HelpOnEditing and HelpOnMoinWikiSyntax.

Search macros

MoinMoin now uses a new search engine, that lets your make sophisticated searches using both the interactive search box or any of the search macros. For more help, see HelpOnSearching.

Macro

Description

<<AdvancedSearch>>

create an advanced search dialogue on the page. See FindPage.

<<TitleSearch>>

create a search box on the page, which search the page titles. See FindPage.

<<FullSearch>>

create a search box on the page, which search the page contents.See FindPage.

<<FullSearch()>>

print a list of pages whose content matches the current page title (like clicking on the page title). See CategoryCategory for example

<<FullSearch(text)>>

print a list of pages whose content matches the search term.

<<FullSearchCached(text)>>

Works like the FullSearch macro but caches the results statically. Use it if you prefer speed over an up-to-date result.

<<GoTo>>

directly go to the page you enter. See FindPage.

<<PageList(Help)>>

print a list of pages whose title matches the search term. See HelpIndex.

Macro

Description

<<RecentChanges>>

a list of recently edited pages. See RecentChanges

<<TitleIndex>>

an index of all page titles. See TitleIndex

<<WordIndex>>

an index of all words in page titles. See WordIndex

<<WantedPages>>

list links to non-existent pages. See WantedPages

<<OrphanedPages>>

list pages no other page links to. See OrphanedPages

<<AbandonedPages>>

list pages that were not edited for the longest time. See AbandonedPages

<<RandomPage>>

inserts a link to a random page.

<<RandomPage(#)>>

links to a number of random pages.

<<TableOfContents([maxdepth])>>

display a local table of contents, possibly limited to a maximal depth.

<<Anchor(anchorname)>>

macro to insert anchors into a page.

<<Navigation(children[,maxdepth])>>

macro to list all of a pages' children. See start of this page for sample.

<<Navigation(siblings[,maxdepth])>>

quick navigation to siblings of a page. See /MailTo for sample.

<<Navigation(slideshow)>>

creates a link to toggle between slide show and wiki mode, and a link to start the slide show. See HelpOnSlideShows

<<Navigation(slides)>>

displays first/prev/next/last links. See HelpOnSlideShows

<<AttachInfo>>

displays number of attachments for current page. See HelpOnActions/AttachFile

<<AttachInfo(page)>>

displays number of attachments for page. See HelpOnActions/AttachFile

<<AttachList(pagename,mimetype)>>

displays list of attachments. See HelpOnActions/AttachFile

System Information macros

Macro

Description

<<Hits>>

a counter for page hits <<Hits([all=(False,True)][,event_type=(VIEWPAGE,SAVEPAGE)]>>

<<InterWiki>>

a list of all known InterWiki names.

<<SystemInfo>>

info on the wiki, the python interpreter and the host system.

<<PageCount(exists)>>

current page count. If exists is supplied as an argument, only existing pages will be shown.

<<PageSize>>

list the sizes of all pages. See PageSize

<<StatsChart(type)>>

shows statistical charts (currently defined types: hitcounts, pagesize, useragents, languages). See EventStats and subpages

<<SystemAdmin>>

Information for system administrators, see SystemAdmin. You need to be superuser to use this macro.

<<EditedSystemPages>>

A list of system pages that were modified.

<<WikiConfig>>

Shows wiki configuration settings which are either non-default or unknown. You need to be superuser to use this macro.

<<WikiConfigHelp>>

Shows all wiki configuration settings with descriptions.

<<HighlighterList>>

List available Pygments lexers. See MacroMarket/HighlighterList for additional information.

Others

Macro

Description

<<Action(action [,text])>>

links to page with valid action, optional text could be used as alias. (action names are case sensitive). Example: <<Action(print, Print this page)>> will generate Print this page

<<Icon(image)>>

display system icons. See HelpOnNavigation

<<BR>>

insert a line break.

<<RandomQuote(pagename)>>

Select a random quote from the given page, or from FortuneCookies if omitted.

<<Include(HelloWorld[,"heading"[,level]])>>

include contents of another page. See /Include

<<FootNote(text)>>

Add a footnote1, or explicitly display collected footnotes when no args are given.

<<Date(timestamp)>>

display a timestamp according to system settings, in the style of 2024-04-26

<<DateTime(timestamp)>>

display a timestamp2 according to user settings, in the style of 2024-04-26 05:19:58

<<GetText(text)>>

(mainly intended for use on Help pages) Loads I18N texts. Example: "EditText" is translated to "EditText"

<<GetText2(,message,argument1,argument2,...)>>

(mainly intended for use on Help pages or in generated output on wiki pages) loads I18N texts and replaces %s in the message by the arguments. The first character of the argument is used as the separator (in this example: a comma). You can escape the separator by using a backslash. Example: "<<GetText2(,[You may not read %s],FooBar)>>" yields "[You may not read FooBar]". For named placeholders, use "key=value" argument syntax, for example, "<<GetText2(,Upload new attachment \"%(filename)s\",filename=file.txt)>>" yields "Upload new attachment "file.txt"".

<<TeudView>>

useful for intranet developer wikis, a means to view pydoc documentation, formatted via a XSLT stylesheet. See http://twistedmatrix.com/wiki/python/TeudProject

<<MailTo(email)>>

protect your email address from spam bots. See /MailTo

<<NewPage(PageTemplate,ButtonLabel,[ParentPage,@ME,@SELF] [,NameTemplate])>>

Allow the user to create (sub-)pages easily, using the page PageTemplate as the template for the new page and the string NameTemplate as a template for the name.3 @ME is used if you want the page created below the users homepage. @SELF is used to create a subpage below the page where it is called from.

<<GetVal(NeatSnippets,regards)>>

Retrieve dictionary entries from dict pages. Example: If you have a page called GermanDict which contains the entry Test, you should see the translation here:

<<MonthCalendar(,,12)>>

Displays a Calendar and creates link for entries to each day on subpages. See /MonthCalendar

  1. the text cannot contain any wiki markup (1)

  2. "timestamp" can be empty (current time), a number of seconds since 1970 (unix timestamp), or a W3C time specification ("2002-01-23T12:34:56"). See RFC822, sect. 5. (2)

  3. NameTemplate is formatted with time.strftime(), with the exception of %s which is replaced by the input into the edit box (which is only shown if necessary). If NameTemplate is not specified or empty, it defaults to %s. (3)