Greetings all,
thanks to those who posted the pdfsync details for TeXniscope and TextMate: it's now working really well for me. If anyone's having difficulties getting the TM->PDF direction working it might be worth noting that teh command posted above by Thomas should be only 3 lines long. That is, there is a comment, then a single line (containing the "&&"), and the rest is a single command on a single line. Just be careful to delete any line breaks when you paste the script into the command window.
For what it's worth, the synchronisation behaviour here isn't the same as Flashmode (a la Claus Gerhardt's work): the latter provides "real time processing" of the input file, so that you see what you're producing as you type. That is, the file is being processed behind the scenes, and changes to the pdf file are produced on the fly.
Cheers, Paul
Paul McCann wrote:
For what it's worth, the synchronisation behaviour here isn't the same as Flashmode (a la Claus Gerhardt's work): the latter provides "real time processing" of the input file, so that you see what you're producing as you type. That is, the file is being processed behind the scenes, and changes to the pdf file are produced on the fly.
Yes, but the difference is "practically" just a matter of frequency and in "reality" of whether you need to issue the commands or have them on a timer.
mark.
On 14-04-2005 03:39, Paul McCann wrote:
For what it's worth, the synchronisation behaviour here isn't the same as Flashmode (a la Claus Gerhardt's work): the latter provides "real time processing" of the input file, so that you see what you're producing as you type. That is, the file is being processed behind the scenes, and changes to the pdf file are produced on the fly.
This is very nice and all, but it kinda goes against the philosophy behind LaTeX, which is to seperate content from representation. So that you can focus on the content first and on the layout later.
I know that everyone has used Word and is used to doing both at the same time. But LaTeX takes the layout of the whole document into account, so doing layout when you're halfway finished is a bit silly. LaTeX can do a pretty good job if you don't meddle with it or try to force it to do things. A while ago, I wrote a paper and once it was finished I had to do some touches here and there to perfect the layout (change some sentences to get nice word breaking), but that was it.
Jeroen.
Jeroen van der Ham wrote:
This is very nice and all, but it kinda goes against the philosophy behind LaTeX, which is to seperate content from representation. So that you can focus on the content first and on the layout later.
I know that everyone has used Word and is used to doing both at the same time. But LaTeX takes the layout of the whole document into account, so doing layout when you're halfway finished is a bit silly.
It sounds like you are making assumptions about how people use Flashmode and about which people use it.
(Background: Its an AppleScript application which communicates with an editor (e.g. BBEdit - TextMate is not supported yet) and the TeXniscope previewer.)
I believe that Flashmode is aimed at beginner to intermediate TeXnicians. I spent some time testing it in pre-release and I liked it (though since Claus released it at a time when I was really trying to move to ConTeXt wholesale, I have not licensed it (yet)).
For me, as an intermediate, the beauty is not in having flashmode running the whole time you are writing, right from the outset, but rather, you write your file, getting it (hopefully) mostly right. Then you turn on Flashmode and you take a look through the preview output. When you find things that you are not happy with, you can be taken straight back to the editor, make some changes and immediately (or after whichever time delay suits you) see the effect on the output without leaving the editor or having to issue any commands. Can be very helpful, for example in deciding where to split lines for aesthetic purposes or modifying table layouts etc.
You can stop flashmode at any time. You can adjust the frequency with which it runs your processing scripts. Have you never found yourself in a situation in TeX or LaTeX or ConTeXt where you have gotten into a:
small adjustment process the file preview the file don't like it small adjustment process the file preview the file better, but still not perfect small adjustment etc.
cycle ?
I have - and not only with TeXen. I can only imagine that its a rare coding God who wouldn't benefit from this at all.
mark.
On 14-04-2005 11:44, Mark Smith wrote:
Jeroen van der Ham wrote:
This is very nice and all, but it kinda goes against the philosophy behind LaTeX, which is to seperate content from representation. So that you can focus on the content first and on the layout later.
I know that everyone has used Word and is used to doing both at the same time. But LaTeX takes the layout of the whole document into account, so doing layout when you're halfway finished is a bit silly.
It sounds like you are making assumptions about how people use Flashmode and about which people use it.
small adjustment process the file preview the file don't like it small adjustment process the file preview the file better, but still not perfect small adjustment etc.
cycle ?
I have - and not only with TeXen. I can only imagine that its a rare coding God who wouldn't benefit from this at all.
True, but the pdfsync utility described before and TextMate scripting ability is a sufficient solution for that, at least for me.
Otherwise you're just relying on tinkering with it so long that it works and not understanding what is really happening.
As for beginning users for LaTeX, I'd recommend not using TextMate, but TeXShop instead. Provides all the useful macros in a very easy way and includes one button preview as well.
Jeroen.
Jeroen van der Ham wrote:
the pdfsync utility described before and TextMate scripting ability is a sufficient solution for that, at least for me.
For me too.
Otherwise you're just relying on tinkering with it so long that it works and not understanding what is really happening.
Its possible that this is true, but it needn't be. You can understand *and* tinker.
Both LaTeX and ConTeXt are, after all usually (and always by default) "non-grid aligned" (in the way that e.g. InDesign or Quark are) and its a rare person indeed who can *always* foresee *precisely* (in terms of layout) how the TeX processor is going to deal with his/her input.
As for beginning users for LaTeX, I'd recommend not using TextMate, but TeXShop instead. Provides all the useful macros in a very easy way and includes one button preview as well.
Fair point. Its a fine one-stop shop indeed.
mark.