[texworks] Update on Some help Information
Paul A Norman
paul.a.norman at gmail.com
Sun Oct 18 08:26:30 CEST 2009
Ok, if any one ever needs to find the MiKTeX binary path to start with, for
scripting needs or like, under Windows this will do it.
(If you are using portable, make sure that you start TeXWorks from the
MiKTeX portable menu, or the MiKTeX portable command prompt.)
Any one on Linux please advise - will this work as is (assuming realtive
path exists)?
Does MiKTeX set the same environment variable and can it be used in
the following way please?
echo %MIKTEX_BINDIR% > texworks-help/framestHelp/MiKTeXPath.txt
Paul
--[[TeXworksScript
Title: Drop MikTex Path
Description: Puts Date Time in
Author: Paul A Norman From gleanings in lUa chm help Lua 5.1 Reference
Manual, wiki, and tutorials
Version: 0.1
Date: 2009-10-18
Script-Type: standalone
]]
os.execute("echo %MIKTEX_BINDIR% >
texworks-help/framestHelp/MiKTeXPath.txt")
2009/10/16 Paul A Norman <paul.a.norman at gmail.com>
> Thanks, I was thinking of such blockages when I said - it might be a "no
> goer".
> Is it then possible when the help call procedure looks for the index.html
> for an agreed parameter string to be passed as a search querry, perhaps
> including that path, any selected text in the TWeditor and other things that
> seem useful?
>
> (I realize that this depends on the exact way in which TW is invoking the
> index.html files it is expecting to find.)
>
> e.g.
>
> index.html?MiTex=blah/blah/xblah&slected=\para
>
> This could gracefully be ignored by index.html files that are not expecting
> it and be utilized by others for whom it is useful.
>
> Paul
>
> 2009/10/16 T T <t34www at googlemail.com>
>
> 2009/10/15 Paul A Norman <paul.a.norman at gmail.com>:
>> > Would it please be possible to requeest that on startup, TeXWorks could
>> make
>> > a file in its binary directory that would contain just the local path to
>> the
>> > MiTeX installation, perhaps called mitex.txt
>>
>> TW dir might be non-writable in some setups (DVD, network shares).
>>
>> Cheers,
>>
>> Tomek
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20091018/6bf1993c/attachment.html>
More information about the texworks
mailing list