When using pdflatex I generate synctex file for inverse search (point and click in SumatraPDF brings me to a correct line in TeXnicCenter). This works perfectly
However, if I use the crop package the line numbers that the inverse search gives are wrong (offset by some number). So clicking in PDF brings me too far in tex source. This is quite annoying and definitely not how it should be.
Example:
\documentclass{article}
\usepackage[paperwidth=16cm,paperheight=24cm,showframe]{geometry}
%\usepackage[a4,frame,center]{crop}
\usepackage{lipsum}
\begin{document}
\lipsum
\lipsum
\lipsum
\end{document}
For a good example, put the text generated by \lipsum back in the source and uncomment the \usepackage{crop} line. Otherwise there is not enough text to see the effect.
Any ideas how to solve it? BTW: where is synctex maintained?
FYI: the \filelist of this compilation is:
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
geometry.sty 2010/09/12 v5.6 Page Geometry
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
ifpdf.sty 2010/01/28 v2.1 Provides the ifpdf switch (HO)
ifvtex.sty 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
crop.sty 2003/05/20 v1.9 crop marks (mf)
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdftex.def 2011/01/28 v0.05d Graphics/color for pdfTeX
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
crop.cfg
lipsum.sty 2011/02/08 v1.1 150 paragraphs of Lorem Ipsum dummy text
atbegshi.sty 2010/03/25 v1.12 At begin shipout hook (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
ltxcmds.sty 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
supp-pdf.mkii
pdftexcmds.sty 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
grfext.sty 2007/09/30 v1.0 Managing graphics extensions (HO)
kvoptions.sty 2010/02/22 v3.7 Keyval support for LaTeX options (HO)
kvsetkeys.sty 2010/03/01 v1.9 Key value parser (HO)
etexcmds.sty 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
***********
croppackage was mentioned as solution. – Martin Scharrer♦ Apr 19 '11 at 17:58