RSS
 

Archive for the ‘Operating System’ Category

Ubuntu: dvipdfmx error

06 Jul

When I installed the Japanese latex environment for the first time I got this error:
could NOT open config file "fontmapsx"

I search in the Internet for the solution and I found this:
sudo apt-get install okumura-clsfiles vfdata-morisawa5
sudo jisftconfig add
sudo update-texmf

and it helped.

 
4 Comments

Posted in Ubuntu

 

Ubuntu: Groupping and manipulating pdf files

06 Jul

To group pdf file in one: pdftk 1.pdf 2.pdf cat output all.pdf

To delete a password from the file: pdftk in.pdf input_pw hogehoge output out.pdf

To pu a password to the output file: pdftk in.pdf output out.pdf user_pw hogehoge

To use a background.pdf to create a pdf file:
pdftk in.pdf input_pw hogehoge background background.pdf output out.pdf

 
No Comments

Posted in Ubuntu

 

Ubuntu: GEdit Japanese latex file compiling

06 Jul

I used gedit as Latex editor and it is working rather well. I use the external tools plugin to execute scripts like this.
#!/bin/sh DIR=$GEDIT_CURRENT_DOCUMENT_DIR
cd $GEDIT_CURRENT_DOCUMENT_DIR
platex $GEDIT_CURRENT_DOCUMENT_NAME
dvipdfmx `echo $GEDIT_CURRENT_DOCUMENT_NAME | sed 's/\\.tex$//'`
evince `echo $GEDIT_CURRENT_DOCUMENT_NAME | sed 's/\\.tex$/.pdf/'`

it compiles the .tex file and generates a .pdf file.

 
No Comments

Posted in Ubuntu

 

Ubuntu: Backup packages list for upgrade

02 Jul

It is always a burden to install all those package, which used to be in my ubuntu distribution , after upgrade or re installation of my Ubuntu. Generally even Upgrade from the Update Manager dis-activate third party repositories. So I propose a way to keep those package list and select them automatically as a form of backup.

He is my way :

# Backup your package list to your user directory.

* Use Synaptic and File > Save Markings,
or
* dpkg –get-selections > packages.txt

# Copy your /etc/apt/sources.list to your user directory.
# Backup your data to be safe.

 
No Comments

Posted in Ubuntu

 

Ubuntu: Gloobus, a quicklook for linux

02 Jul

Gloobus is an extension of Gnome designed to enable a full screen preview of any kind of file. Ever been annoyed by those tiny miniatures of your files that are helpless. Outraged by the fact that there’s no miniature for half of the file formats you’re using. Excruciated by the painful loading time to see if you’re dealing with the right file? Hail to Gloobus, for tis’ is the Holy Grail of preview! Designed as an extendable, standards-compliant previewer , so that it plays nice with Gnome and can be easily extended to support any kind of file, Gloobus enables instant previewing of your files, without even having to open them. Hit space, and BANG, here’s the content of your file, displayed as it would if it was opened.

Currently, Gloobus supports TXT , PDF, JPG, BMP, GIF, PNG, PSD, MP3, OGG, MPG, WMV, XCF It has a sleek black interface which will put your files in focus.

The deb file installer is attached to this entry.

 
No Comments

Posted in Ubuntu