I am using pdflatex to generate reports from txt files, but have some doubts I can not solve by myself using the man page.Rerun pdflatex Quite often you need to rerun pdflatex, to achieve the desired result. Now, I simply do:
But I am afraid this is not the right way to do it. Is there any better way to tell pdflatex to compile twice? Stop on errors While running pdflatex manually, quite often you are prompted to do something when errors occur. How to tell pdflatex to just stop and avoid being waiting for a response? Errors file I don't understand from the man page how to create an error file to debug the tex file...
I tried to compile with latex (pdflatex) some beamer presentations and I getpdflatex astrosiesta0411.texwarning: kpathsea: configuration file texmf.cnf not found in these directories:usr/share/texmf/web2c.This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE)I am not a latex expert, but in yast I noticed that suse 11.3 is now installing texlive (I have also the texlive-bin bin-latex latex and latex-doc installed) while my old 9.2 where everything worked had tetex.I found that there is no directory web2c in /usr/share/texmf, but there is one in /usr/lib/texmf/.I also found that /usr/share/texmf/README says:And yet another: texmf-dist should be distribution-independent, so that,in theory, it could be used by distributions other than TeX Live. So,no web2c/kpathsea-specific files.
When I install the texlive packages (LaTeX installation) in Mint 9 (= Ubuntu 10.04), the pdflatex module is not installed. Yet it's required for producing pdf files from LaTeX editors, for example jEdit with the LaTeX Tools plug-in. pdflatex is not in the Mint/Ubuntu repos.
I am preparing my report using pdflatex. According to the specification given, the font must be Times New Roman 14pt. I googled and found that usepackage{times} could be used. I also read in wiki books that Large will set the font size to 14pt if the default size is 11pt. But it was also given that the font size for Large may be varying according the document class. I am using document class report. I am not sure if setting Large will make the font size to 14pt. When googling I found a command fontsize. But I couldn't find proper documentation to use it. It would be great if get some information on how to set the font style and size.
when i tried to install texmaker, it's because kile did't work, i did something wrong and i can't compile latex or pdflatex The Error: This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled.pdflatex: fatal: Could not undump 16788 4-byte item(s).i tried to uninstall, remove , remove --purge, reinstall and nothing ... the same error
I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:
Code: #!/bin/bash cat > ~/generateGridmix2data.sh << END
What happens when the script executes is that the ssh connection works and parks me at the remote hosts's shell login. Therefore, the "firefox" command refuses to execute. I need to know how to make the "ssh" connection occur, stay open, and go into the background so that the rest of the script can execute.If I could also do this with the "firefox" line so that the entire term window could be closed would also be helpful.
On one of my servers I see this when I log in. What does this mean and how can I get it to go away? Everything seems to work fine, but none of my other machines give this error.
I would like to know how do I print the line # in a script. My requirement is, I have a script which is about ~5000 lines long. If there are any errors happen I just exit. And I would like to add the line # of the script where the error happened.
Code: #!/bin/bash trap "echo 'you got me'" SIGINT SIGTERM # to trap ctrl+c echo "Press ctrl+c during 5 sec loop" for ((i=0;i<5;i++)); do
[Code]...
How come code behaves normally and stops when ctrl+c signal is caught and resumes, but after I use at least one timeout read in the code it looks like, if signal is caught again it doesn't pause the execution but skips the loop. If you remove -t (timeout) option from the read, both loops look the same!
Now in my bash script, I want to get the output /home/user instead of $HOME once read. So far, I have managed to get the $HOME variable but I can't get it to echo the variable. All I get is the output $HOME.
I have written quite a few separate bash & scripts and php scripts that up to now I have run from cron jobs. However I have to estimate how long each takes to run, before running the next and so it probably takes much longer than necessary to run them all. They have to run in order.
Now there are so many I am thinking it would be better to have a master bash script that would run one after the other, but I am not sure how to get the master script to wait before starting to run the next script. Is this possible and is there a command that will make the script wait between bash and php scripts , for them to finish, before running the next?
I have searched and searched and maybe I don't know how to articulate this issue with out just posting the problem I'm having. Every time I bring up a terminal window I get the following "Header"
To be honest I cheated and used the .bashrc / .profile files from Ubuntu and all was working fine for a while now and it seems something changed to cause this... any ideas on why I am getting this? I checked my .bashrc and my /etc/profile and it doesn't look like anything is amiss..
I think it would be better to count the len and remove 3 chars to right to get the extension, but it can be macintosh filenames with have 4 chars for extensions.
Im used to using nautilus within centos but have recently just got a VPS and quickly realising that using a KDE is unacceptable in this environment. Although I do find it so much quicker doing things like folder permissions in KDE rather than typing it all out in the terminal? Everyone I speak to says, use the terminal and I should learn this way as opposed to using the KDE, but theres certain things I just dont get
How is it possible to make quick changes to scripts and viewing them in a browser etc , without a mouse or using KDE? and only using a terminal?? I am wondering how to develop websites just using the terminal?
How can it be quicker to type out/view permissions etc in the terminal when its instant and just a few clicks in the KDE?
If you set or export an environment variable in bash, you can unset it. If you set an alias in bash, you can unalias it. But there doesn't seem to be an unfunction.
Consider this (trivial) bash function, for example, set in a .bash_aliases file and read at shell initialization.
function foo () { echo "bar" ; }
How can I clear this function definition from my current shell? (Changing the initialization files or restarting the shell doesn't count.)
I'm working on a script to manage some stuff on my server and I'm trying to figure out how I can close my script when I'm done with it. I open it using &, but how can I kill it with another script? I'm trying to do this programmatically but I'm very unfamiliar with Linux.
I am a bash newbie, and am writing a bash script that will allow transfer of files between two computers. BTW, is there a more secure alternative to scp? Currently, I am doing this manually, by using scp. The remote server always prompts me for the password, and I supply that. I want to automate this (hence the bash script). However, I dont want to supply my password in plain text (or if at all - I was under the impression that open SSL does away with passwords and uses certificates etc?).
how I can automate my current process, without explicitly displaying my password. I am running on Ubuntu 10.0.4