Skip to content

Commit f1af37e

Browse files
committed
Merge branch 'master' of github.com:niruvt/learnlatex.github.io
2 parents b6ab671 + 2bdb7ee commit f1af37e

19 files changed

Lines changed: 138 additions & 61 deletions

AUTHORS.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ permalink: /AUTHORS
88
The following people have made contributions to learnlatex.org:
99

1010
- Barbara Beeton
11+
- Denis Bitouzé
1112
- David Carlisle
1213
- Paulo Roberto Massa Cereda
14+
- Joan Quintana Compte
1315
- Ulrike Fischer
1416
- Jim Hefferon
1517
- Jérémy Just
@@ -18,10 +20,10 @@ The following people have made contributions to learnlatex.org:
1820
- Phelype Oleinik
1921
- Will Robertson
2022
- Jonathan P. Spratte
23+
- Fernando S. Delgado Trujillo
2124
- Moritz Wemheuer
2225
- Joseph Wright
2326
- Dung Vu
2427
- Uwe Ziegenhagen
25-
- Denis Bitouzé
2628
- निरंजन
27-
- Joan Quintana Compte
29+

_data/languages.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@
3131
label-regional: Português
3232
label-english: Portuguese
3333

34-
- language-code: tr
35-
label-regional: Türkçe
36-
label-english: Turkish
37-
3834
- language-code: vi
3935
label-regional: Tiếng Việt
4036
label-english: Vietnamese
4137

38+
# - language-code: tr
39+
# label-regional: Türkçe
40+
# label-english: Turkish
41+
42+

_data/translations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ navigational-elements_settings:
139139
tr: "Settings"
140140
vi: "Cài đặt trang"
141141
zh: "Settings"
142-
mr: "Settings"
142+
mr: "प्राधान्ये"
143143
ca: "Configuració"
144144
navigational-elements_contact:
145145
de: "Kontakt"
@@ -175,7 +175,7 @@ navigational-elements_privacy:
175175
tr: "Privacy"
176176
vi: "Chính sách bảo mật"
177177
zh: "Privacy"
178-
mr: "Privacy"
178+
mr: "गोपनीयता धोरण"
179179
ca: "Privacitat"
180180
navigational-elements_open-an-issue:
181181
de: "Problem melden"

assets/scripts/runlatex.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ function llexamples() {
163163
p[i].parentNode.insertBefore(f, p[i].nextSibling);
164164
}
165165
}
166+
if(runlatex.adddefaultpreamble) {
167+
pretext=pretext.replace(/^[ \t\u00A0]+$/gm,'');
168+
}
166169
p[i].textContent=pretext.replace(/\s+$/,'');
167170
p[i].style.height="1em"; // force redisplay in Opera zoom
168171
ace.config.set('basePath', 'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.12') ;

ca/help.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ title: "Utilitzant el lloc web de learnlatex.org"
55
description: "Aquesta pàgina explica el site learnlatex.org i com aprofitar-lo al màxim."
66
permalink: /ca/help
77
---
8+
<script>
9+
function acesettings() {
10+
editors['pre0'].execCommand("showSettingsMenu");
11+
}
12+
</script>
813

914
# Ajuda
1015

@@ -38,7 +43,7 @@ Els exemples es poden editar i fer-ne canvis, potser com a part dels exercicis p
3843

3944
L'editor que hem utilitzat és [ACE](https://ace.c9.io/).
4045

41-
Pots personalitzar el tema que s'ha utilitzat en l'editor (per exemple utilitzant un tema de fons fosc i text clar) en la pàgina de [configuració del lloc web](settings). Una forma convenient d'experimentar amb diferents temes és utilitzar <kbd>Ctrl</kbd>+<kbd>,</kbd> (<kbd>⌘</kbd>+<kbd>,</kbd> a Mac) en qualsevol dels exemples del lloc. Això ens mostrarà un penell que ens permetrà canviar els paràmetres de configuració d'ACE.
46+
Pots personalitzar el tema que s'ha utilitzat en l'editor (per exemple utilitzant un tema de fons fosc i text clar) en la pàgina de [configuració del lloc web](settings). Una forma convenient d'experimentar amb diferents temes és utilitzar <kbd>Ctrl</kbd>+<kbd>,</kbd> (<kbd>⌘</kbd>+<kbd>,</kbd> a Mac) en qualsevol dels exemples del lloc. [Això ens mostrarà un penell](javascript:acesettings()) que ens permetrà canviar els paràmetres de configuració d'ACE.
4247

