Giter Site home page Giter Site logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
For cmd-click (synctex-based source<->preview jump) to work, you need to pass 
the -synctex=1 option on 
the pdftex or xetex command line. I haven't looked into how this should be done 
with ConTeXt; maybe you can 
pass command-line options through texmfstart?

An alternative would be to add \synctex=1 to the beginning of your source file. 
But it would be good to add this 
to the default configuration of the ConTeXt tools, if someone could confirm how 
to do it.

Original comment by [email protected] on 15 Jul 2008 at 9:24

from texworks.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
right, synctex needs to be activated ... i forgot that TeXShop is unique using a
sync-mechanism that doesn't require additional code to be added. wouldn't it be 
great
to have this mechanism (pdfkit?) also as an option work TeXworks?! it works so 
great
and doesn't take time nor mem!

Original comment by [email protected] on 16 Jul 2008 at 10:28

from texworks.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
Well, if the ConTeXt tool can be set up to pass -synctex=1 on the command line, 
then nothing has to be done 
in the actual document; I just don't know how to pass options to the TeX engine 
via ConTeXt, but I'm sure we 
can get that done somehow.

TeXShop's sync mechanism based on PDF search is great when it works, but may 
not be so reliable on large or 
complex documents. It sometimes struggles with complex fonts, too, that can 
confuse the PDF search feature.

It might be nice to do a similar thing in TeXworks some day, but it can't be 
based on PDFkit as that's an 
Apple-specific framework. For portability, we'd have to use Poppler's text 
extraction facilities as the basis, 
and I haven't worked on this yet. But anyhow, I think that if SyncTeX is set up 
to be enabled by default in the 
tools, that will provide robust sync behavior and you won't really miss the 
other approach.


Original comment by [email protected] on 16 Jul 2008 at 10:38

from texworks.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
To 1: Hans promised he will implement this when TeXworks is stable.
To 2: I regularly use it on large (500 to 600 A4 pages) and not too complex
(thousands of footnotes and index marks but only latin font) documents and 
never had
any problem – lucky me ;o)
To 3: Is was just a bit in doubt cause typesetting my project takes quite long 
anyway
(for HZ's sake!) ... and Hans mentioned that synctex will use quite some time 
and
memory when typesetting. pdfkit's sync doesn't.

Original comment by [email protected] on 16 Jul 2008 at 11:53

from texworks.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
I'm marking this as a possible enhancement, but will not be working on it for 
the time being; ensuring synctex 
works well is a higher priority at the moment.

Original comment by [email protected] on 29 Jul 2008 at 10:09

  • Changed state: Accepted
  • Added labels: Type-Enhancement, Priority-Low
  • Removed labels: Type-Defect, Priority-Medium

from texworks.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
I invoke ConTeXt like
texexec --passon="-synctex=1" $filename
and synctex works.



Original comment by [email protected] on 12 Jun 2009 at 2:09

from texworks.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
The latest beta (the feature that will probably end up in TL 2009) also has
    texexec --synctex filename
syntax enabled (but at the moment passon might be safer from the perspective of 
being more backward-
compatible).

Original comment by [email protected] on 15 Jun 2009 at 11:11

from texworks.

stloeffler avatar stloeffler commented on July 22, 2024

--synctex is passed to context since 014c504.

from texworks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.