Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] howto: double-click on tm-file starts texmacs (windows)

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] howto: double-click on tm-file starts texmacs (windows)


Chronological Thread 
  • From: David Allouche <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] howto: double-click on tm-file starts texmacs (windows)
  • Date: Mon, 8 Dec 2003 12:59:20 +0100

On Sun, Dec 07, 2003 at 06:53:47PM +0100, Andreas Seidl wrote:
> c:\cygwin\bin\bash --login -c "texmacs `cygpath -u "%1"`"
[...]
> Hope this helps somebody, and maybe someone comes up with better quoting
> to resolve the whitespace problem?

I do not know in which way the win32 command.exe (that's the piece of
cruft which executes .bat files, right?) handles backslashes, but I guess
one could try:

c:\cygwin\bin\bash --login -c "texmacs \"$(cygpath -u \"%1\")\""

or alternatively

c:\cygwin\bin\bash --login -c "texmacs \"`cygpath -u \"%1\"`\""

I just find the former easier to read.

--
-- ddaa



Archive powered by MHonArc 2.6.19.

Top of Page