कराग्रे वसते लक्ष्मी करमध्ये सरस्वती |
करमूले तू गोविन्दः प्रभाते करदर्शनं ||
Sunday, June 7, 2009
Wednesday, May 20, 2009
Devnagari Text Compilation in Kile
Compiling Sanskrit [Devanagari] text in Latex is easy with the Devanagari package that can be found in the Ubuntu repositories. However the input file .dn has to be processesed by the devnag preprocessor which results in the tex file which can be compiled and viewed in your favorite pdf viewer in one click by using the default keyboard shortcut 'Alt + 1' in Kile.
The preprocessing step can be integrated into Kile process by following this simple method so that everything can be a one-click process:
Works on Kile 2.0.0 [using KDE 3.5.10]
The preprocessing step can be integrated into Kile process by following this simple method so that everything can be a one-click process:
- Go to Configure
- Create a Tool called SansProcess
- In General tab --> Command = devnag
- Target = '%S.dn'
- In Advanced tab --> Type: Run outside of Kile
- Class: Compile
- Source Extension: dn
- Target Extension: tex
- State : Editor
- When you create this tool use the QuickBuild tool as its parent so that our Tool can get all those properties at birth.
- Add the SansProcess tool that we created to this tool and move it up to the top of the list.
- Now all we need to do is to create a keyboard shortcut to access our newly-minted tool easily.
- I have used 'Alt + S' on my system.
Works on Kile 2.0.0 [using KDE 3.5.10]
Labels:
devanagari in latex,
hindi in latex,
kile,
sanskrit,
tips
Saturday, April 25, 2009
Backup list of installed software Debian
$ dpkg --get-selections
Store list of installed software to a file called /backup/installed-software.log$ dpkg --get-selections > /backup/installed-software.log
Now you have a list of installed software. After installing base system you can immediately install all software.
Debian Linux
Debian Linux makes your life easy. All you have to do is type following two commands:# dpkg --set-selections < /backup/installed-software.log
Now your list is imported use dselect or other tools to install the package.# dselect
Select 'i' for install the software.
Friday, April 24, 2009
Pdf stamping editing annotation in linux
Use the program PDF-XChange Viewer under Wine on Linux for effortless annotation in linux.
Find it here http://www.docu-track.com/home/prod_user/PDF-XChange_Tools/pdfx_viewer
Find it here http://www.docu-track.com/home/prod_user/PDF-XChange_Tools/pdfx_viewer
Thursday, February 19, 2009
| Bits | Name | Range | Decimal digits | Uses |
| 8 | byte, octet | Signed: −128 to +127 | 3 | ASCII characters, C/C++ char, C/C++ int8_t, Java byte, C# byte |
| Unsigned: 0 to +255 | 3 | |||
| 16 | halfword, word | Signed: −32,768 to +32,767 | 5 | UCS-2 characters, C/C++ short, C/C++ int16_t, Java short, C# short, Java char |
| Unsigned: 0 to +65,535 | 5 | |||
| 32 | word, long, doubleword, longword | Signed: −2,147,483,648 to +2,147,483,647 | 10 | UCS-4 characters, Truecolor with alpha, C/C++ long, C/C++ int32_t, Java int, C# int, FourCC |
| Unsigned: 0 to +4,294,967,295 | 10 | |||
| 64 | doubleword, longword, long long, quad, quadword | Signed: −9,223,372,036,854,775,808 to +9,223,372,036,854,775,807 | 19 | C/C++ long long, C/C++ int64_t, Java long, C# long |
| Unsigned: 0 to +18,446,744,073,709,551,615 | 20 | |||
| 128 | octaword | Signed: −170,141,183,460,469,231,731,687,303,715,884,105,728 to +170,141,183,460,469,231,731,687,303,715,884,105,727 | 39 | C only available as non-standard compiler-specific extension |
| Unsigned: 0 to +340,282,366,920,938,463,463,374,607,431,768,211,455 | 39 | |||
| n | n-bit integer (general case) | Signed: ( − 2n − 1) to (2n − 1 − 1) | Ada range 2**(n-1) .. 2**n; | |
| Unsigned: 0 to (2n − 1) | Ada mod 2**n; |
Tuesday, January 27, 2009
LInux Tips
Find the version of Ubuntu you are using.
On the command line: lsb_release -a
Look at these files
/etc/issue
/etc/lsb-release
Convert pdf to jpeg in Linux from command prompt
First you need to have ImageMagick installed in your Linux machine.
To install ImageMagick in Debian, run the following command:
$ sudo aptitude install imagemagick
To convert pdf file to image use the ‘convert‘ command:
$ convert doc.pdf doc.jpeg
convert to tiff
$ convert doc.pdf doc.tiff
On the command line: lsb_release -a
Look at these files
/etc/issue
/etc/lsb-release
Convert pdf to jpeg in Linux from command prompt
First you need to have ImageMagick installed in your Linux machine.
To install ImageMagick in Debian, run the following command:
$ sudo aptitude install imagemagick
To convert pdf file to image use the ‘convert‘ command:
$ convert doc.pdf doc.jpeg
convert to tiff
$ convert doc.pdf doc.tiff
If the default output is too low resolution, you can add “-density NNN”, where NNN is a number.
EG: I just did an A4 PDF to a PNG, but it came out too small. To make it bigger/higher res, I did: “convert -density 300 input.pdf output.png”
Labels:
kubuntu,
kubuntu-version,
linux,
ubuntu,
version
Subscribe to:
Posts (Atom)

