General ⇒ "self-referencing" Problem
"self-referencing" Problem
I am doing a transcription now, and I need to prepare a summary for it, by writing a sentence that summarize what the part of conversation is about.
I put the transcription as appendix in a latex file, and I wanna know, can I somehow "cross-reference" that part of conversation and should it directly in the summary? I have tried the vref package, but it only shows me the page number and line number, which is not enough. And I don't want to copy and paste the same thing all the time, which is troublesome if there is any amendment in the transcript.
Thanks again.
Enoch
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: "self-referencing" Problem
Is this what you want?
Re: "self-referencing" Problem
the "autoref{app:...}" just gives me "section 1", but actually I want to have the whole paragraph appear before section 123.
Here is the code:
***
\documentclass[11pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{hyperref}
\begin{document}
\autoref{app:...}
\newpage
\section{123}
\label{app:...}I put the transcription as appendix in a latex file, and I wanna know, can I somehow "cross-reference" that part of conversation and should it directly in the summary? I have tried the vref package, but it only shows me the page number and line number, which is not enough. And I don't want to copy and paste the same thing all the time, which is troublesome if there is any amendment in the transcript.
\end{document}
***
If the code do what I want to, it should be able to show the paragraph first, then the section name, and then the paragraph again, if I change the paragraph in tex file, both paragraphs will change accordingly.
Re: "self-referencing" Problem
To use this feature with appendices do the following:
In the preamble:
\usepackage[toc,page,titletoc]{appendix}
In the document:
In the \autoref{app:doc123} we have the...
\begin{appendices}
\appendix
\chapter{Document 123 or something else}
\label{app:doc123}
...
\end{appendices}
Re: "self-referencing" Problem
***
\documentclass[11pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[toc,page,titletoc]{appendix}
\usepackage{hyperref}
\begin{document}
In the \autoref{app:doc123} we have the...
\begin{appendices}
\appendix
\chapter{Document 123 or something else}
\label{app:doc123}
qweqweqwe
\end{appendices}
\end{document}
***
But I just received this:
***
In the section we have the...
Appendices
Document 123 or something else qweqweqwe
***
Did I miss anything?
"self-referencing" Problem
the arcticle-class has no chapter. The structuring starts with section. For writing a document with autoref you have to specify the language and you have to load babel.
Code: Select all
\listfiles
\documentclass[english,11pt,a4paper]{article}
\usepackage{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[toc,page,titletoc]{appendix}
\usepackage{hyperref}
\begin{document}
In the \autoref{app:doc123} we have the...
\begin{appendices}
\appendix
\section{Document 123 or something else}
\label{app:doc123}
qweqweqwe
\end{appendices}
\end{document}

Re: "self-referencing" Problem
I guess it isn´t necessary to define the laguage and use babel, at least if you are writing in english.
In other case you will need to specify the language and maybe redefine the names given by autoref and for the apendixpage and TOC name, this way: for example in spanish,
\def\appendixautorefname{Apéndice}
\renewcommand*{\appendixtocname}{Apéndices}
\renewcommand*{\appendixpagename}{Apéndices}
in german
\def\appendixautorefname{Anhang}
...
I hope this is enough!

Re: "self-referencing" Problem
I would like to have something like this:
***
Summary: This is a summary.
Example:
This is the example that is extracted from the appendix
Appendix:
This is the example that is extracted from the appendix
***
I wanna see if it is possible that:
When I change "This is the example that is extracted from the appendix" from the Appendix section, the changes is done automatically in the Example section.
I need to quote tons of things from the appendix, and I don't want to copy and paste the articles, which the risk that if I change something in the Appendix section, I need to check all the Examples again.
Thanks a lot!