hello:)
TeXShop can provide synchronization in two ways.
"pdfsearch" : The default method uses a new ability in Mac OSX 10.4 to search for strings in pdf files.
No special style files need be included to use this method.
"pdfsync" is the original method but needs to add the following line to the preamble of your tex source code before the \begin{document} line:
\usepackage{pdfsync}.
Is it to possible to use in the future, the first method "pdfsearch" with Textmate
Thanks
Alain
On Feb 22, 2006, at 11:15 AM, Alain Matthes wrote:
Is it to possible to use in the future, the first method "pdfsearch" with Textmate
Not easily, it would require more synchronization between TextMate and TeXniscope than is possible with the tools provided to us, and it would certainly require someone writing a fair bit of code. pdfsync is the "standard" way to achieve this in LaTeX. Is there a reason you prefer pdfsearch, or a way in which pdfsync is inadequate for your purposes?
Thanks
Alain
Haris
Le 22 févr. 06 à 18:25, Charilaos Skiadas a écrit :
On Feb 22, 2006, at 11:15 AM, Alain Matthes wrote:
Is it to possible to use in the future, the first method "pdfsearch" with Textmate
Not easily, it would require more synchronization between TextMate and TeXniscope than is possible with the tools provided to us, and it would certainly require someone writing a fair bit of code. pdfsync is the "standard" way to achieve this in LaTeX. Is there a reason you prefer pdfsearch, or a way in which pdfsync is inadequate for your purposes?
Thanks
Alain
With pdfsearch no need to use \usepackage{pdfsync} and with Tiger, that' more natural to use Tiger ability. It's not a big problem :)
Is it possible to make work Pdfsync with input and include in textmate ?
Alain
On Feb 22, 2006, at 11:54 AM, Alain Matthes wrote:
With pdfsearch no need to use \usepackage{pdfsync} and with Tiger, that' more natural to use Tiger ability. It's not a big problem :)
pdfsync has the advantage that it works in other operating systems as well. That's why I prefer it, other people you send the file to will be able to get syncing going.
Is it possible to make work Pdfsync with input and include in textmate ?
I should already work with include. It definitely will work if everything is part of a project. I haven't tested it in other circumstances. I don't know about input. It all depends on what kind of information pdfsync stores.
Are you using Texniscope as your pdf previewer?
Alain
Haris
Le 22 févr. 06 à 19:44, Charilaos Skiadas a écrit :
On Feb 22, 2006, at 11:54 AM, Alain Matthes wrote:
With pdfsearch no need to use \usepackage{pdfsync} and with Tiger, that' more natural to use Tiger ability. It's not a big problem :)
pdfsync has the advantage that it works in other operating systems as well. That's why I prefer it, other people you send the file to will be able to get syncing going.
I did not know that pdfsync was universal but why do you want to send a file with pdfsync ; pdfsync is not a part of the "File". There are no relationship between the data of a file and pdfsync. The data of file (" for me" are between \begin{document} and \end {document}. With texshop, pdfsearch is more powerfull (and stable) that pdfsync.
Is it possible to make work Pdfsync with input and include in textmate ?
I should already work with include. It definitely will work if everything is part of a project. I haven't tested it in other circumstances. I don't know about input. It all depends on what kind of information pdfsync stores.
Are you using Texniscope as your pdf previewer?
TeXniscope yes, and sometimes Acrobat but the problem with Acrobat : no refresh !
Alain
On Feb 22, 2006, at 1:19 PM, Alain Matthes wrote:
I did not know that pdfsync was universal but why do you want to send a file with pdfsync ; pdfsync is not a part of the "File".
the pdfsync package creates a helper file with extension pdfsync. So any programs that are designed to use it could use it. It is not bound to something very specific to Tiger. In that sense it is more universal. It has existed way before Tiger, and in other platforms.
I am not sending pdfsync with the file any more than adding \usepackage{geometry} sends any extra data along. The packages used by the file are for me part of the file. pdfsync is just another package. It just happens to not alter the appearance of the resulting pdf file, like most other packages do.
Haris
On Feb 22, 2006, at 11:54 AM, Alain Matthes wrote:
Le 22 févr. 06 à 18:25, Charilaos Skiadas a écrit :
On Feb 22, 2006, at 11:15 AM, Alain Matthes wrote:
Is it to possible to use in the future, the first method "pdfsearch" with Textmate
Not easily, it would require more synchronization between TextMate and TeXniscope than is possible with the tools provided to us, and it would certainly require someone writing a fair bit of code. pdfsync is the "standard" way to achieve this in LaTeX. Is there a reason you prefer pdfsearch, or a way in which pdfsync is inadequate for your purposes?
Thanks
Alain
With pdfsearch no need to use \usepackage{pdfsync} and with Tiger, that' more natural to use Tiger ability. It's not a big problem :)
Is it possible to make work Pdfsync with input and include in textmate ?
Yes, I have used it on a book with many chapters and sections and included graphics. pdfsync worked great. The trick, is configuring Texniscope with the proper url to call back into TextMate.
It sounds like the functionality of pdfsync and pdfsearch is the same, but the two use different techniques to implement that functionality.
However, it also sounds like this new pdfsearch functionality is something that would need to be integrated into TeXniscope before we could take advantage of the TextMate TeXniscope combination. I don't know whether that will happen or not, it doesn't look like TeXniscope has been updated since 2004.
Brad
Alain ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Le 22 févr. 06 à 21:12, Brad Miller a écrit :
On Feb 22, 2006, at 11:54 AM, Alain Matthes wrote:
Le 22 févr. 06 à 18:25, Charilaos Skiadas a écrit :
On Feb 22, 2006, at 11:15 AM, Alain Matthes wrote:
Is it to possible to use in the future, the first method "pdfsearch" with Textmate
Not easily, it would require more synchronization between TextMate and TeXniscope than is possible with the tools provided to us, and it would certainly require someone writing a fair bit of code. pdfsync is the "standard" way to achieve this in LaTeX. Is there a reason you prefer pdfsearch, or a way in which pdfsync is inadequate for your purposes?
Thanks
Alain
With pdfsearch no need to use \usepackage{pdfsync} and with Tiger, that' more natural to use Tiger ability. It's not a big problem :)
Is it possible to make work Pdfsync with input and include in textmate ?
Yes, I have used it on a book with many chapters and sections and included graphics. pdfsync worked great. The trick, is configuring Texniscope with the proper url to call back into TextMate.
It sounds like the functionality of pdfsync and pdfsearch is the same, but the two use different techniques to implement that functionality.
However, it also sounds like this new pdfsearch functionality is something that would need to be integrated into TeXniscope before we could take advantage of the TextMate TeXniscope combination. I don't know whether that will happen or not, it doesn't look like TeXniscope has been updated since 2004.
with a simple file pdfsync don't work for me
Find in TeXniscope is fine but command click in Texniscope give nothing
in the prefs :
open
et
"txmt://open?url=file://%file&line=line"
Alain
On Feb 22, 2006, at 3:53 PM, Alain Matthes wrote:
with a simple file pdfsync don't work for me
Find in TeXniscope is fine but command click in Texniscope give nothing
in the prefs :
open
et
"txmt://open?url=file://%file&line=line"
This scheme has some problems when the filepath has spaces and such, because Texniscope does not escape them properly. Instead, set the editor to be the path to the "mate" program (TextMate->Help->Terminal Usage...) and arguments to be "%file -l % line" without the double quotes.
Alain
Haris
Le 22 févr. 06 à 23:07, Charilaos Skiadas a écrit :
On Feb 22, 2006, at 3:53 PM, Alain Matthes wrote:
with a simple file pdfsync don't work for me
Find in TeXniscope is fine but command click in Texniscope give nothing
in the prefs :
open
et
"txmt://open?url=file://%file&line=line"
This scheme has some problems when the filepath has spaces and such, because Texniscope does not escape them properly. Instead, set the editor to be the path to the "mate" program (TextMate->Help->Terminal Usage...) and arguments to be "%file -l % line" without the double quotes.
No space in my path 'only underline)
I've mate in ~/bin (link) and in /usr/bin/
set the editor to be the path to the "mate" program (TextMate->Help->Terminal Usage...)
how i do this
in editor command : /usr/bin/mate
in editor argument : file -l %line
and always a problem
Alain
Le 22 févr. 06 à 23:33, Charilaos Skiadas a écrit :
On Feb 22, 2006, at 4:28 PM, Alain Matthes wrote:
in editor command : /usr/bin/mate
in editor argument : file -l %line
oops, that should of course have been %file -l %line
Alain
Haris
bad paste but %file -l %line
problem
Alain
Le 22 févr. 06 à 23:48, Charilaos Skiadas a écrit :
On Feb 22, 2006, at 4:44 PM, Alain Matthes wrote:
bad paste but %file -l %line
Hm, well, it works fine here. Can you send me the file?
problem
Alain
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Hm, this file works fine on my computer. The only other thing I can think of is that the mate command you have is an old version, though I am not sure if that is even possible. Did you start using TextMate from this last version?
Are you closing the preferences window in Texniscope before trying? When you command-click in the Texniscope document, what exactly happens? Does the focus move to TextMate, or does it stay in Texniscope? If it goes back to TextMate, does it go to the right file, but wrong line number, or it doesn't even find the right file? Try using the ~/bin path instead.
Haris
Le 23 févr. 06 à 00:02, Charilaos Skiadas a écrit :
Hm, this file works fine on my computer. The only other thing I can think of is that the mate command you have is an old version,
though I am not sure if that is even possible. Did you start using TextMate from this last version?
I don't understand . The version of textmate is 1.5 (906) i try svn two days ago
Are you closing the preferences window in Texniscope before trying?
yes
When you command-click in the Texniscope document, what exactly happens?
i see the cursor changes (éclair= z in french)
Does the focus move to TextMate, or does it stay in Texniscope?
stay in texniscope
If it goes back to TextMate, does it go to the right file, but wrong line number, or it doesn't even find the right file? Try using the ~/bin path instead.
i try and same problem
but now, it's good yes the problem is 1 instead l .
Thanks !!!!
Alain
1 for l (L) ????
Thanks Haris thanks Brad
I'm sorry for my mistake but in texniscope we can paste only with the click right and i saw that too late
Alain
Works fine for me as well. Did you double check that mate is actually installed in /usr/bin/ ?
Haris, this is a much mate %file -l %line is much easier to configure. The open url scheme was invented even before the mate command I think :-) We should probably update the documentation.
Brad
On Feb 22, 2006, at 4:48 PM, Charilaos Skiadas wrote:
On Feb 22, 2006, at 4:44 PM, Alain Matthes wrote:
bad paste but %file -l %line
Hm, well, it works fine here. Can you send me the file?
problem
Alain
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Le 22 févr. 06 à 23:55, Brad Miller a écrit :
Works fine for me as well. Did you double check that mate is actually installed in /usr/bin/ ?
yes and mate works fine
Haris, this is a much mate %file -l %line is much easier to configure. The open url scheme was invented even before the mate command I think :-) We should probably update the documentation.
In Texniscope : /usr/bin/mate and %file -1 %line
Thanks to lose some time with my little problem
Alain
On 23/2/2006, at 0:03, Alain Matthes wrote:
Haris, this is a much mate %file -l %line is much easier to configure. The open url scheme was invented even before the mate command I think :-) We should probably update the documentation.
In Texniscope : /usr/bin/mate and %file -1 %line
Thanks to lose some time with my little problem
Not sure if this means you got it working. But if not, the line you quoted uses -1 (that’s a one) and not -l (ell, as in lowercase L).
On Feb 22, 2006, at 4:55 PM, Brad Miller wrote:
Haris, this is a much mate %file -l %line is much easier to configure. The open url scheme was invented even before the mate command I think :-) We should probably update the documentation.
It's updated I think. At least my copy mentions the correct thing, and I never edited it myself.
Brad
Haris