1

When we do compiling tex file, we have a pdf file. In some pdf file (In online there exists a lot of such files), if we click, for instance, tex formula in the context, then we moved into tex formula paragraph or page.

Or in content page, if we click a section, then we move into the section page

How do we write in tex file to do this ? I think that we need the some package But I can not programming. If you have package, then can you give me ?

I usually use the following :

\documentclass[10pt]{amsart}\usepackage[hmargin=0.5in, vmargin=0.2in]{geometry}
\usepackage{color}
\usepackage{graphicx}
\usepackage{multimedia, hfont, hangul}
\newtheorem{fac}{Fact} \newtheorem{idea}{IDEA}\newtheorem{cor}{Corollary}
\newtheorem{con}{Conjecture}\newtheorem{exa}{Example}\newtheorem{exe}{Exercise}
\newtheorem{thm}{Theorem}\newtheorem{defn}{Definition}\newtheorem{prop}{Proposition}
\newtheorem{lem}{Lemma}
\newtheorem{form}{Formula} \newtheorem{prf}{Proof}
\newtheorem{rmk}{Remark}
\begin{document}
\end{document}

In here we have a such fuctioning ? If so, please tell me about it.

Thank in advace.

  • 1
    Normally you don't have to do whatever: this is managed with a synchronisation file (.synctex or .synctex.gz). What's required it to configure your editor for that, and use a viewer which doesn't lock .pdf files and understands these synchronisation files. What is your system? – Bernard Apr 17 '16 at 13:36
  • 1
    I mean MiKTeX or TeX Live? which editor do you use? Which pdfviewer? – Bernard Apr 17 '16 at 13:47
  • 4
    2003?!!! It is totally outdated. You should upgrade to the latest version. At the time .synctex files didn't exist. Don't use Acrobat Reader, as it it locks .pdf files. The best choice, in my opinion, is SumatraPDF: very small (4Mo to download, 11Mo installed, vs >250 Mo for Acrobat Reader), ultra-fast, exists in 64 bits, understands .synctex files. – Bernard Apr 17 '16 at 14:04
  • 1
    @Bernard I'm not sure the OP is asking about synchronisation with the source because they say that it works when they download somebody's file, which suggests whatever it is, it works when they download a PDF without the source. I think they're asking about hyperlinks and need to load hyperref. But obviously an updated TeX system is surely needed, all the same. – cfr Apr 17 '16 at 15:55
  • 2
    Are you just asking about adding hyperlinks from one part of the document to another? If so then you should upgrade your TeX system and then add the command \usepackage{hyperref} to your preamble. Now \label, \ref and \cite, for example, all generate hyperlinks. – Andrew Apr 18 '16 at 4:08
0

First thank you for your consistent helps : Bolker, Bernard, cfr, Kormylo, Andrew Thank you for your comments.

My old miktex is version 2.3 so that I may not be given from updating place, since it does not provide service. So fortunately I equip version 2.9 from web It works well with acrobat reader DC The following is my example.

\documentclass[10pt]{amsart}

\usepackage{color, hyperref} %%<-

\usepackage{graphicx}

\begin{document}

Critical Point Theory 90 \eqref{exa1} %%<- Well known theory \eqref{thm1} %%<-

\begin{exa}\label{exa1} %%<-

In ...

\end{exa}

\begin{thm}\label{thm1} %%<-

If ...

\end{thm}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.