Sunday, July 20, 2014

A Very Useful Grub Organizer for Ubunto: Grub Customizer

There is a nice tool for customizing grub on Ubunto with an intuitive user interface available. It is Grub Customize in LuanchPad. I suggest you visit the official site of the tool at https://launchpad.net/grub-customizer.

Thanks developers for there efforts.

Tuesday, June 10, 2014

Bar Graph with Texture

Improving the visibility of a bar graph created by Matlab will no longer bring an headache, just visit the site below:
Cheers,
Saran

Thursday, March 6, 2014

To fix the problem of "fonts not embedded" in WinEdt

When I was about to upload a manuscript to EDAS, the problem regarded as "fonts not embedded" was showing up.
I had been spending several minutes to eventually meet a solution to the problem.

The solution for WinEdt 6.0 worked, I was using WinEdt 8.0 with gswin64c.exe though.

WinEdt 6.0:

  • Open WinEdt
  • Select: Options, Execution Modes
  • Select ps2pdf
  • Click on "Browse for Executable" (lower left corner)
  • Browse to the gswin32c.exe executable in C:\Program Files\gs\gs9.02\bin

  • (you might have another version than 9.02, so please adjust this number) and select it.
  • Enter the following switches:
     
    -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -r600 -dCompatibilityLevel=1.4 
    -dPDFSETTINGS=/printer -dMaxSubsetPct=100 -dSubsetFonts=true 
    
  • Enter the following parameters:
     
    -sOutputFile="%N.pdf" "%N.ps"
    

WinEdt 5.5:

  • Open WinEdt
  • Select: Options, Execution Modes
  • Select ps2pdf
  • The Command Line Switches for gswin32c.exe are
     
    -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -r600 -dCompatibilityLevel=1.4
    
    Add the following switches to this line:
     
    -dPDFSETTINGS=/printer -dMaxSubsetPct=100 -dSubsetFonts=true 
    -dEmbedAllFonts=true
    
From now on PS2PDF will embed all fonts.
TeXify-> DVI to PS (DVIPS)->PS to PDF (ps2pdf)

Reference:
http://inside.mines.edu/~djyang/embeddedfont-WinEdt.html

Sunday, December 1, 2013

The myth of using "None of" in a sentence

So many times I have to check my grammar for writing. "None of" usually makes me go over several websites and books emphasizing on the use of it.

The following sentences always give me an acceptable conclusion.

None of students are lazy.
None of meat is delicious.

Some people argue that "none of" must be treated as a singular pronoun.
I think I will use it in a more intuitive way as both "none of" and "most" are the words that indicate portions.

It is worth dropping by the website for the reference.