#215 Lookup command definition

None
closed
nobody
texmakerx (141)
1
2015-07-02
2011-06-24
White Owl
No

I'd like to have an ability to search for a command definition.
If I put cursor on some command \something and hit some hot-key, I would like for TexMakerX recursively scan all packages used by the document and open the package which hold definition of this \something command.

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2015-06-29

    implemented some while ago: Context Menu -> Open package documentation

     
    • Denis Bitouzé

      Denis Bitouzé - 2015-06-30

      Currently, the context menu contains "Open package documentation" only when the cursor is on a package's name in a \usepackage's argument.

      So, what's implemented is not what is requested (which is maybe difficult to implement).

       
      • Tim Hoffmann

        Tim Hoffmann - 2015-07-01

        Should work in the current release (see attachment). Please report back if there are cases that do not work.

         
        • Denis Bitouzé

          Denis Bitouzé - 2015-07-02

          Indeed: thanks!

          I noticed a bug for \textcolor{color}{text}: the package's documentation open is the color's one, not the xcolor's one even if the latter is explicitly loaded in the current file.

           
  • Tim Hoffmann

    Tim Hoffmann - 2015-06-29
    • status: open --> closed
    • Group: -->
    • Priority: 5 --> 1
     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-07-01

    fixed again on tip
    by the way: latex-document is translated to latex2e but for texlive , there is no help for latex2e.
    How is the general latex description called for texlive ?

     
    • Tim Hoffmann

      Tim Hoffmann - 2015-07-01

      Should be latex2e as well.

       
  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-07-01

    well: texdoc latex2e
    Sorry, no documentation found for latex2e.
    If you are unsure about the name, try searching CTAN's TeX catalogue at
    http://ctan.org/search.html#byDescription.

     
    • Denis Bitouzé

      Denis Bitouzé - 2015-07-02

      I confirm what Tim says: on Linux and TeX Live 2015, texdoc latex2e opens the PDF version of "LaTeX2e: An unofficial reference manual". But it may be noticed that I use a "vanilla" TeX Live installation (from the texlive2015.iso file) and not its version provided by my Linux distro.

      BTW, AFAICS, the LaTeX2e's version provided by TXS (→ Help → LaTeX Reference...) is not up to date (October 2014): the current version of this document is now May 2015.

       
  • Tim Hoffmann

    Tim Hoffmann - 2015-07-01

    this works on win + texlive2012

    You can also try texdoc latex2e-help-texinfo. That seems to be the name in the TeXlive manager.

    Anyway one could also redirect latex-document to the version of the reference manual that we provide: Help -> LaTeX Reference. Advantages: 1) nicer CSS, 2) one could improve it to jump to the relevant position. Disadvantage (maybe for some?): HTML. MikTeX Texdoc opens the pdf in the internal pdf viewer.

     
    • Denis Bitouzé

      Denis Bitouzé - 2015-07-02

      MikTeX Texdoc opens the pdf in the internal pdf viewer.

      That's also the case with TeX Live's texdoc.

       
  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-07-02

    on ubuntu, texlive-lang-english needs to be installed for the latex2e.pdf. texlive-base-doc is not enough.
    As fall-back we could use usrguide which is shorter but seems to be present at least.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-07-02

    "Why not provide a message that advise to install this (Linux) package if
    the documentation is not found?"

    The problem is that the package is probably differently on different distributions ...

     

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

Sign up for the SourceForge newsletter:





No, thanks