User:Silviolorusso/mipsum: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 7: Line 7:
'''WHAT?''' <br/>
'''WHAT?''' <br/>


A plugin that generates placeholder text randomly taken from the [http://flossmanuals.net/Inkscape/ FLOSS Manual for Inkscape].   
A plugin that generates place-holder text randomly taken from the [http://flossmanuals.net/Inkscape/ FLOSS Manual for Inkscape].   





Revision as of 17:40, 11 December 2011

MIPSUM, an Inkscape "lorem ipsum" plugin for learning while practicing

Mipsum-before.png Mipsum-after.png


WHAT?

A plugin that generates place-holder text randomly taken from the FLOSS Manual for Inkscape.


HOW?

1. Install the plugin putting the following files in your Inkscape extension folder ($HOME/.config/inkscape/extensions/ or /usr/share/inkscape/extensions):

file file

2. Create a textbox (or more) and write the word "mipsum" followed (without any space) by the number of characters you want to generate.

3. In your Inkscape, go to Extensions>Python>Mipsum. It will generate text taken from the manual for Inkscape.

4. Learn new tricks and techniques.


CODE

helloworld.inx describes your extensions to Inkscape.

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
        <_name>Mipsum</_name>
        <id>pzi.helloworld</id>
        <dependency type="executable" location="extensions">mipsum.py</dependency>
    <effect>
        <object-type>all</object-type>
        <effects-menu>
            <submenu _name="Python"/>
        </effects-menu>
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">mipsum.py</command>
    </script>
</inkscape-extension>