1

TeXstudio: open file at line number n

view story
linux-howto

http://unix.stackexchange.com – I am creating a script to produce some .tex files with a lot of lines (a kind of automatic sample). The script finishes with texstudio /home/$USER/foo.tex where foo.tex is the file created before. My question is: is it possible to open the file with texstudio with the cursor at line N, that is, I would like to run the script to open the file and start typing right now, exactly at the right line. Thanks for a while. Below is the script. file=/home/$USER/fastex-temp.tex exec 3>&1 # save file descriptor to stdout exec > "$file" # redirect output to file printf '\\documentclass[11 (HowTos)