Alive publication. Software support. Reference
Alive publication
Software support
Project Publication Reference Literature About us
Reference

Preparation of reference
to alive publication

To form in your document automatically updated date of the last edition of the alive publication, it is necessary that two conditions be met:

••• in an alive publication file, the date of the last edition must be explicitly specified in a certain way,

••• the document receiving the updated date must be in HTML format.

The updated date is formed by a few simple manipulations. First of all, auxiliary lines are inserted in the head part of the html document:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>

<script src="https://alive.keldysh.ru/scripts/moment-with-locales.min.js"></script>

<script src="https://alive.keldysh.ru/scripts/set-alive-data.js"></script>

Further, we go to the actual design of the date. You can insert an automatically updated date

••• in the text of a tag containing a hyperlink to an alive publication or

••• in a pop-up hint for a hyperlink to an alive publication.

To a tag that contains a hyperlink to an alive publication, you must add the pub-alive class. To a <a> tag that directly links to an alive publication, you must add the ref-alive class. Then you can add the updated date of the last revision to any place in the text of the pub-alive class tag by inserting the &asymp;&asymp; characters in this place. For example, the <p> tag of a bibliographic reference of the form

<p class="pList pub-alive">Gorbunov-Posadov M.M. Internet activity as a scientist's responsibility. &mdash; Moscow: Keldysh Institute of Applied Mathematics, 2008. (in Russian) Edition from &asymp;&asymp;. &mdash; <a href="https://keldysh.ru/gorbunov/duty.htm" class="ref-alive">https://keldysh.ru/gorbunov/duty.htm</a></p>

a browser will turn into the following text:

Gorbunov-Posadov M.M. Internet activity as a scientist's responsibility. — Moscow: Keldysh Institute of Applied Mathematics, 2008. (in Russian) Edition from ≈≈. — https://keldysh.ru/gorbunov/duty.htm

To include the updated date in the popup hint of a hyperlink to an alive publication, you must add the ref-alive class to the corresponding <a> tag , and include the &asymp;&asymp; characters in the title attribute text. The updated date will be inserted between these characters. For example, an in-text hyperlink

<a href="https://keldysh.ru/gorbunov/duty.htm" class="ref-alive" title="Edition from &asymp;&asymp;">Internet activity</a>

will have the form of Internet activity, i.e. the updated date will be inserted in the popup hint.

The format of the output date can be set using the data-date-format attribute of the <a> tag. For example, if data-date-format="YYYY-MM-DD", the date March 28, 2020 will be represented as 2020-03-26, and if data-date-format="DD.MM.YYYY", this date will be represented as 26.03.2020.

If the data-date-format attribute is omitted, the format of the output date is determined according to the language specified in the nearest covering html element that has the lang attribute. If there is no such covering element, then by the browser language. For example, if lang="ru", the date format is DD.MM.YYYY; if lang="en-us", the date format is MM/DD/YYYY.

Горбунов-Посадов М.М. Интернет-активность как обязанность ученого. — М.: ИПМ им.М.В.Келдыша, 2008.
Редакция от ≈≈
https://keldysh.ru/gorbunov/duty.htm

Горбунов-Посадов М.М. Живая публикация // Открытые системы. — 2011, № 4. — С. 48–49.
Редакция от ≈≈
https://keldysh.ru/gorbunov/live.htm

Горбунов-Посадов М.М. ВАК в интернете // Информационные технологии и вычислительные системы. — 2011. — № 4. — С. 74-78.
Редакция от ≈≈
https://keldysh.ru/gorbunov/free.htm

Горбунов-Посадов М.М. Персональная веб-страница ученого. — М.: ИПМ им.М.В.Келдыша, 2011.
Редакция от ≈≈
https://keldysh.ru/gorbunov/person.htm

Горбунов-Посадов М.М. Препринты ИПМ им.М.В.Келдыша. — М.: ИПМ им.М.В.Келдыша, 2011.
Редакция от ≈≈
https://keldysh.ru/gorbunov/preprints.htm

© Keldysh Institute of Applied Mathematics,