#41 Export to syntax coloured HTML

open
None
5
2013-08-25
2006-12-06
Anonymous
No

The ability to export to a Syntax Coloured HTML file (or RTF) would be great to insert source code (edited with Geany) into documentation files.

Related

Feature Requests: #41

Discussion

  • Enrico Tröger

    Enrico Tröger - 2007-08-20
    • assigned_to: nobody --> eht16
    • status: open --> open
     
  • Enrico Tröger

    Enrico Tröger - 2007-08-20

    Logged In: YES
    user_id=1117045
    Originator: NO

    Added in SVN r1811. Use the export plugin to export files as LaTeX or HTML.

     
  • Nobody/Anonymous

    Good improvement. I realized that possibility today, 3 years later.

    Also, exporting to RTF on clipboard, as Notepad++ and SciTe do, would be a huge timesaver when destination of those sources is a word processor.

     
  • Ahmad Yoosofan

    Ahmad Yoosofan - 2013-08-09

    Exporting to rtf has not been added yet. If I'm wrong, please help me how to export to rtf.

     
  • Lex Trotman

    Lex Trotman - 2013-08-09

    You could try printing to file, most documentation tools will import SVG
    for example.

    Since there are a number of good open source syntax colouring applications
    that can be used outside Geany (eg GNU highlight, or pygments) I don't
    think anyone sees this as a high priority feature.

    On 9 August 2013 10:06, Ahmad Yoosofan yoosofan@users.sf.net wrote:

    Exporting to rtf has not been added yet. If I'm wrong, please help me how
    to export to rtf.


    Status: open
    Created: Wed Dec 06, 2006 04:44 PM UTC by Anonymous
    Last Updated: Mon Aug 20, 2007 05:24 PM UTC
    Owner: Enrico Tröger

    The ability to export to a Syntax Coloured HTML file (or RTF) would be
    great to insert source code (edited with Geany) into documentation files.


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/geany/feature-requests/41/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Feature Requests: #41

  • Ahmad Yoosofan

    Ahmad Yoosofan - 2013-08-09

    Thanks for your prompt answer. As a geany user and lover, I appreciate your work. I love geany because of its simplicity, portability, and more importantly its light wighting.
    However, anyone who wants to write a notebook or book by means of an office (Libreoffice on linux as my choice) needs highlighting code(bolding keywords and data types, etc.). Actually exporting to rtf isn't my primary concern. Any tools that helps me to copy and past the code to the libreoffice by preserving color and other attributes of code is helpful. Yes there are a lot of other solution to this problem such as coooder plugin in Libreoffice, notepad++ (running on Wine), and several other solutions but I hope the beautiful geany would has a simple solution as always that users don't need to use another editor.
    It seems there is a simple solution to this problem in geany because of existence of export to html. Kate (depending on kde) have an useful solution. It has the "Copy as HTML" in "Edit" menu. After selecting the code and copying it with this method and past it to Libreoffice attributes of code will be preserved. It perhaps, may be applicable to geany without extra work.
    I understood that there are a lot of more important and necessary features . I apology if my comment seemed as an complain.

     
  • Anonymous - 2013-08-10

    I made this little plugin for GeanyPy that does it:
    http://pastebin.geany.org/SnUSw/

    Note: I only spend 15-20 minutes writing it, so it might need some touch-ups.

     
  • Ahmad Yoosofan

    Ahmad Yoosofan - 2013-08-10

    Documentations of geany pluging have been described in geany.org are based on C programming language. Please send link(s) about how to use and write plugin in python.

     
  • Ahmad Yoosofan

    Ahmad Yoosofan - 2013-08-25

    Supporting python as a based for writing plugin, that's fantastic.
    Thank you very much.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks