Tag Info

New answers tagged

3

I'm not sure what you'll do with this file, but here's a way to accomplish your need: \documentclass[10pt,a4paper]{article} \usepackage{lineno,refcount} \newwrite\linenumbersfile \newcommand{\writelineref}[1]{% \immediate\write\linenumbersfile{\getrefnumber{#1}}% } \begin{document} \immediate\openout\linenumbersfile=\jobname.num \begin{linenumbers}* foo ...



Top 50 recent answers are included