octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #9009] Latex equation support in the docum


From: Fernando Pujaico Rivera
Subject: [Octave-patch-tracker] [patch #9009] Latex equation support in the documentation created by generate_html package
Date: Mon, 23 May 2016 23:38:14 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

URL:
  <http://savannah.gnu.org/patch/?9009>

                 Summary: Latex equation support in the documentation created
by generate_html package
                 Project: GNU Octave
            Submitted by: trucomanx
            Submitted on: Mon 23 May 2016 08:38:11 PM BRT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I like propose to use JavaScript to give Latex equation support 
in texinfo source documentation created by generate_html package.

I am attaching a zip file (jsMath.zip) with a modified jsMath code.
this package should be uncompressed in the directory:
http://octave.sourceforge.net/

Below, I am attaching the file jsMath_octave-forge_changes.diff
with a list of my modifications over jsMath code in the jsMath.tar.gz file.



Now to use this JavaScript code only need to made:

jsMath_head_code = [ ...
        "<STYLE> #jsMath_Warning {display: none} </STYLE>\n" ...
        "<SCRIPT SRC=\"../../jsMath/easy/load.js\"></SCRIPT>\n"];
adding_jsMath    = [" --set-customization-variable 'EXTRA_HEAD ",
jsMath_head_code, "'"];


options = get_html_options ("octave-forge");
options.package_doc="overview.texi";
options.package_doc_options=[options.package_doc_options, adding_jsMath];
generate_package_html ("bsltl", "bsltl_html", options); 


the result can be seen in the next page:

http://nongnu.org/bsltl/bsltl_refman/bsltl/package_doc/index.html


Please I would to know your comments about this proposal.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 23 May 2016 08:38:11 PM BRT  Name: jsMath_octave-forge_changes.diff 
Size: 633B   By: trucomanx
latex equation support
<http://savannah.gnu.org/patch/download.php?file_id=37242>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9009>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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