Posts Tagged ‘latex’

Solved: pdfExpress verification gives some errors

August 5, 2011 Leave a comment

My paper did not pass the pdfExpress verification due to the error:

Error Font Helvetica is not embedded (111x)

Here we follow the process from the submission homepage:

If you are using the conference template in its Winword version and still get errors (or no answers) from pdfExpress, try this procedure:
1) Please check the top margin of the the first page. it MUST be 2.5 cm; for OTHER pages it must be 1.9 (cm)
2) Generate the pdf file
3) Then you have to embed the fonts. You can do that either
3.1) by using acrobat professional or
3.2) using the line command

gs -dSAFER -dNOPLATFONTS -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=letter -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dCompatibilityLevel=1.4 -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile=OUTPUT.pdf -f INPUT.pdf

where INPUT.pdf is the pdf source file, OUTPUT.pdf is the output file to be submitted with the fonts embedded and gs is the ghost-script executable command.
If this does not work, or you have other pdfExpress problems, please contact Dr. Romolo Camplani at

However, after trying such a method, the pdf is rejected from the submission website. So, we still have to put the output file to pdfExpress to verify again, and of course you can now expect no error. Then you can proceed to submit the pdfExpress-verified pdf to IJCNN, and the file is PID1839743.pdf whose content is identically the same as ClosedFormDcsGMM_IJCNN_final_added2.tex.


How to remove white-border from a figure?

August 5, 2011 Leave a comment

When adding a figure to your publication, you might want to remove the undesired white-border off your figures. I believe that the best way is to create figures without the border if it is possible. In MATLAB, I think you can do so. However, if you have the figures already, you might want to have a program to remove the borders automatically, wisely and controllably. I developed a toolbox in MATLAB for this purpose. Please refer to the URL below.

The overview of white-border removal toolbox

Often-used LaTeX techniques

How to add/change text color in LaTeX? [link]

How to make figure spanning 2 columns in your 2-column paper? [link]

How to convert figures from .eps to .pdf?

  • single figure: epstopdf figure.eps –> this works both on Linux [link] and Windows
  • multiple figures on Ubuntu–this will run epstopdf on all .eps files in current directory and all subdirectories:

blahblah$ find . -name “*.eps” -exec epstopdf {} \;
for more information please refer to [link]

  • multiple figures on Windows–[link]
Categories: iDea, Tutorials Tags: , , ,

Comparing 2 text files

March 24, 2011 Leave a comment

Most of the time when you want to compare 2 text files, you might get used to using the command

diff old.tex new.tex

in terminal. Recently, I just found a program to do the job beautifully and, most importantly, FREE. Try ExamDiff, it works pretty well for me.

Categories: Uncategorized Tags: , ,

pdflatex gives error when compiled with .eps figures

March 24, 2011 2 comments

The command pdflatex can take only figures with .pdf extension, and unfortunately I mostly output my figures in .eps, which means that I have to convert all figures to .pdf. If there are only a handful of figures, manually converting the figures one by one is acceptable using the command (in the terminal)

epstopdf figure_file.eps

However, when there are hundreds of figures, we may not want to do that. Instead, one might want to simply write a batch file to convert all the figures automatically. Instructions for writing a batch file can be found in this web page:

I have my very easy code available to try here. For an advanced user, you can list all the file names inside a directory and use for-loop to convert the file one by one. There are some people suggest using ImageMagick, but I found that is not so convenient :-P.

Using Thai in LaTeX

December 12, 2010 Leave a comment

การใช้ LaTeX ในภาษาไทย สามารถดูได้จาก link ต่อไปนี้

ที่สะดวกกว่านั้น เราสามารถใช้ LyX กับภาษาไทยได้ด้วย [link]

Categories: Tutorials Tags: , , , ,