gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] How to contribute templates


From: Busser, Jim
Subject: [Gnumed-devel] How to contribute templates
Date: Fri, 18 Nov 2011 17:38:41 +0000

On the wiki

        http://wiki.gnumed.de/bin/view/Gnumed/TemplateRepository

under

        How to contribute templates

it asks

        Please provide:

        • filename: e.g. medication_list.tex
        • description: e.g. a list of past and prestent medications taken by 
the patient
        • version: e.g. 0.1 please increase the version when you update the 
template
        • date: when was it you created the template
        • targeted GNUmed version: e.g. 0.8.x
        • license: GPL , FDL or anything you would like
        • source: either your name or 'VCS' when it gets incorporated into the 
main GNUmed repository

Just thinking… the dialog in gmFormWidgets.py asks for

        Name
        Alias
        Version
        Template type
        Document type
        Filename
        Processed by (OpenOffice, LaTex, Image editor, Gnuplot, PDF form editor)

and maybe if the author/contributor would embed in their template a version and 
a 'processed by' these values could "auto-load" into the template?

The values would have to be commented, for example in a Tex template:

        % Version = '1.1'
        % Processed_by = 'LaTex'

or if such words might (within a template) be ambiguously used, then

        % gm_read_version =
        % gm_read_processed_by =

and

        % gm_target_version = 1.1

could evoke a warning in the dialog, if the user was using 0.8 for example 
'Template intended for GNUmed 1.1 and higher. Use at your own risk.'

-- Jim


reply via email to

[Prev in Thread] Current Thread [Next in Thread]