projet: intègre les procédure OpenAthens

- Intègre les procédures OpenAthens au projet.
- Adapte le Makefile pour convertir les différents documents.

Co-Authored-by: iGor milhit <igor@milhit.ch>
iGor milhit 2025-12-05 11:30:40 +01:00
parent c906c5499f
commit e7130340a6
Signed by: igor
GPG Key ID: 692D97C3D0228A99
10 changed files with 166 additions and 25 deletions

View File

@ -1,37 +1,39 @@
# Modifier le nom et le nombre des fichiers
# contenant les sources du document
input_files := \
bookmarklet.md
output_file_name := bookmarklet
SOURCES_FOLDER := source
PDF_FOLDER := pdf
pandoc := \
pandoc -s --citeproc \
SOURCE_FILES := $(wildcard $(SOURCES_FOLDER)/*.md)
HTML_FILES := $(patsubst $(SOURCES_FOLDER)/%.md,%.html,$(SOURCE_FILES))
all: $(HTML_FILES)
%.html: $(SOURCES_FOLDER)/%.md
pandoc \
--css=style.css --template=template.html \
--toc --toc-depth=2 \
--to=html --standalone \
--out=$@ $<
pandoc_html := \
$(pandoc) \
--to=html --output=$(output_file_name).html \
$(input_files)
clean:
rm -f $(filter-out template.html,$(wildcard *.html))
pandoc_pdf := \
$(pandoc) \
-V noscript=true \
--embed-resource --to=pdf \
--pdf-engine=pagedjs-cli \
--output=$(output_file_name).pdf \
$(input_files)
.PHONY: all clean
html: $(input_files)
$(pandoc_html)
# pandoc_pdf := \
# $(pandoc) \
# -V noscript=true \
# --embed-resource --to=pdf \
# --pdf-engine=pagedjs-cli \
# --output=$(output_file_name).pdf \
# $(input_files)
watch_html: $(input_files)
watchexec -r -w . -i $(output_file_name).html \
"$(pandoc_html)"
pdf: $(input_files)
$(pandoc_pdf)
# watch_html: $(input_files)
# watchexec -r -w . -i $(output_file_name).html \
# "$(pandoc_html)"
#
# pdf: $(input_files)
# $(pandoc_pdf)
serve:
watchexec -r -w . "python -m http.server"

92
jama.html 100644
View File

@ -0,0 +1,92 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
lang=""
xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Procédure OpenAthens pour le JAMA network</title>
<style>
/* Default styles provided by pandoc.
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
*/
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
/* The extra [class] is a hack that increases specificity enough to
override a similar rule in reveal.js */
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
font-size: inherit;
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="style.css" />
<!-- Allow to use -V noscript=true with pandoc
in order to avoid to insert these lines
when they are unnecessary. -->
<link href="/interface.css" rel="stylesheet" type="text/css" />
<script src="/paged.polyfill.js"></script>
<script src="/reload-in-place.js"></script>
</head>
<body>
<header id="title-block-header">
<h1 class="title">Procédure OpenAthens pour le JAMA network</h1>
<p class="date">Automne 2025</p>
</header>
<p>Pour accéder aux articles du <em>JAMA</em> depuis les HUG, via
<em>OpenAthens</em>, procéder comme suit :</p>
<p>Cliquer sur <em>sign in</em>.</p>
<figure>
<img src="../static/jama-sign-in.png" alt="Sign In JAMA" />
<figcaption aria-hidden="true">Sign In JAMA</figcaption>
</figure>
<p>Sélectionner <em>Access through your institution</em></p>
<figure>
<img src="../static/jama-institutional.png"
alt="Access through your institution" />
<figcaption aria-hidden="true">Access through your
institution</figcaption>
</figure>
<p>Si le menu daccès avec votre institution nest pas présent, cest
peut-être que vous êtes déjà connecté en tant quinstitution. Dans ce
cas, essayez daccéder à un article pour vérifier.</p>
<div id="saut">
</div>
<p>Chercher linstitution «Université de Genève». JAMA ne se comporte
pas ici de manière standard en ne proposant pas le nom habituel «UNIGE
/ HUG - Université de Genève / Hôpitaux Universitaires de Genève».</p>
<figure>
<img src="../static/jama-select-institution.png"
alt="Sélectionner lUNIGE" />
<figcaption aria-hidden="true">Sélectionner lUNIGE</figcaption>
</figure>
<p>Sélectionner votre compte UNIGE (ISIs) ou HUG (SESAME)</p>
<figure>
<img src="../static/select-account.png" alt="Choisir son compte" />
<figcaption aria-hidden="true">Choisir son compte</figcaption>
</figure>
<p>Vous devez enfin entrer vos identifiants.</p>
<div id="saut">
</div>
<p>De manière générale, vous trouverez les informations utiles pour
laccès aux ressources documentaires de la Bibliothèque depuis les HUG à
ladresse suivante: <a
href="https://www.unige.ch/biblio/fr/infos/sites/cmu/information-membres-hug/acces"
class="uri">https://www.unige.ch/biblio/fr/infos/sites/cmu/information-membres-hug/acces</a>.</p>
<figure>
<img src="../static/qrcode-access.png"
alt="QRcode de lURL précédente" />
<figcaption aria-hidden="true">QRcode de lURL précédente</figcaption>
</figure>
</body>
</html>

47
source/jama.md 100644
View File

@ -0,0 +1,47 @@
---
title: Procédure OpenAthens pour le JAMA network
file_date: 2024-07-10T09:30:13+0200
id: 20240710093027
tags: [OpenAthens, jama, procédure]
date: Automne 2025
---
Pour accéder aux articles du *JAMA* depuis les HUG, via *OpenAthens*, procéder
comme suit :
Cliquer sur *sign in*.
![Sign In JAMA](../static/jama-sign-in.png)
Sélectionner *Access through your institution*
![Access through your institution](../static/jama-institutional.png)
Si le menu d'accès avec votre institution n'est pas présent, c'est peut-être
que vous êtes déjà connecté en tant qu'institution. Dans ce cas, essayez
d'accéder à un article pour vérifier.
:::{#saut}
:::
Chercher l'institution «Université de Genève». JAMA ne se comporte pas ici de
manière standard en ne proposant pas le nom habituel «UNIGE / HUG - Université
de Genève / Hôpitaux Universitaires de Genève».
![Sélectionner l'UNIGE](../static/jama-select-institution.png)
Sélectionner votre compte UNIGE (ISIs) ou HUG (SESAME)
![Choisir son compte](../static/select-account.png)
Vous devez enfin entrer vos identifiants.
:::{#saut}
:::
De manière générale, vous trouverez les informations utiles pour l'accès aux
ressources documentaires de la Bibliothèque depuis les HUG à l'adresse
suivante:
<https://www.unige.ch/biblio/fr/infos/sites/cmu/information-membres-hug/acces>.
![QRcode de l'URL précédente](../static/qrcode-access.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB