Changeset 1122


Ignore:
Timestamp:
Jun 29, 2011, 12:05:26 AM (6 years ago)
Author:
stefan
Message:

fixed both xml files

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/codehelper/docclasses.xml

    r1121 r1122  
    28532853    <command name="HEADING" argCount="3" />
    28542854  </package>
    2855   <package name="lps" title="lps" description="Class for "Logic and Philosophy of Science"." debPackage="texlive-publishers">
     2855  <package name="lps" title="lps" description="Class for &quot;Logic and Philosophy of Science&quot;." debPackage="texlive-publishers">
    28562856    <command name="the" argCount="0" />
    28572857    <command name="Title" argCount="1" />
     
    42694269    <command name="card" argCount="2" />
    42704270  </package>
    4271   <package name="philosophersimprint" title="philosophersimprint" description="Typesetting articles for "Philosophers' Imprint"." debPackage="texlive-publishers">
     4271  <package name="philosophersimprint" title="philosophersimprint" description="Typesetting articles for &quot;Philosophers' Imprint&quot;." debPackage="texlive-publishers">
    42724272    <command name="HUGE" argCount="0" />
    42734273    <command name="and" argCount="0" />
  • trunk/data/codehelper/packages.xml

    r1121 r1122  
    42324232    <environment name="glossitem" argCount="4" />
    42334233  </package>
    4234   <package name="bibarts" title="bibarts" description=""Arts"-style bibliographical information." debPackage="texlive-bibtex-extra">
     4234  <package name="bibarts" title="bibarts" description="&quot;Arts&quot;-style bibliographical information." debPackage="texlive-bibtex-extra">
    42354235    <command name="stressing" argCount="1" />
    42364236    <command name="punctuation" argCount="0" />
     
    67506750    <environment name="recipe" argCount="1" />
    67516751  </package>
    6752   <package name="ascii" title="ascii" description="Support for IBM "standard ASCII" font." debPackage="texlive-fonts-extra">
     6752  <package name="ascii" title="ascii" description="Support for IBM &quot;standard ASCII&quot; font." debPackage="texlive-fonts-extra">
    67536753    <command name="asciifamily" argCount="0" />
    67546754    <command name="textascii" argCount="1" />
     
    75007500    <environment name="term" argCount="0" />
    75017501  </package>
    7502   <package name="chicago" title="chicago" description="A "Chicago" bibliography style." debPackage="texlive-bibtex-extra">
     7502  <package name="chicago" title="chicago" description="A &quot;Chicago&quot; bibliography style." debPackage="texlive-bibtex-extra">
    75037503    <command name="citeauthoryear" argCount="3" />
    75047504    <command name="cite" argCount="0" />
     
    82938293    <command name="deduce" argCount="0" />
    82948294  </package>
    8295   <package name="pst-blur" title="pst-blur" description="PSTricks package for "blurred" shadows." debPackage="texlive-pstricks">
     8295  <package name="pst-blur" title="pst-blur" description="PSTricks package for &quot;blurred&quot; shadows." debPackage="texlive-pstricks">
    82968296    <command name="next" argCount="0" />
    82978297    <command name="fileversion" argCount="0" />
     
    1710617106    <command name="citeyear" argCount="0" />
    1710717107  </package>
    17108   <package name="emp" title="emp" description=""Encapsulate" MetaPost figures in a document." debPackage="texlive-metapost">
     17108  <package name="emp" title="emp" description="&quot;Encapsulate&quot; MetaPost figures in a document." debPackage="texlive-metapost">
    1710917109    <command name="fileversion" argCount="0" />
    1711017110    <command name="empwrite" argCount="1" />
     
    1986319863  <package name="birm" debPackage="texlive-lang-indic">
    1986419864  </package>
    19865   <package name="hep" title="hep" description="A "convenience wrapper" for High Energy Physics packages." debPackage="texlive-science">
     19865  <package name="hep" title="hep" description="A &quot;convenience wrapper&quot; for High Energy Physics packages." debPackage="texlive-science">
    1986619866    <command name="fileversion" argCount="0" />
    1986719867    <command name="filedate" argCount="0" />
     
    2395223952    <command name="backrefcitedmultistring" argCount="1" />
    2395323953  </package>
    23954   <package name="classicthesis" title="classicthesis" description="A "classically styled" thesis package." debPackage="texlive-publishers">
     23954  <package name="classicthesis" title="classicthesis" description="A &quot;classically styled&quot; thesis package." debPackage="texlive-publishers">
    2395523955    <command name="theenumi" argCount="0" />
    2395623956    <command name="myChapter" argCount="1" />
     
    2585825858    <command name="endwidetable" argCount="0" />
    2585925859  </package>
    25860   <package name="mxd" title="mxd" description="Support for Mongolian "horizontal" (Xewtee Dorwoljin) script." debPackage="texlive-omega">
     25860  <package name="mxd" title="mxd" description="Support for Mongolian &quot;horizontal&quot; (Xewtee Dorwoljin) script." debPackage="texlive-omega">
    2586125861    <command name="mxdVersion" argCount="0" />
    2586225862    <command name="mxd" argCount="0" />
     
    2674126741    <environment name="cjhebrew" argCount="0" />
    2674226742  </package>
    26743   <package name="pst-calendar" title="pst-calendar" description="Plot calendars in "fancy" ways." debPackage="texlive-pstricks">
     26743  <package name="pst-calendar" title="pst-calendar" description="Plot calendars in &quot;fancy&quot; ways." debPackage="texlive-pstricks">
    2674426744    <command name="RA" argCount="0" />
    2674526745    <command name="psCalDodecaeder" argCount="0" />
     
    2761427614    <command name="SBRound" argCount="0" />
    2761527615  </package>
    27616   <package name="pmgraph" title="pmgraph" description=""Poor man's" graphics." debPackage="texlive-pictures">
     27616  <package name="pmgraph" title="pmgraph" description="&quot;Poor man's&quot; graphics." debPackage="texlive-pictures">
    2761727617    <command name="vdashline" argCount="1" />
    2761827618    <command name="hdashline" argCount="1" />
     
    2841128411    <command name="maketitle" argCount="0" />
    2841228412  </package>
    28413   <package name="digiconfigs" title="digiconfigs" description="Writing "configurations"" debPackage="texlive-science">
     28413  <package name="digiconfigs" title="digiconfigs" description="Writing &quot;configurations&quot;" debPackage="texlive-science">
    2841428414    <command name="setCircleChar" argCount="1" />
    2841528415    <command name="setBulletChar" argCount="1" />
     
    3137231372    <environment name="gridenv" argCount="0" />
    3137331373  </package>
    31374   <package name="pst-fun" title="pst-fun" description="Draw "funny" objects with PSTricks." debPackage="texlive-pstricks">
     31374  <package name="pst-fun" title="pst-fun" description="Draw &quot;funny&quot; objects with PSTricks." debPackage="texlive-pstricks">
    3137531375    <command name="fileversion" argCount="0" />
    3137631376    <command name="filedate" argCount="0" />
     
    3367533675    <command name="mabibliographie" argCount="2" />
    3367633676  </package>
    33677   <package name="bbm" title="bbm" description=""Blackboard-style" cm fonts." debPackage="texlive-fonts-extra">
     33677  <package name="bbm" title="bbm" description="&quot;Blackboard-style&quot; cm fonts." debPackage="texlive-fonts-extra">
    3367833678    <command name="fileversion" argCount="0" />
    3367933679    <command name="filedate" argCount="0" />
     
    3854438544  <package name="avant" debPackage="texlive-latex-base">
    3854538545  </package>
    38546   <package name="courier" title="courier" description="Adobe Type 1 "free" copies of Courier." debPackage="texlive-latex-base">
     38546  <package name="courier" title="courier" description="Adobe Type 1 &quot;free&quot; copies of Courier." debPackage="texlive-latex-base">
    3854738547  </package>
    3854838548  <package name="palatino" debPackage="texlive-latex-base">
     
    3964039640    <command name="Grtoday" argCount="0" />
    3964139641  </package>
    39642   <package name="xltxtra" title="xltxtra" description=""Extras" for LaTeX users of XeTeX." debPackage="texlive-xetex">
     39642  <package name="xltxtra" title="xltxtra" description="&quot;Extras&quot; for LaTeX users of XeTeX." debPackage="texlive-xetex">
    3964339643    <command name="TeX" argCount="0" />
    3964439644    <command name="XeTeX" argCount="0" />
  • trunk/src/jlatexeditor/PackagesExtractor.java

    r1112 r1122  
    7373        String name = attrList.getValue("name");
    7474        int argCount = Integer.parseInt(attrList.getValue("argCount"));
     75        String title = attrList.getValue("title");
     76        String description = attrList.getValue("description");
    7577        String optionalArg = attrList.getValue("optionalArg");
    76         Command command = new Command(name, argCount, optionalArg, pack);
     78        Command command = new Command(name, title, description, argCount, optionalArg, pack);
    7779        commands.add(name, command);
    7880      } else
     
    138140  public static class Command {
    139141    private String name;
     142    private String title;
     143    private String description;
    140144    private int argCount;
    141145    private String optionalArg;
    142146    private Package pack;
    143147
    144     public Command(String name, int argCount, String optionalArg, Package pack) {
     148    public Command(String name, String title, String description, int argCount, String optionalArg, Package pack) {
    145149      this.name = name;
     150      this.title = title;
     151      this.description = description;
    146152      this.argCount = argCount;
    147153      this.optionalArg = optionalArg;
     
    167173    }
    168174
     175    public String getTitle() {
     176      return title;
     177    }
     178
     179    public String getDescription() {
     180      return description;
     181    }
     182
    169183    public int getArgCount() {
    170184      return argCount;
  • trunk/src/jlatexeditor/quickhelp/HelpUrlHandler.java

    r1119 r1122  
    8989      ArrayList<String> packs = new ArrayList<String>();
    9090      for (PackagesExtractor.Command cmd : commands) {
    91         packs.add("<span>" + cmd.getPack().getName() + "</span>");
     91        String hintString = "";
     92        if (cmd.getDescription() != null) {
     93          hintString = " hint=\"" + cmd.getDescription() + "\"";
     94        }
     95        packs.add("<span" + hintString + ">" + cmd.getPack().getName() + "</span>");
    9296      }
    9397      Collections.sort(packs);
  • trunk/tools/src/jlatexeditor/tools/PackageParser.scala

    r1120 r1122  
    7474    out.println("<packages>")
    7575    for (pack <- packages) {
    76       val ctanPackString = pack.ctanPackInfo.map( pack => " title=\"" + pack.title + "\" description=\"" + pack.desc + "\"").getOrElse("")
     76      val ctanPackString = pack.ctanPackInfo.map( pack => " title=\"" + escape(pack.title) + "\" description=\"" + escape(pack.desc) + "\"").getOrElse("")
    7777      val debPackageString = pack.debPackage.map( pack => " debPackage=\"" + pack.name + "\"").getOrElse("")
    7878      out.println("  <package name=\"" + pack.name + "\"" + ctanPackString + debPackageString + ">")
Note: See TracChangeset for help on using the changeset viewer.