We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

14

The optional argument to \ProvidesPackage must be of the form [yyyy/mm/dd Additional info] for instance \ProvidesPackage{tahbiblatex}[2012/04/10, by tah modified by sm and egreg] In particular, one digit numbers of days or months must be prefixed by 0 and the year must be in four digit form. So January 2nd, 2013 has to be expressed as 2013/01/02 ...


11

A propos better SyncTeX'ing... Backwards search in TeX is inherently a badly posed problem. For example, if you ctrl-click on a word in the output title of a latex document, should you be backwarded to the line containing the \maketitle command (the one that created the title) or the line containing the \title command (the one that defined the title). Both ...


7

You shouldn't load packages you don't know about. And most likely you don't know about pdfsync that has been obsolete for several years and is only useful nowadays for spoiling the typesetting.1 It turns out that with a recent TeX distribution (TeX Live 2018 or later), the problem does not appear, while it happens with earlier versions. Just remove pdfsync....


7

I had a stupendous mess trying to use pdfsync in combination with ledmac-ledpar. It seems that something in pdfsync interferes with the columns or parallel pages settings. Thus, my recomendation would be at least to add a warning of not using the package in combination with multicol, ledpar and similar packages.


4

The trick to making a good MWE is to keep removing packages that are not used by the example until the problem goes away. In this case \usepackage{pdfsync} is the tipping point. This presumably adds some whatsit nodes to enable the sync to happen that are messing up the colortbl spacing.


4

You have to define a monospaced font that supports Cyrillic; the default one (Latin Modern Mono) doesn't. \documentclass[12pt,a4paper,serbian,oneside]{book} % minted - paket za prikaz programa \usepackage{minted} % srpski jezik \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage[Script=Cyrillic]{serbian} \setmainfont{Times New Roman} \...


3

Given the provided psuthesis.cls and the following MWE: \documentclass[draft,phd,inlinechaptertoc]{psuthesis} %\usepackage{pdfsync} \usepackage{array} \begin{document} \begin{table}[H] \centering \caption{Reservoir parameters} \begin{tabular}{|c|p{2cm}|c|c|c|} \hline Parameter & low & mid & high & Unit \\ \hline Initial Flow Rates ($\...


3

With modern TeX installations, you shouldn't use pdfsync at all as support is now embedded into pdfTeX and XeTeX. See the README.


3

As per the documentation you should use the [novbox] package option: In case of severe conflicts with another package, try instead \usepackage[novbox]{pdfsync} Code: \documentclass{book} \usepackage{tabularx} % LINE-A \usepackage[novbox]{pdfsync} % LINE-B \begin{document} \chapter{fawef} \begin{table}[h] \begin{center} \begin{...


3

(Note: I've revised this answer completely after the OP posted the code of the thesis class in question.) Thanks for posting the code of the thesis class you use. It turns out that this class file loads the pdfsync package, which is known to cause all kinds of problems. In my answer to an earlier posting entitled table badly too wide, I wrote the following: ...


2

This is a supplement to Anabel's answer. The package documentation for the last update of pdfsync states: This is most certainly the last update of this package, this technology will most certainly be embedded in pdfTEX and XETEX engines and won’t rely any longer on pdf techniques. As a matter of fact, synchronization will be available both for dvi, ...


2

Please forgive my ignorance -- in essence, Jérôme's paper linked above contains many answers. To sum up: SyncTeX is embedded deeply into TeX TeX does not record column information for the input file Thus, the best we can get is line accuracy plus added accuracy through text analyisis With credit to percusse for the idea, how about the following approach. A ...


2

TextMate supports SyncTeX via Skim: Download and install Skim Open Skim, go to “Skim” → “Preferences…” → “Sync” and choose “TextMate” as Preset Open TextMate Go to “TextMate” → “Preferences…” → “Terminal” and install “Shell Support” Go to “Bundles” → “LaTeX” → “Preferences” Choose Skim as PDF Viewer (“View In: Skim”) The shortcut for SyncTeX in ...


2

I finally found a solution for that by configuring emacs (aquamacs): source: http://article.gmane.org/gmane.emacs.auctex.general/4285 (defadvice server-goto-line-column (after server-visit-region.tex (line-col) activate) "When visiting _region_.tex from an external source (e....


2

The error is due to \usepackage{pdfsync}; the pdfsync package was a first attempt for providing inverse search from the PDF file to the TeX file, but it has several problems and, above all, it has been made obsolete by the SyncTeX technology now used by default in all TeX engines, provided the -synctex=1 option is enabled, which is by default with TeXShop. ...


2

I deliberately marked this answer as community wiki because it is not actually a direct answer, but along the lines of an elaborate comment which is too long to be posted as such. I really don't feel like harvesting reputation. :) For starters, thanks for the log. :) It is clear, from inspecting the log, that arara successfully goes through all the motions ...


1

This solved my problem: Options --> Execution Modes --> Tex Options --> Uncheck the "Use %P if the folder doesn't exist."


1

This question had been resolved. Do not use the pdfsync package. And this solves all the synchronization issues. I discovered this solution while I am constructing a minimal document that repeats the problem. Again, you are welcomed to use my distribution of Vim on Github to compile your tex files.


1

The way I look at the problem is that with SyncTex you can get the input line number, but you do not know the word number nor the column number. You can get the total number of words in a file (and even a section) with word count. If you processed the file input line by input line you should be able to get the words per input line. I haven't looked at how ...


1

I would like to make sure first that I understand your question correctly. Are you interested in using direct and inverse search with MikTeX commonly used distribution of TeX and friends for Windows OS? It that is problem you are trying to solve it is already solved. I am not a Windows user but I know of at least two ways that you can do inverse and direct ...


Only top voted, non community-wiki answers of a minimum length are eligible