4348
El repositori d'ACE té una útil llista de [dreceres de teclat de l'editor](https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts).
4449

de/language-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ toc-description: "Besonderheiten für die deutsche Sprache."
1616
TeX und LaTeX wurden ursprünglich für die englische Sprache entwickelt, was man
1717
an vielen Voreinstellungen erkennt. Um viele Einstellungen auf Deutsch
1818
umzuschalten, kann das `babel`-Paket, wie in [einer früheren
19-
Lektion](lesson-06.md) gezeigt, verwendet werden. Wichtig ist hier die
19+
Lektion](lesson-06) gezeigt, verwendet werden. Wichtig ist hier die
2020
Verwendung der Option `ngerman` für die _neue_ Rechtschreibung. Durch das Paket
2121
werden die Regeln zur Silbentrennung angepasst, außerdem werden bestimmte
2222
Dokumentbestandteile automatisch ins Deutsche übersetzt, wie etwa

de/lesson-02.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ gewählt wird, benötigt man auch einen Editor: wir empfehlen zunächst mit
9494
TeXworks oder TeX Shop zu starten (siehe oben) und später andere Editoren zu
9595
erwägen, nachdem _Sie_ wissen, wie Sie am besten mit LaTeX arbeiten.
9696

97-
Man kann [alle Übungen im Browser bearbeiten](help.md), aber wir möchten dir
97+
Man kann [alle Übungen im Browser bearbeiten](help), aber wir möchten dir
9898
helfen, echte Dokumente zu bearbeiten, deshalb ist jetzt ein guter Zeitpunkt,
9999
das vorzubereiten.

en/help.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ title: "Using the learnlatex.org site"
55
description: "This page explains the learnlatex.org website itself and how to best make use of it."
66
permalink: /en/help
77
---
8+
<script>
9+
function acesettings() {
10+
editors['pre0'].execCommand("showSettingsMenu");
11+
}
12+
</script>
813

914
# Help
1015

@@ -48,7 +53,7 @@ The editor being used is [ACE](https://ace.c9.io/).
4853
You may customise the theme used in the editor (for example using a
4954
dark theme with light text on a dark background) on the [Site Settings](settings) page.
5055
A convenient way to experiment with different themes is to to use <kbd>Ctrl</kbd>+<kbd>,</kbd> (<kbd>⌘</kbd>+<kbd>,</kbd> on Mac)
51-
while on any example in the site. This displays a panel which allows you to change all the ACE settings.
56+
while on any example in the site. [This displays a panel](javascript:acesettings()) which allows you to change all the ACE settings.
5257

5358
The ACE repository has a [useful page of editor keyboard shortcuts](https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts).
5459

en/lesson-05.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ document have two columns.
135135

136136
Add the class option `twocolumn` and see how the layout changes.
137137

138-
Change the `\section` above for `\chapter` and find out what effect the
138+
Change the `\section` above to `\chapter` and find out what effect the
139139
following class options have when using the `scrreprt` class.
140140

141141
- `chapterprefix`

es/help.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ title: "Usando el sitio web learnlatex.org"
55
description: "Esta página web explica el objetivo de learnlatex.org y cómo hacer el mejor uso de él"
66
permalink: /es/help
77
---
8+
<script>
9+
function acesettings() {
10+
editors['pre0'].execCommand("showSettingsMenu");
11+
}
12+
</script>
813

914
# Help
1015

@@ -48,7 +53,7 @@ El editor usado es [ACE](https://ace.c9.io/).
4853
Puede configurar el tema usado en el editor (por ejemplo usando un
4954
teme oscuro, con el texto claro sobre fondo negro) en el apartado de [Configuración del sitio web](settings).
5055
Una manera adecuada de probar los diferentes temas disponibles es usando <kbd>Ctrl</kbd><kbd>,</kbd> (<kbd>⌘</kbd>+<kbd>,</kbd> en Mac) cuando se encuentre
51-
en el texto de alguno de los ejemplos del sitio web. Esta combinación de teclas le mostrará un panel que le permitirá cambiar todos los parámetros de ACE.
56+
en el texto de alguno de los ejemplos del sitio web. [Esta combinación de teclas le mostrará un panel](javascript:acesettings()) que le permitirá cambiar todos los parámetros de ACE.
5257

5358
El depósito de ACE dispone de una página [muy útil para conocer las teclas de acceso rápido del editor] https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts).
5459

0 commit comments

Comments
 (0)