Comments (8)
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.
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.
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.
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.
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.
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.
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.
--synctex is passed to context since 014c504.
from texworks.
Related Issues (20)
- Editor: unexpected space=no break space HOT 3
- PDF Preview Lines Look Bad / Artifacted in Windows HOT 3
- Go to line dialog
- Enhance the tag panel of the editor
- 'Insert Citations' feature: implementations request
- test_poppler-qt6 (Failed) on Fedora 40 HOT 3
- Ugly rendering of the output visualization of TeXworks HOT 13
- Compilation error when building Python scripting module HOT 3
- Python Plugin: cmake has dropped support for PythonInterp and PythonLibs, use FindPython instead HOT 1
- Lua syntax pattern HOT 2
- "Errors, warnings, badboxes" hook script
- Support for "time" Unix command
- Icon of texworks in svg HOT 1
- 0.6.9 can not use synctex to file that has a chinese path, but 0.6.8 in miktex work well. HOT 1
- Texworks stopped working on Ubuntu HOT 5
- Show the open file in the os file explorer HOT 4
- Test failures in poppler-qt5 HOT 7
- Find & Replace dialogs should put focus on text input field
- Improve spell checker please
- Improve Undo function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from texworks.