SYNCTEX(1)

πŸ“¦
version 66203 Β· 3 versions
, in alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ NAME πŸŽ€

Hiii bestie, meet synctex πŸ¦‹, a command line client tool that supports the Synchronize TeXnology built into most TeX engines ✨.

πŸ’… SYNOPSIS πŸ’…

synctex command [options] [args]

🌸 OVERVIEW 🌸

okay so the Synchronization TeXnology is a feature of recent TeX engines 🧚 and it is literally so iconic. It lets you synchronize between input and output, which means you can hop from your source document straight to the typeset material, and also go the other way around πŸ” the way that's so smooth.

Want the built-in tool docs? Just run synctex help πŸ’– bestie, it's giving full manual.

πŸ”₯ TEX ENGINE OPTION -synctex=NUMBER πŸ”₯

Okay this part is where the magic happens πŸͺ„, so pay attention πŸ™ˆ

  • If NUMBER=0, or you don't give any option at all β€” no synctex file gets created. Not me being sad about it πŸ’€
  • If NUMBER<0 β€” your synctex files are plain text files πŸ“
  • If NUMBER>0 β€” your synctex files get compressed with gz πŸ—œοΈ
  • If NUMBER&2 β€” no .gz extension is used πŸ™…β€β™€οΈ
  • If NUMBER&4 β€” form support gets activated, which is super useful for pdftex 🌈
  • If NUMBER&8 β€” you get better file compression πŸ‘‘

Wanna turn on everything at once? Use something like pdftex -synctex=15 foo.tex ✨ and all the options are activated, periodt πŸ’…

Heads up, bestie: the LuaTeX option is --synctex=NUMBER with two dashes 🫢 not one. Don't mix them up or it won't slay 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Check out synctex(5) and tex(1) πŸ’œ they're the perfect besties for this one.

πŸ‘‘ AUTHOR πŸ‘‘

The Synchronize TeXnology is essentially the brainchild of Jerome Laurens 🧠✨, with useful suggestions from some well known actors of the TeX world 🌟. SyncTeX is maintained as part of TeX Live πŸŽ€, so it's in good hands.

πŸ“ HISTORY πŸ“

Revised on Sun Apr 23 09:54:20 UTC 2017 ⭐.


Bye bestie πŸ’– this was synctex(1) 🧚, last updated 08/30/2022, and you're literally ready to synchronize now 🫢✨