Monday 2 October 2017

International Travel Grants to attend Conferences, Workshops etc.


Here I am listing few International Travel Grants to attend Conferences, Workshops etc., with their brief information and links. This post is mainly for Indians (and Computer Science people) but some of links could be helpful to others also.

A. Travel Grants for Everyone

Anybody can apply for the following travel grants:

1. Google Research

It covers all the expenses and is very quick also. For Indians it gives results with in 10 days. For latest details follow the following link:


2. Microsoft Research


It covers all the expenses and is very quick also. For Indians it gives results with in 1-2 weeks. For latest details follow the following link:



3. Technical Committees' Membership

Technical committees also provide some travel grants to their student members like IEEE, ACM etc. and in India we have ISTE, CSI etc. also provide limited funds to attend international conferences. Like,




3. Conference Steering Committee

Generally, good conferences provide Travel Grants to few student authors. For details, check your conference's website.


4. University

Yes, universities also provide limited travel grants. For more information approach your university authorities.




B. Travel Grants for Indians Only

Following grants are provided by Govt. of India through its different agencies and only Indians can apply for these grants:

5. International Travel Support SERB (Science & Engineering Research Board)

This grant covers airfare, registration fee and visa fee and do not cover lodging and eating related expenses. You can apply for this grant between 60-90 days late-early w.r.t. start of conference/workshop. For latest information go through the following link:


6. CSIR-MHRD

It covers only 50 % of airfare Max. Rs.50, 000/-. For latest and complete information check the following link:



7. Centre for International Co-operation in Science(CICS)

This provides partial funding like food, lodging etc. and generally used in combination with ITS SERB. For latest and complete information check the following link:



8. Xerox Research Centre

International travel grants provide support to students at Indian universities to attend top technical conferences outside India. For latest and complete information check the following link:



NOTE: I will keep updating this blog as I will find new sources. I request you to share sources you know in comments.



Thanks
Vinod


Dedicated to my parents....🙏🙏🙏

Saturday 20 May 2017

How to use a language (Hindi, Bangla, Punjabi, Tamil, etc) other than English in Latex?

In order to use any language other than English in LaTex, following things are required:

Steps:

1. Font of that language should be installed on the Machine.

2. Document should be compiled with XeLaTex or LuaLaTex. 
There are multiple ways to do this: (i) use commands in the document itself, e.g., as done in following example (ii) Change the default complier (like in TexStudio) (iii) Use menu options to compile the document with desired compiler, e.g.,  in TexStudio follow this: Tools>>Commands>>XeLaTex.

3. Declare a command for using the font.
Notice the 6 and 7 line number of the following example. After \newfontfamily, a name (\punjabifont) is given to the font (which is specified as 'Saab' in the braces). Then in the line number 7 one command is declared using the font name. In this case  \textpunjabi is the command name which is then used in the document for inserting the Punjabi text.

Example: Suppose we want to use Punjabi in Latex. First install the font "Saab" from the link http://www.bhupi.ca/saab/ and then copy paste the following program in LaTex and compile normally:

---------------------------------
% !TeX program = xelatex
% !TeX encoding = utf8

\documentclass[10pt]{article}
\usepackage{fontspec}
\newfontfamily\punjabifont{Saab}
\DeclareTextFontCommand{\textpunjabi}{\punjabifont}

\begin{document}
\textpunjabi{ ਵਾਹਿਗੁਰੂ ਜੀ ਕਾ ਖਾਲਸਾ !}\\
\textpunjabi{ਵਾਹਿਗੁਰੂ ਜੀ ਕੀ ਫਤਹਿ !!}
\end{document}
---------------------------------

Similarly, we can work with Hindi, Tamil, Bangla etc. For working with Hindi install the font 'Devanagari MT' on your machine and use the following program:

Hindi/Sanskrit Example:
-----------------------------------
% !TeX program = xelatex
% !TeX encoding = utf8

\documentclass[10pt]{article}
\usepackage{fontspec}
\newfontfamily\devanagarifont{Devanagari MT}
\DeclareTextFontCommand{\texthindi}{\devanagarifont}

\begin{document}
\texthindi{कर्मण्येवाधिकारस्ते मा फलेषु कदाचन।}\\
\texthindi{मा कर्मफलहेतुर्भूर्मा ते सङ्गोऽस्त्वकर्मणि॥ २-४७}
\end{document}
---------------------------------

Possible errors:

1. Font related problems:

fontspec error: "font-not-found" The font "Devanagari1 MT" cannot be found. For immediate help type H <return>. \newfontfamily\devanagarifont{Devanagari1 MT}

This error can appear due to following reasons:

(a) Font which you are trying to use is not available on your machine, i.e., font is not installed.

(b) Font is installed but still we get this error because font might not be compatible with LaTex. I faced this issue while working with Hindi on Windows 10. So you need to use that font for your language which is compatible with LaTex. For Hindi, Nakula is compatible with LaTex and you can it use from here.

2. Compilation Errors:

Fatal fontspec error: "cannot-use-pdftex" The fontspec package requires either XeTeX or LuaTeX. You must change your typesetting engine to, e.g., "xelatex" or "lualatex"instead of plain "latex" or "pdflatex". For immediate help type H <return>.

This error occurs when you don't use compile the document properly. Refer to step 2, above.

3. 'fontspec' package issue:


Undefined control sequence. \emfontdeclare{ \emshape, \eminnershape }

This error appears when your fontspec package has some issue and need to be updated. So update this package to solve this error.

4. Installation Issues:

If you still get some error then that means there is some installation error. I faced this error twice while working on two different machines. The solution to this problem is to first uninstall miktex engine and editor (like TexStudio) from machine and then install them again and try these steps.


NOTE: I don't know much about LaTex but yes I have learnt to fix some problems and I am sharing the same here.

Thanks
Vinod


Dedicated to my parents 🙏🙏🙏...


Monday 24 April 2017

CSC-GE3: Introduction to Programming (C/C++) Lecture Notes

Hello Friends!

You can download the handwritten lecture notes for CSC-GE3: Introduction to Programming for CBCS B.Sc. 2nd Semester students of Panjab University Chandigarh. These notes consists of C and C++ concepts with a little introduction to Object Oriented Programming.

NOTE: It's possible that there could be errors in the notes and they might be incomplete. So study at your own risk.

Lecture Notes (Black & white)

Lecture Notes (in original color)


All the best!

Thanks
Vinod



-Dedicated to my students....

Wednesday 19 April 2017

[SOLVED] Matlab Error: Requested array exceeds maximum array size preference

Hello Friends!

Sometimes we face following problem on Matlab (any platform Windows/Mac...) especially when using large datasets:

Requested 19996x1355191 (201.9GB) array exceeds maximum array size preference.
Creation of arrays greater than this limit may take a long time and cause MATLAB to become unresponsive. See array size limit or preference panel for more information.







One possible solution to this problem is given below:

1. Open matlab preferences: i) Using HOME Tab>>Preferences



2. Navigate as: Matlab>>Workspace
3. In Matlab array size limit, uncheck the checkbox named 'Limit the maximum array size to a percentage of RAM'.



4. Click Apply then OK and that's it.

Enjoy!

Thanks
Vinod