The sources for the web site for Department of Mathematics, IISc
This site is made in Jekyll with formatting using bootstrap.
Welcome to the documentation of the Department of Mathematics webppage. This is meant for those maintaining the web page, but you may find it helpful for making suggestions or just out of curiousity. If you just have a correction/suggestion/update, please instead send us an e-mail.
The website is built using:
For the rest of this document, we focus on how the website is built from various files, all on the github repository. In the other documentation pages, we see details of specific kinds of pages - courses, seminars, people etc.
The Department web site is a static site, this means that it is compiled in advance (like pdf files from latex sources) from source files and data, and simply copied to the server. Briefly, the components are:
The overall configuration is in the _config.yml file (for the sake of deployment, there is a slight complication which you can look up in the deployment documentation).
Details of how these are combined to give the various kinds of pages are documented in the details of specific classes of pages listed below.
The data of various groups of people - faculty, students, staff, etc. are in _data files_ in a format called YAML. For example, below is the beginning of the file faculty.html. This is the file that you must edit to update or correct data etc.
- name: Arvind Ayyer
user-id: arvind
research-areas: Probability, combinatorics, statistical mechanics, mathematical physics, experimental mathematics
phd: Rutgers
phone-ext: 3215
office: X15
- name: Abhishek Banerjee
user-id: abhishek
research-areas: Algebraic geometry, noncommutative geometry
phd: Johns Hopkins
phone-ext: 3326
office: X05
website: https://sites.google.com/site/abhishekb1313/
Each faculty member has a separate entry beginning with a hyphen, with all fields directly below the first (i.e., the format is based on indentation). The order of the fields does not matter.
Warning: The colon has a special meaning, so if an entry has a colon, enclose it in quotation marks.
Note that if a website is not specified for a faculty member, then
it is assumed to be the standard website with url
https://math.iisc.ac.in/~"user-id"
.
The other groups of people have similar pages, with the data in a YAML file in the data folder and the page itself using this data. Usually only the data file is updated, with the html file using this edited only for global changes. However, note that the defaults are different for different groups of people: for example, if a student\'s entry does not mention a website, it is assumed that the student does not have a website, so even the standard website if present should be given.
The actual Faculty web page is an html page with some templating (using Jekyll\'s _liquid_ templating language). Edit this if you want a change affecting all faculty members or the layout of the page.
The header, footer and navigation bar are included as the page uses the default layout.
Seminars form a collection, with each seminar a separate file in the _seminars folder. We follow some conventions for the name and location of a seminar file.
yyyy-mm-dd-speakers-name.md
with
yyyy-mm-dd
the date of the seminar. In case this cannot be
followed (e.g. two talks by a speaker on the same day), please give
a reasonable name close to this. To avoid mangling the alphabetical
order, you should begin with the date in the above format.A seminar file is a markdown file similar to the below sample (which you may wish to view in raw form).
---
speaker: Siddhartha Gadgil and Apoorva Khare (IISc Mathematics)
title: "Eigenfunctions Seminar: Homogeneous length functions on Groups: A polymath adventure"
date: 15 January, 2018
time: 4 pm
venue: LH-1, Mathematics Department
---
Terence Tao posted on his blog a question of Apoorva Khare, asking whether the free group on two generators has a
length function $l: F\_2 \\to\\mathbb{R}$ (i.e., satisfying the triangle inequality) which is _homogeneous_, i.e.,
such that $l(g^n) = nl(g)$. A week later, the problem was solved by an active collaboration of several mathematicians
(with a little help from a computer) through Tao's blog. In fact a more general result was obtained,
namely that any homogeneous length function on a group $G$ factors through its abelianization $G/[G, G]$.
I will discuss the proof of this result and also the process of discovery (in which I had a minor role).
There are two different aspects to course listings: the course details and courses offered by semester. We first look at course details.
The coures in the catalogue form a collection, with one source file
for each courses. These are the files in the
_all-courses
folder. By convention, these have names of the form ma123.md
for a
course with code \"123\".
A typical course file is as below (you may want to see this in raw form).
---
title: Algebraic Number Theory
code: MA 313
books:
- author: Artin, E.
title: Galois Theory
publ: University of Notre Dame Press, 1944
- author: Borevich, Z. and Shafarevich, I.
title: Number Theory
publ: Academic Press, New York, 1966
- author: Cassels, J.W. and Frohlich, A.
title: Algebraic Number Theory
publ: Academic Press, New York, 1948
- author: Hasse, H.
title: Zahlentheorie
publ: Akademie Verlag, Berlin, 1949
- author: Hecke, E.
title: Vorlesungen uber die Theorie der algebraischen Zahlen
publ: Chelsea, New York, 1948
- author: Samuel, P.
title: Algebraic Theory of Numbers
publ: Hermann, 1970
prereqs:
- Linear algebra (MA 219 or equivalent)
- 'Basic algebra : Groups, rings, modules (MA 212 or equivalent), and algebraic field extensions'
---
Algebraic preliminaries: Algebraic field extensions: Normal, separable and
Galois extensions. Euclidean rings, principal ideal domains and factorial
rings. Quadratic number fields. Cyclotomic number fields.
Algebraic integers:
Integral extensions: Algebraic number fields and algebraic integers. Norms and
traces. Resultants and discriminants. Integral bases.
Class numbers:Lattices and Minkowski theory. Finiteness of class number.
Dirichlet's unit theorem.
Ramification Theory: Discriminants.
Applications to cryptography.
The top-matter, i.e, the part between the lines with just three hyphens, should include the course code, title and references and prerequisites as appropriate. Note that this is formatted by indentation (i.e., spaces), so ensure that spacing is as in the above example.
Note: You must include a course code - if it is not available, use a placeholder. Courses are sorted by their codes in the catalogue, so the site will not compile if a course file has no code.
For each course file, the information is automatically included in the catalogue and a separate page is created for each course. If you wish to edit the catalogues layout, you should edit its source. The separate pages for the courses are based on the course layout.
Details of courses offered by semester are in the YAML data file courses.yaml. An extract from this is as below.
jan2018:
core1:
- code: MA 213
name: Algebra II
instructor: Abhishek Banerjee
timing: "Tue, Thu: 3:30-5:00"
credits: "3:1"
- code: MA 222
name: Measure and Integration
instructor: Manjunath Krishnapur
timing: "Tue, Thu: 2:00-3:30"
credits: "3:1"
electives:
- code: MA 305
name: Analysis on Lie Groups
instructor: S. Thangavelu
timing: "Mon, Wed, Fri: 11:00-12:00"
- code: MA 341
name: Matrix Analysis and positivity
instructor: Apoorva Khare
timing: "Wed, Fri: 11:00-12:30"
webpage: https://math.iisc.ac.in/~khare/teaching.html
aug2017:
core1:
- code: MA 200
name: Multivariable Calculus
instructor: Thirupathi Gudi
credits: "3:1"
Note:
This data is rendered according to the course-list source file as current and upcoming courses.
Publications are displayed in the Publications page only, but the data processing is more complicated than other cases, so is outlined below (as is the code for the publications page).
The publications page uses the YAML data file pubs.yaml, but this is not supposed to be directly edited. Instead it is generated by a script from two sources:
The BibTeX file is translated to yaml and combined with the extra-pubs file by the custom script bib2yaml. This is a scala script based on the Ammonite REPL. This has to be run from the base directory of the repository after updated a source file.
Below is an extract from the extrapubs.yaml
file, which is in the yaml
format.
- author: "Gupta, Subhojoy and Wolf, Michael"
title: "Meromorphic quadratic differentials with complex residues and spiralling foliations"
booktitle: "In the Tradition of Ahlfors--Bers, VII, Contemporary Mathematics"
year: 2017
volume: 696
pages: 153-181
- author: "Rangarajan, G."
title: "Symplectic integration of nonlinear Hamiltonian systems"
journal: "Pramana -- Journal of Physics"
year: 1997
volume: 48
pages: 129
Each publication has a separate entry beginning with a hyphen, with all fields directly below the first (i.e., the format is based on indentation). The order of the fields does not matter.
Warning: The colon has a special meaning, so if an entry has a colon, enclose it in quotation marks.
file. Edit the source of the publications page to show how publications are rendered. This shows the publications for the latest 15 years by year sorted alphabetically, and then the earlier publications.
🚧
🚧
🚧
🚧