Search found 9 matches
- Tue Apr 30, 2013 12:54 pm
- Forum: Text Formatting
- Topic: Selectively turn off Hyperlinks
- Replies: 3
- Views: 17155
Re: Selectively turn off Hyperlinks
Thanks, but both solutions still have a bit of a problem in this particular case... I need to send the PDF electronically, so people could click on the link, even if it is black. Href to nolinkurl is also somewhat problematic (I assume you mean a "replace all" here), since I have hrefs for both ...
- Thu Apr 25, 2013 9:19 am
- Forum: Text Formatting
- Topic: Selectively turn off Hyperlinks
- Replies: 3
- Views: 17155
Selectively turn off Hyperlinks
Hi all,
I have a document that uses hyperref and has links to sections, URLs and outside PDFs. As you know, both URLs and outside PDF files use \href for linking to them. My question is: is there a way to turn off all file links without affecting the URL links? A short example with both types of ...
I have a document that uses hyperref and has links to sections, URLs and outside PDFs. As you know, both URLs and outside PDF files use \href for linking to them. My question is: is there a way to turn off all file links without affecting the URL links? A short example with both types of ...
- Sat Apr 20, 2013 10:09 pm
- Forum: General
- Topic: Permission for Hyperlink to PDF File
- Replies: 0
- Views: 3794
Permission for Hyperlink to PDF File
I am using the hyperref package to link to outside PDF files from my file. Here is a minimal example.
\documentclass[10pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage{hyperref}
\begin{document}
This is a test link. \href{Supertabular.pdf}{testLink}
\end{document}
In the output ...
\documentclass[10pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage{hyperref}
\begin{document}
This is a test link. \href{Supertabular.pdf}{testLink}
\end{document}
In the output ...
- Sat Apr 20, 2013 9:37 pm
- Forum: General
- Topic: Counters as Variables
- Replies: 2
- Views: 5509
Counters as Variables
Solved - more or less, by using packages totcount and fp and by using \csname . Couldn't find a simpler workaround.
After filling in counters countA and countB , defined whit \newtotcount I can do this.
\FPdiv\intresult{\csname thecountA\endcsname}{\csname thecountB\endcsname}
\FPround\final ...
After filling in counters countA and countB , defined whit \newtotcount I can do this.
\FPdiv\intresult{\csname thecountA\endcsname}{\csname thecountB\endcsname}
\FPround\final ...
- Fri Apr 19, 2013 7:15 pm
- Forum: General
- Topic: Counters as Variables
- Replies: 2
- Views: 5509
Counters as Variables
Hi,
Let's say I have two counters set up in a file that do their counting correctly. Printing out a total value of a counter is simple, but how could I print out a ratio of two totals (something like \total{counta}/\total{countb} ) to a specific number of decimal points? Also, how could I print the ...
Let's say I have two counters set up in a file that do their counting correctly. Printing out a total value of a counter is simple, but how could I print out a ratio of two totals (something like \total{counta}/\total{countb} ) to a specific number of decimal points? Also, how could I print the ...
- Sun Feb 26, 2012 8:21 pm
- Forum: Text Formatting
- Topic: Output of a counter BEFORE counting
- Replies: 10
- Views: 7635
Output of a counter BEFORE counting
OK, so here is the simple workaround:
use package totcount and do:
\newtotcounter{Nature}
\begin{enumerate}
\addtocounter{Nature}{1}
\item{Blablabla}
\addtocounter{Nature}{1}
\item{Second item}
\end{enumerate}
and then you can use \total{Nature} anywhere in the text and still your enumeration ...
use package totcount and do:
\newtotcounter{Nature}
\begin{enumerate}
\addtocounter{Nature}{1}
\item{Blablabla}
\addtocounter{Nature}{1}
\item{Second item}
\end{enumerate}
and then you can use \total{Nature} anywhere in the text and still your enumeration ...
- Sun Feb 26, 2012 8:10 pm
- Forum: Text Formatting
- Topic: Output of a counter BEFORE counting
- Replies: 10
- Views: 7635
Output of a counter BEFORE counting
So, I didn't solve it after all... I thought the package totcount would help me, but not really. Here is the problem:
If I write something like:
\vskip 5mm
\newtotcounter{Nature}
\begin{enumerate}
\usecounter{Nature}
\item{Blablabla}
\end{enumerate}
then I can use \total{Nature} anywhere in the ...
If I write something like:
\vskip 5mm
\newtotcounter{Nature}
\begin{enumerate}
\usecounter{Nature}
\item{Blablabla}
\end{enumerate}
then I can use \total{Nature} anywhere in the ...
- Sun Feb 26, 2012 4:34 pm
- Forum: Text Formatting
- Topic: Output of a counter BEFORE counting
- Replies: 10
- Views: 7635
Re: Output of a counter BEFORE counting
Solved, thanks.
- Sun Feb 26, 2012 3:07 pm
- Forum: Text Formatting
- Topic: Output of a counter BEFORE counting
- Replies: 10
- Views: 7635
Output of a counter BEFORE counting
Hi,
perhaps this is simple, but I just can't get my head around it... is there a way to output a final counter value before the counter actually starts? For example, an output like:
Item count:2
1. first item
2. second item
I am using MacTex with the XeLaTex processor on TexWorks.
Please help ...
perhaps this is simple, but I just can't get my head around it... is there a way to output a final counter value before the counter actually starts? For example, an output like:
Item count:2
1. first item
2. second item
I am using MacTex with the XeLaTex processor on TexWorks.
Please help ...