Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi Olivier,

Olivier Hallot píše v Pá 27. 01. 2012 v 12:14 -0200:

How can I write a help file to fix

https://bugs.freedesktop.org/show_bug.cgi?id=44792

(help for new math function CSC, CSCH, SEC, SECH..)

I can write it easily, but I need a tool to generate the xml for the
help file.

The best is to edit it just with a plain text editor, like vim or emacs
(or your favorite tool), so that you avoid the xml editor messing with
the rest of the file.  Of course, maybe there are good xml editors out
there that do not modify the part of the file you don't touch, but I
don't have any experience with any myself.

My plan is to add the help in the file

/help/helpcontent2/source/text/scalc/01/04060106.xhp

where other mathematical functions are described (SIN, COS, etc...)

Sounds like a good place to edit; I'd just copy & paste eg. the SIN
description, and modify it for CSC etc.

The paragraph id's should be distinct in at least the file, and you
probably also want to test the hid/SC_HID_FUNC_* where it is used (as
the help identifier for the other functions), and if it works for your
new entries.

There might be other catches I don't see without actually trying that,
hopefully not ;-)  But if they are, please share them with the list.

Thanks for looking into this!

Regards,
Kendy


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.