[Qgis-developer] Editing rst files
larrys at dakotacarto.com
Sat May 5 17:03:41 PDT 2012
On Sat, May 5, 2012 at 10:53 AM, cavallini at faunalia.it <
cavallini at faunalia.it> wrote:
> Cool! So perhaps we could edit the manual directly from qgis, perhaps
> adding screenshots on the fly, etv?
Yes you could do that, though the plugin doesn't necessarily browse the
user's whole filesystem, just selected places relative to plugin
development . However, on Unix boxes you can just symbolically link in
whatever you like. The browser has a QFileSystemModel backend.
For a large .rst project like the QGIS manual, it may not be much different
than using a separate text editor. Having Plugin Editor embedded
(installed) in QGIS offers the advantages of consistency of interface/tools
and portability, useful for new plugin developers and teaching/seminar
environments. There are many clever things you can do with it, but if you
are already an experienced developer, you may find its features only
occasionally useful compared with your current workflow.
> Sent from mobile, sorry for being short
> ----- Reply message -----
> Da: "Larry Shaffer" <larrys at dakotacarto.com>
> A: "QGIS Developer List" <qgis-developer at lists.osgeo.org>
> Oggetto: [Qgis-developer] Editing rst files
> Data: sab, mag 5, 2012 17:35
> On Sat, May 5, 2012 at 8:41 AM, Paolo Cavallini <cavallini at faunalia.it>wrote:
>> Il 05/05/2012 15:05, Nathan Woodrow ha scritto:
>> There is also a good collection of editors here
>> On Sat, May 5, 2012 at 11:02 PM, Salvatore Larosa <lrssvtml at gmail.com>wrote:
>>> I suggest this: http://urlin.it/2f8e0
>>> light and usefull!
>>> All the best,
>> Salavtore: this one seems to work, thanks.
>> Nathan: thanks for the link, but it's outdated (e.g. no gedit3 support
>> for rst, unfortunately), and I think it will be confusing for newbies. Are
>> we going to select suggest a couple of tools for our writers?
>> For now the simplest options seem vim and retext, right?
>> All the best.
> @Salvatore - ReText has a very nice live preview. Fails on sphinx docs
> right now, though.
> Currently, I use Eric4, which offers syntax-highlighting via Pygments
> package for rst. Since I am reimplementing many features of Eric4's text
> editor in my Plugin Editor plugin, it also offers highlighting for rst
> files, directly from within QGIS . It looks like I could incorporate
> ReText (since it is PyQt-based, and just a single file) into Plugin Editor,
> as well (maybe second release). I'll have a beta release of Plugin Editor
> ready within the next week or so.
>  http://dl.dropbox.com/u/4058089/qgis/plugin-editor_rst.png
Black Hills, South Dakota
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer