Are there any plans to add synctex support to the LaTeX bundle? Synctex is part of the *tex engine and replaces pdfsync. It will be part of TeXLive 2008. Skim.app already includes support for synctex.
On Aug 7, 2008, at 12:44 PM, Mark Moll wrote:
Are there any plans to add synctex support to the LaTeX bundle? Synctex is part of the *tex engine and replaces pdfsync. It will be part of TeXLive 2008. Skim.app already includes support for synctex.
Yes there are. In fact, they were first formed the moment I heard about synctex on the mactex mailing list. I haven't gotten around to looking closer into it though. Don't know if Brad has had time to think about it either.
So how can we test if the installed tex has synctex support or not?
-- Mark
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On 08/08/2008, at 4:11 PM, Charilaos Skiadas wrote:
So how can we test if the installed tex has synctex support or not?
Good question. I've got MacTeX 2008 running on my machine, so I can do testing if necessary. If you would like to sign up to the MacTeX mailing list you can get access to beta versions of MacTeX: <http://tug.org/mailman/listinfo/mactex
Unfortunately I can't make the location of the download public :) But the release is not *too* far off, I think.
Will
On Aug 8, 2008, at 3:27 AM, Will Robertson wrote:
On 08/08/2008, at 4:11 PM, Charilaos Skiadas wrote:
So how can we test if the installed tex has synctex support or not?
Good question. I've got MacTeX 2008 running on my machine, so I can do testing if necessary. If you would like to sign up to the MacTeX mailing list you can get access to beta versions of MacTeX: <http:// tug.org/mailman/listinfo/mactex>
Unfortunately I can't make the location of the download public :) But the release is not *too* far off, I think.
I've been subscribed to the mactex mailing list for a while now, but I must be missing something. How do I get this beta? And is it in the standard format where a preference pane can be used to switch back and forth between different distributions?
Now, apart from that, am I correct that all textmate would need to do once it detects the presence of synctex, is to signal to the viewer in the exact same way that it did for pdfsync?
Will
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On 09/08/2008, at 1:07 AM, Charilaos Skiadas wrote:
I've been subscribed to the mactex mailing list for a while now, but I must be missing something. How do I get this beta?
Are you sure you're not subscribed to the "TeX on Mac OS X" mailing list, or whatever it's called? :) I looked for something like your email in the subscribers list and didn't see anything similar.
The MacTeX list is very low traffic and deals primary with new versions of TeX software that need testing or whatever.
And is it in the standard format where a preference pane can be used to switch back and forth between different distributions?
Yep.
Now, apart from that, am I correct that all textmate would need to do once it detects the presence of synctex, is to signal to the viewer in the exact same way that it did for pdfsync?
I haven't looked into the details but I'm pretty sure the syntax would be similar if not identical. One minor change is that the sync file is now gz-compressed to save some bytes. Otherwise, I suspect there might be other minimal changes resulting from the fact that the engine itself is generating this data rather than LaTeX macros.
Hope this helps, Will
I've just committed a change to the LaTeX bundle in the subversion repository to add support for synctex. If your typesetting engine supports the -synctex=# option then it will be used. syncing still works with pdfsync if you don't have the synctex option.
If you can try it out please do and let me know if you have any problems.
Thanks,
Brad
On Fri, Aug 8, 2008 at 12:46 PM, Will Robertson wspr81@gmail.com wrote:
On 09/08/2008, at 1:07 AM, Charilaos Skiadas wrote:
I've been subscribed to the mactex mailing list for a while now, but I must be missing something. How do I get this beta?
Are you sure you're not subscribed to the "TeX on Mac OS X" mailing list, or whatever it's called? :) I looked for something like your email in the subscribers list and didn't see anything similar.
The MacTeX list is very low traffic and deals primary with new versions of TeX software that need testing or whatever.
And is it in the
standard format where a preference pane can be used to switch back and forth between different distributions?
Yep.
Now, apart from that, am I correct that all textmate would need to do
once it detects the presence of synctex, is to signal to the viewer in the exact same way that it did for pdfsync?
I haven't looked into the details but I'm pretty sure the syntax would be similar if not identical. One minor change is that the sync file is now gz-compressed to save some bytes. Otherwise, I suspect there might be other minimal changes resulting from the fact that the engine itself is generating this data rather than LaTeX macros.
Hope this helps, Will
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
You beat me to it Brad! Nice work. Seems to work over here, on a quick inspection. One thought though. If synctex is like pdfsync, then the specials it includes in the pdf might occasionally cause changes in the layout, so it would be nice if one is given the option in the LaTeX preferences of not using synctex. This should default to "synctex if texlive2008, or pdfsync when included", with the option of disabling it, corresponding to "no syncing". So perhaps an option saying "Allow synchronization when possible", checked by default, and the tooltip giving details.
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On Aug 10, 2008, at 6:55 PM, Brad Miller wrote:
I've just committed a change to the LaTeX bundle in the subversion repository to add support for synctex. If your typesetting engine supports the -synctex=# option then it will be used.
syncing still works with pdfsync if you don't have the synctex option.
If you can try it out please do and let me know if you have any problems.
Thanks,
Brad
On Fri, Aug 8, 2008 at 12:46 PM, Will Robertson wspr81@gmail.com wrote: On 09/08/2008, at 1:07 AM, Charilaos Skiadas wrote:
I've been subscribed to the mactex mailing list for a while now, but I must be missing something. How do I get this beta?
Are you sure you're not subscribed to the "TeX on Mac OS X" mailing list, or whatever it's called? :) I looked for something like your email in the subscribers list and didn't see anything similar.
The MacTeX list is very low traffic and deals primary with new versions of TeX software that need testing or whatever.
And is it in the standard format where a preference pane can be used to switch back and forth between different distributions?
Yep.
Now, apart from that, am I correct that all textmate would need to do once it detects the presence of synctex, is to signal to the viewer in the exact same way that it did for pdfsync?
I haven't looked into the details but I'm pretty sure the syntax would be similar if not identical. One minor change is that the sync file is now gz-compressed to save some bytes. Otherwise, I suspect there might be other minimal changes resulting from the fact that the engine itself is generating this data rather than LaTeX macros.
Hope this helps, Will
On 11/08/2008, at 10:02 PM, Charilaos Skiadas wrote:
You beat me to it Brad! Nice work. Seems to work over here, on a quick inspection. One thought though. If synctex is like pdfsync, then the specials it includes in the pdf might occasionally cause changes in the layout
I don't know for certain, but I don't think synctex uses specials to output the information in the same way that pdfsync does. That's one of the reasons the syncing was pulled into the engines (pdfTeX, XeTeX) themselves (i.e., to avoid the problem of layout side-effects).
Sorry, I haven't had time yet to update my LaTeX bundle, but I'm in the process of getting the GetBundle, er, bundle to help me out with that.
Cheers, Will
On Aug 11, 2008, at 10:49 AM, Will Robertson wrote:
On 11/08/2008, at 10:02 PM, Charilaos Skiadas wrote:
You beat me to it Brad! Nice work. Seems to work over here, on a quick inspection. One thought though. If synctex is like pdfsync, then the specials it includes in the pdf might occasionally cause changes in the layout
I don't know for certain, but I don't think synctex uses specials to output the information in the same way that pdfsync does. That's one of the reasons the syncing was pulled into the engines (pdfTeX, XeTeX) themselves (i.e., to avoid the problem of layout side-effects).
This would indeed be good news. But where can we find more information about SyncTeX, assuming we have obtained the TexLive2008 beta?
Sorry, I haven't had time yet to update my LaTeX bundle, but I'm in the process of getting the GetBundle, er, bundle to help me out with that.
Unless things have changed, the GetBundle bundle only helps with installing bundles that don't come with TextMate. Since the LaTeX bundle comes built into TextMate, you will likely need to directly use svn to check out the repository. I think the instructions are here:
http://wiki.macromates.com/Main/SubversionCheckout
Hope things haven't changed too much since the last time I looked. For this you would need an svn client installed. Let us know if you run into any difficulties.
Cheers, Will
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On Aug 10, 2008, at 5:55 PM, Brad Miller wrote:
I've just committed a change to the LaTeX bundle in the subversion repository to add support for synctex. If your typesetting engine supports the -synctex=# option then it will be used.
syncing still works with pdfsync if you don't have the synctex option.
If you can try it out please do and let me know if you have any problems.
It doesn't seem to be working for me, but this may be a Skim problem. I have the following document called untitled.tex:
------------------------ \documentclass{article} \begin{document} test \newpage test \end{document} ------------------------
I used xelatex (from svn) with synctex enabled to create a pdf and synctex.gz files. I open the pdf file in Skim. The following commands should then go to page 1 and page 2 (if I understand the script correctly), but they don't:
/Applications/Skim.app/Contents/Resources/displayline 3 untitled.pdf untitled.tex /Applications/Skim.app/Contents/Resources/displayline 5 untitled.pdf untitled.tex
Mark, There appears to be something wrong with Skim. I have tried the same experiment as you and I do not get the required result.
I learned that when testing you have to make sure to delete the pdfsync file that gets created or Skim will happily use that data file. When I only have the xxx.synctex.gz file I cannot get syncing to work in either direction.
Brad
On Mon, Aug 11, 2008 at 10:20 AM, Mark Moll mmoll@cs.rice.edu wrote:
On Aug 10, 2008, at 5:55 PM, Brad Miller wrote:
I've just committed a change to the LaTeX bundle in the subversion repository to add support for synctex. If your typesetting engine supports the -synctex=# option then it will be used.
syncing still works with pdfsync if you don't have the synctex option.
If you can try it out please do and let me know if you have any problems.
It doesn't seem to be working for me, but this may be a Skim problem. I have the following document called untitled.tex:
\documentclass{article} \begin{document} test \newpage test \end{document}
I used xelatex (from svn) with synctex enabled to create a pdf and synctex.gz files. I open the pdf file in Skim. The following commands should then go to page 1 and page 2 (if I understand the script correctly), but they don't:
/Applications/Skim.app/Contents/Resources/displayline 3 untitled.pdf untitled.tex /Applications/Skim.app/Contents/Resources/displayline 5 untitled.pdf untitled.tex
-- Mark
Actually, it doesn't work for me either. I was only seeing it work because I had forgotten the pdfsync file there. The synctex file seems to be created properly, so there does seem to be a problem with Skim.
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On Aug 11, 2008, at 11:44 AM, Brad Miller wrote:
Mark,
There appears to be something wrong with Skim. I have tried the same experiment as you and I do not get the required result.
I learned that when testing you have to make sure to delete the pdfsync file that gets created or Skim will happily use that data file. When I only have the xxx.synctex.gz file I cannot get syncing to work in either direction.
Brad
On Mon, Aug 11, 2008 at 10:20 AM, Mark Moll mmoll@cs.rice.edu wrote:
On Aug 10, 2008, at 5:55 PM, Brad Miller wrote: I've just committed a change to the LaTeX bundle in the subversion repository to add support for synctex. If your typesetting engine supports the -synctex=# option then it will be used.
syncing still works with pdfsync if you don't have the synctex option.
If you can try it out please do and let me know if you have any problems.
It doesn't seem to be working for me, but this may be a Skim problem. I have the following document called untitled.tex:
\documentclass{article} \begin{document} test \newpage test \end{document}
I used xelatex (from svn) with synctex enabled to create a pdf and synctex.gz files. I open the pdf file in Skim. The following commands should then go to page 1 and page 2 (if I understand the script correctly), but they don't:
/Applications/Skim.app/Contents/Resources/displayline 3 untitled.pdf untitled.tex /Applications/Skim.app/Contents/Resources/displayline 5 untitled.pdf untitled.tex
-- Mark
I don't have MacTex2008, but I do have xetex from svn. You can do something like:
xetex --help | grep synctex
-synctex=NUMBER generate SyncTeX data for previewers if nonzero
For older version of xetex this would return an empty string, I imagine.
On Aug 8, 2008, at 1:41 AM, Charilaos Skiadas wrote:
On Aug 7, 2008, at 12:44 PM, Mark Moll wrote:
Are there any plans to add synctex support to the LaTeX bundle? Synctex is part of the *tex engine and replaces pdfsync. It will be part of TeXLive 2008. Skim.app already includes support for synctex.
Yes there are. In fact, they were first formed the moment I heard about synctex on the mactex mailing list. I haven't gotten around to looking closer into it though. Don't know if Brad has had time to think about it either.
So how can we test if the installed tex has synctex support or not?
-- Mark
Haris Skiadas Department of Mathematics and Computer Science Hanover College
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Fri, Aug 8, 2008 at 1:41 AM, Charilaos Skiadas cskiadas@gmail.comwrote:
On Aug 7, 2008, at 12:44 PM, Mark Moll wrote:
Are there any plans to add synctex support to the LaTeX bundle? Synctex is part of the *tex engine and replaces pdfsync. It will be part of TeXLive 2008. Skim.app already includes support for synctex.
Yes there are. In fact, they were first formed the moment I heard about synctex on the mactex mailing list. I haven't gotten around to looking closer into it though. Don't know if Brad has had time to think about it either.
Its been on my long-term todo list as well. But I'd kind of forgotten about it until now. I'm running Skim 1.1.10 and I don't see any visual evidence that it supports synctex. I also have not had the time to download the TeXLive 2008 beta.
The book goes to the printer next week so there may be a small window of opportunity to look at this before school starts up again.
Brad
So how can we test if the installed tex has synctex support or not?
-- Mark
Haris Skiadas Department of Mathematics and Computer Science Hanover College
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Aug 8, 2008, at 10:37 AM, Brad Miller wrote:
On Fri, Aug 8, 2008 at 1:41 AM, Charilaos Skiadas cskiadas@gmail.com wrote: On Aug 7, 2008, at 12:44 PM, Mark Moll wrote:
Are there any plans to add synctex support to the LaTeX bundle? Synctex is part of the *tex engine and replaces pdfsync. It will be part of TeXLive 2008. Skim.app already includes support for synctex.
Yes there are. In fact, they were first formed the moment I heard about synctex on the mactex mailing list. I haven't gotten around to looking closer into it though. Don't know if Brad has had time to think about it either.
Its been on my long-term todo list as well. But I'd kind of forgotten about it until now. I'm running Skim 1.1.10 and I don't see any visual evidence that it supports synctex.
It's only described on the Skim wiki:
http://skim-app.sourceforge.net/wiki/index.php/TeX_and_PDF_Synchronization
I also have not had the time to download the TeXLive 2008 beta.
The book goes to the printer next week so there may be a small window of opportunity to look at this before school starts up again.
Brad
So how can we test if the installed tex has synctex support or not?