gotcha

Author Topic: Adding a Custom Tutorial  (Read 3348 times)

March 20, 2017, 03:59:30 AM
Read 3348 times

kettenmaradtunk

  • Sr. Newbie

  • Offline
  • **

  • 4
Hi Everyone,

I want to include my own tutorial in the Help\Tutorials drop-down menu. I can't find the current tutorials in the Preferences xml, so I guess there must be another way around to do this.

Can you please help me how and where to include the svg file of the tutorial?

Best regards,

Csaba

March 20, 2017, 05:39:26 PM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Hi,

for whom will these tutorials be?

If they are of general interest, please consider uploading to Inkscape.org: https://inkscape.org/en/gallery/=tutorial/

If you think it should be included with Inkscape, please create a bug report at: https://bugs.launchpad.net/inkscape and ask for inclusion (but you'd need to rewrite it to allow for translations).

Else, you'd need to compile your own Inkscape version, and edit a couple of files before doing so.

March 21, 2017, 04:57:26 AM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I've asked how to add more tutorials for the Help menu in the past.  It was one of my first posts on an Inkscape mailing list.  Someone did answer, but it was pretty flakey.  Something like, 'yeah I need to do that someday' (meaning make it possible for people to add more tutorials).  I don't remember who answered - it was a few years ago.

In my opinion, this is an oversight which needs some attention.  But that kind of response did not inspire me to make a bug report.  It inspired me instead to double-down on what I think is this site's best feature (see the Home tab)  https://forum.inkscapecommunity.com/index.php.

You're certainly welcome to contribute to our small collection of tutorials (IC Tutorials tab).  If you'd like, you can PM me a tutorial of yours, so I can review it.  If it's clear you know what you're talking about, I'll promote you to IC Mentor (member group), which will give you access to this site's tutorial making features.

However, using the Inkscape website's gallery feature (InkSpaces) would give your tutorials the biggest audience possible.  There are some drawbacks though.  If you want your tutorials to have working links, I think the only way to do it would be to upload PDF versions.  (I guess PDF is accepted, but I haven't actually tried it.)  Otherwise use PNG or SVG.  Or upload some kind of thumbnail to represent your tutorials, and link to them, wherever you have them hosted.  You're welcome to host them here if you like.  But dropbox or imgh.us (which is an image host that accepts SVG files) or any other place would work just as well.

  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

March 23, 2017, 04:16:42 AM
Reply #3

kettenmaradtunk

  • Sr. Newbie

  • Offline
  • **

  • 4
Hello,

Thank you very much for your answers and sorry about the late reply.

Actually, the tutorial I want to add is not of general interest. I've been trying to insert it in the shared/Tutorials folder in Program Files, but that wouldn't make it appear in the drop-down menu. I would like to know if this is possible at all.

Best regards,

Csaba

March 23, 2017, 05:50:39 AM
Reply #4

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
As I said, it's possible if you modify the Inkscape source code and compile your own version.

March 23, 2017, 06:20:38 AM
Reply #5

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Ooh, now I understand!  So when you place an SVG file in share/tutorials, it does not show up in Help menu > Tutorials?

I agree with you, that it seems like it should.  However, when I look in share/tutorials, there's a README file with some interesting info.  I don't know how current that is, and I've never tried to find such a DocBook file in the SVN.

I would try asking either on the User or development mailing list, or maybe development IRC  https://inkscape.org/en/community/.

Oops, Moini posted while I was typing.  I think the SVN is either the source code, or it's where you get the source code.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

March 24, 2017, 04:08:20 AM
Reply #6

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
It's called bazaar by now, and will soon be git.
SVN is the name of a version control system Inkscape once used, but doesn't for a long time.

There are several places in the code that would need to be adapted, as far as I can judge.

March 25, 2017, 06:42:29 PM
Reply #7

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
There are several places in the code that would need to be adapted, as far as I can judge.

I don't follow you Moini.  Adapted for what?  Do you mean that this DocBook thing is so old that it needs updating, to be able to use it with Inkscape, in its now current state?

Do you think it would be worth a bug report, to ask for that README file to be updated?
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

March 28, 2017, 05:49:28 AM
Reply #8

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Quote (selected)
Do you mean that this DocBook thing is so old that it needs updating

- No :) (well, it could use updating). The DocBook thing would only be needed if you want to translate the contents, so only for the official tutorials that will be included with Inkscape.
But Inkscape needs to be made aware of the added tutorial explicitly, to add it to its menues, as far as I understand the code. It doesn't just pick them up from the directory, as it does with filters, templates, etc.

March 30, 2017, 01:05:49 AM
Reply #9

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Ooohh ok, I understand now.  Thanks for explaining :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann