Description
MyPoint is a simple tool that will generate PDF slides from an outline in wiki format. This tool is not as flexable as some applications like Magic Point of Power Point, but it is far simpler. In the default mode all that needs to be provided is a small document in wiki format. MyPoint also is flexable enough to have custom templates and graphics. Currently png, bmp, jpeg and tiff are supported graphics formats. Right now the trac flavor of wiki formatting is supported. This allows authors to edit wiki pages collaboratively with their current wiki tools. For non-trac users other formats are under consideration though.
Download
Right now there are no binary packages but you can build it from subversion:
$ svn co http://svn.geiseri.com/svn/projects/MyPoint $ cd MyPoint $ qmake $ make $ make install
Usage
$ mypoint /path/to/inputfile.mypoint [/path/to/output.pdf]
If the second file path is not provided the program will generate an output file name based on the input file's name. So if the input is example.mypoint then the output file will be example.pdf.
Format Description
General:
- ---- - Page break.
- [[BR]] - Force line break.
- ''' text ''' - Bold text.
- '' text '' - Italics text.
- ~~ text ~~ -
Strike outtext. - ^^ text ^^ - Superscript text.
- ,, text ,, - Subscript text.
Title page:
- == Title == - The title of the presentation.
- {{author:ian reinhart geiser}} - The author of the presentation.
- {{date:3/18/2008}} - The date of the presentation.
- {{footer:Copyright 2008}} - The footer for the first page of the presentation.
- {{background:base.png}} - The background for the presentation. This will search the same directory as the input file.
- {{template:special.tmpl}} - The template to use for the layout of the presentation. This will search the same directory as the input file.
Normal pages:
- == More points == - Title for the page
- * Points - First level bullet point.
- * can - Second level bullet point.
- * go - Third level bullet point.
- * up - Fourth level bullet point.
- * to - Fifth level bullet point.
- {{footer:Copyright 2008}} - Footer for the page
- [[Image(blah2.png)]] - An optional image for the page. This will search the same directory as the input file.
- {{background:base.png}} - The background for the page. This will override the one specified on the title page.
- {{{ - Start preformatted text.
- }}} - End preformatted text.
Demo Presentation
Below is a demo presentation that shows off all of the features of MyPoint.
Template Description
Templates will scale to any paper size because they use percentages to determine the placement of the points that make up the rectangles. Each rectangle for each field has four properties. The Top, Left, Bottom and Right sides. All fields are optional and if they are not defined a default property is used.
The templates are a simple ini style format with the following fields under the "Slides" category:
- Title - This will be the title field for the presentation. It is usually at the center of the first page.
- first.title.top - The top of the title field on the first page.
- first.title.left - The left side of the title field on the first page.
- first.title.bottom - The bottom side of the title field on the first page.
- first.title.right - The right side of the title field on the first page.
- first.title.alignment - The alignment of the text field. Valid values are "right", "left", "center".
- Author - This will be the author field for the presentation. By default it is on the lower right hand corner.
- first.author.top - The top of the author field on the first page.
- first.author.left - The left side of the author field on the first page.
- first.author.bottom - The bottom side of the author field on the first page.
- first.author.right - The right side of the author field on the first page.
- first.author.alignment - The alignment of the text field. Valid values are "right", "left", "center".
- Date - This will be the date field for the presentation. By default it is on the lower right hand corner below the author field.
- first.date.top - The top of the date field on the first page.
- first.date.left - The left side of the date field on the first page.
- first.date.bottom - The bottom side of the date field on the first page.
- first.date.right - The right side of the date field on the first page.
- first.date.alignment - The alignment of the text field. Valid values are "right", "left", "center".
- Footer - This will be the footer field for the first page. By default its in the lower right hand corner.
- first.footer.top - The top of the footer field on the first page.
- first.footer.left - The left side of the footer field on the first page.
- first.footer.bottom - The bottom side of the footer field on the first page.
- first.footer.right - The right side of the footer field on the first page.
- first.footer.alignment - The alignment of the text field. Valid values are "right", "left", "center".
- Title - This will be the title field for every other page in the presentation. By default its in the top left hand corner of the page.
- second.title.top - The top side of the title field on the other pages.
- second.title.left - The left side of the title field on the other pages.
- second.title.bottom - The bottom side of the title field on the other pages.
- second.title.right - The right side of the title field on the other pages.
- second.title.alignment - The alignment of the text field. Valid values are "right", "left", "center".
- Footer - This will be the footer field for every other page. By default its in the lower left hand corner.
- second.footer.top - The top of the footer field on the other pages.
- second.footer.left - The left of side the footer field on the other pages.
- second.footer.bottom - The bottom side of the footer field on the other pages.
- second.footer.right - The right side of the footer field on the other pages.
- second.footer.alignment - The alignment of the text field. Valid values are "right", "left", "center".
- Page Number - This will be the page number field for every other page. By default its in the upper right hand corner.
- second.pgNumber.top - The top side of the page number field on the other pages.
- second.pgNumber.left - The left side of the page number field on the other pages.
- second.pgNumber.bottom - The bottom side of the page number field on the other pages.
- second.pgNumber.right - The right side of the page number field on the other pages.
- second.pgNumber.alignment - The alignment of the text field. Valid values are "right", "left", "center".
- Image Half - On pages where there is an image and text the page is split in half. By default it takes up the large part of the right half of the page.
- second.imageHalf.top - The top side of the image field on the other pages.
- second.imageHalf.left - The left side of the image field on the other pages.
- second.imageHalf.bottom - The bottom side of the image field on the other pages.
- second.imageHalf.right - The right side of the image field on the other pages.
- second.imageHalf.alignment - The alignment of the text field. Valid values are "right", "left", "center".
- Text Half - On pages where there is an image and text the page is split in half. By default it takes up the large part of the left half of the page.
- second.bodyHalf.top - The top side of the text field on the other pages.
- second.bodyHalf.left - The left side of the text field on the other pages.
- second.bodyHalf.bottom - The bottom side of the text field on the other pages.
- second.bodyHalf.right - The right side of the text field on the other pages.
- second.bodyHalf.alignment - The alignment of the text field. Valid values are "right", "left", "center".
- Body - On pages where there is only text or an image this field is used. By default it takes up the large part of the center of the page.
- second.body.top - The top side of the body field on the other pages.
- second.body.left - The left side of the body field on the other pages.
- second.body.bottom - The bottom side of the body field on the other pages.
- second.body.right - The right side of the body field on the other pages.
- second.body.alignment - The alignment of the text field. Valid values are "right", "left", "center".
Bugs
Changelog
[333] by geiseri on 06/06/08 10:59:27
make table borders solid and match the text color.
[332] by geiseri on 06/06/08 10:17:07
refactored the formatting printing, and added table printing.
[331] by geiseri on 06/06/08 10:00:43
added table parser and tables to pages
[330] by geiseri on 06/06/08 09:48:42
added table parser and tables to pages
[329] by geiseri on 06/05/08 19:39:42
started on table support
[328] by geiseri on 06/03/08 11:12:25
added some more interfaces to wikirpc
Contact
Ian Reinhart Geiser - geiseri at yahoo dot com
Attachments
- special.tmpl (1.1 kB) - added by geiseri on 04/12/08 07:18:38.
- example.pdf (349.4 kB) -
Sample mypoint presentation
, added by geiseri on 04/15/08 05:42:38. - example.mypoint (1.6 kB) -
Example source
, added by geiseri on 04/15/08 05:45:54.
