find -name "p*.pdf" -exec cp {} ./ \;
This is not a blog, but my notes and tips for research. Feel free to take any information and leave any comments or questions.
Search This Blog
Monday, December 12, 2011
Tuesday, November 29, 2011
Install style files in LyX
http://flukylogs.blogspot.com/2009/09/install-style-files-in-lyx.html
LyX is a frontend to LaTeX and so installation of any style file in LyX essentially mean: (1) installation of that style file in underlying LaTeX; and then (2) getting that style file work in LyX (using LyX layout files). Installation method for different types of style files are given below:
Install LaTeX class (.cls)
create new directory with name under /usr/share/texmf-texlive/tex/latex/
copy.cls file (& other files, if present) in the new directory
sudo texhash
create a file.layout in ~/.lyx/layouts
edit the layout file according to the instructions given in Chapter 5 of "Customizing LyX: Features for the Advanced User" (Help->Customization in LyX).
open LyX and click 'tools -> Reconfigure' and restart LyX when done. The new Document Class should be available now.
For Example, to install IEEEconf class file, download the zip files from here. Create .cls file by executing 'latex IEEEconf.ins'. Copy the folder IEEEconf to /usr/share/texmf-texlive/tex/latex/. Run sudo texhash. Find IEEEtran.layout file & copy it to a new file named IEEEconf.layout in ~/.lyx/layouts (IEEEconf and IEEEtran are very similar, so IEEEtran-layout file can be used as layout file for IEEEconf). Edit the the second line in IEEEconf.layout from
# \DeclareLaTeXClass{article (IEEEtran)}
to
# \DeclareLaTeXClass{article (IEEEconf)}
and it should turn up when you reconfigure LyX.
Install LaTeX style (.sty)
Style file (.sty) is an addition to class files (.cls) files and they provides special formatting rules which overrides the similar rules in class files, if present. So each style file must be associated with a class file. Installation process is similar to that of class files (see previous section of this post). Layout files (step 5 above) have different format. Instructions are given in Chapter 5 of "Customizing LyX: Features for the Advanced User" (Help->Customization in LyX).
For Example, to install ACRA style file, download the files from here. Copy the file acra.sty to /usr/share/texmf-texlive/tex/latex/ACRA/. Run sudo texhash. Find article.layout file & copy it to a new file named acra.layout in ~/.lyx/layouts (acra.sty uses "article" class). Edit the the second line in acra.layout from
# \DeclareLaTeXClass{article}
to
# \DeclareLaTeXClass[article, acra.sty]{article (ACRA)}
Then add in next line
Preamble
\usepackage{acra}
EndPreamble
and it should turn up when you reconfigure LyX.
Install BibTeX Style (.bst)
create new directory with name under /usr/share/texmf-texlive/bibtex/bst/
copy.bst file (& other files, if present) in the new directory
sudo texhash
open LyX and click 'tools -> Reconfigure' and restart LyX when done.
open LyX and click 'tools -> TeX Information' and choose BibTex Styles. Click 'Rescan' The new BibTeX should be available now.
LyX is a frontend to LaTeX and so installation of any style file in LyX essentially mean: (1) installation of that style file in underlying LaTeX; and then (2) getting that style file work in LyX (using LyX layout files). Installation method for different types of style files are given below:
Install LaTeX class (.cls)
create new directory with name
copy
sudo texhash
create a file
edit the layout file according to the instructions given in Chapter 5 of "Customizing LyX: Features for the Advanced User" (Help->Customization in LyX).
open LyX and click 'tools -> Reconfigure' and restart LyX when done. The new Document Class should be available now.
For Example, to install IEEEconf class file, download the zip files from here. Create .cls file by executing 'latex IEEEconf.ins'. Copy the folder IEEEconf to /usr/share/texmf-texlive/tex/latex/. Run sudo texhash. Find IEEEtran.layout file & copy it to a new file named IEEEconf.layout in ~/.lyx/layouts (IEEEconf and IEEEtran are very similar, so IEEEtran-layout file can be used as layout file for IEEEconf). Edit the the second line in IEEEconf.layout from
# \DeclareLaTeXClass{article (IEEEtran)}
to
# \DeclareLaTeXClass{article (IEEEconf)}
and it should turn up when you reconfigure LyX.
Install LaTeX style (.sty)
Style file (.sty) is an addition to class files (.cls) files and they provides special formatting rules which overrides the similar rules in class files, if present. So each style file must be associated with a class file. Installation process is similar to that of class files (see previous section of this post). Layout files (step 5 above) have different format. Instructions are given in Chapter 5 of "Customizing LyX: Features for the Advanced User" (Help->Customization in LyX).
For Example, to install ACRA style file, download the files from here. Copy the file acra.sty to /usr/share/texmf-texlive/tex/latex/ACRA/. Run sudo texhash. Find article.layout file & copy it to a new file named acra.layout in ~/.lyx/layouts (acra.sty uses "article" class). Edit the the second line in acra.layout from
# \DeclareLaTeXClass{article}
to
# \DeclareLaTeXClass[article, acra.sty]{article (ACRA)}
Then add in next line
Preamble
\usepackage{acra}
EndPreamble
and it should turn up when you reconfigure LyX.
Install BibTeX Style (.bst)
create new directory with name
copy
sudo texhash
open LyX and click 'tools -> Reconfigure' and restart LyX when done.
open LyX and click 'tools -> TeX Information' and choose BibTex Styles. Click 'Rescan' The new BibTeX should be available now.
Monday, November 28, 2011
Monday, November 21, 2011
Tuesday, November 1, 2011
How to generate video tutorial using Ubuntu
Recording all desktop action (Can record compiz-fusion, effects, movies, audio, mouse, etc, etc.)
1 - RECORDING
Install application: (Type in terminal) sudo apt-get install gtk-recordmydesktop
Running: go to menu: "Applications" ---> "Sound & Video" ---> "gtk-recordMyDesktop" (You can read more about it, here: LINK )
Stop Recording: Click in the small grey square icon (next to time and date bar)
Movies are saved at: /home/yourname/out.ogg
2 - CONVERTING TO OTHER VIDEO FORMATS
Convert OGG video to AVI format: WinFF for GTK (ffmpeg Gnome based GUI) OR Check brennydoogles, next posts!
3 - EDITING THE SAVED VIDEOS
Install application: (Type in terminal) sudo apt-get install kino
Running: go to menu: "Applications" ---> "Sound & Video" ---> "Kino"
[Added in Jan 2010] OR OpenShot - New open source video editor here: http://www.openshotvideo.com/ (I haven´t tried it yet)
4 - SHARE IT
Final Video Example: brennydoogles turotial video about "AIM In Virtualbox" here
My Videos: here
from http://ubuntuforums.org/showthread.php?t=617006
Friday, October 21, 2011
pdfcrop
pdfcrop myfile.pdf
from http://alexsleat.co.uk/2011/01/25/using-pdfcrop-to-remove-white-margins-ubuntu/
from http://alexsleat.co.uk/2011/01/25/using-pdfcrop-to-remove-white-margins-ubuntu/
Thursday, October 20, 2011
Subscribe to:
Posts (Atom)
Labels
- Academic Notes (4)
- BLAS (1)
- CEE618 (2)
- CentOS (1)
- Computation (1)
- Conferences (1)
- Cross compiling (1)
- Graphics (1)
- Hawaii Tour (2)
- Intel compiler (1)
- Just (1)
- Laptop (1)
- LaTex (22)
- Life and Humanity (8)
- Linux and Computing (107)
- LSF (1)
- Lyx (3)
- Macintosh (5)
- MPI (1)
- News (11)
- OpenFoam (1)
- OpenMPI (1)
- PBS (2)
- Software (4)
- SSH (2)
- torque (1)
- Touchpad (1)
- VMD (1)
- yum (1)