* TEST criticus apparatus
@ 2022-01-06 13:09 Jean-Pierre Delange via ntg-context
2022-01-06 16:56 ` Pablo Rodriguez via ntg-context
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Pierre Delange via ntg-context @ 2022-01-06 13:09 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jean-Pierre Delange
[-- Attachment #1: Type: text/plain, Size: 160 bytes --]
I’ve tested the attached file on MacOS (High Sierra) . See the result in PDF : the numbering of notes appears as « ? ». The same file works fineunder Linux.
[-- Attachment #2: ConTeXt_Test_FooteNote-ComplexMedieval.pdf --]
[-- Type: application/pdf, Size: 20790 bytes --]
[-- Attachment #3: Type: text/plain, Size: 2 bytes --]
[-- Attachment #4: ConTeXt_Test_FooteNote-ComplexMedieval.log --]
[-- Type: application/octet-stream, Size: 15591 bytes --]
system >
system > ConTeXt ver: 2021.12.30 19:03 LMTX fmt: 2022.1.2 int: english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name '/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source > level 1, order 1, name '/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname './ConTeXt_Test_FooteNote-ComplexMedieval', input './ConTeXt_Test_FooteNote-ComplexMedieval.tex', result './ConTeXt_Test_FooteNote-ComplexMedieval'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
system > synctex functionality is enabled, expect 5-10 pct runtime overhead!
open source > level 1, order 2, name './ConTeXt_Test_FooteNote-ComplexMedieval.tex'
fonts > beware: no fonts are loaded yet, using 'lm mono' in box
fonts > bodyfont '7.8pt' is defined (can better be done global)
fonts > bodyfont '9.36pt' is defined (can better be done global)
fonts > bodyfont '6.24pt' is defined (can better be done global)
open source > level 2, order 3, name '/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source > level 2, order 3, name '/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
backend > xmp > using file '/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
close source > level 1, order 3, name './ConTeXt_Test_FooteNote-ComplexMedieval.tex'
(\end occurred inside a group at level 1)
1:0: simple group entered at line 17:
0:0: bottom level
system > start used files
system > text: ConTeXt_Test_FooteNote-ComplexMedieval
system > stop used files
system > start used files
system > 1: filename=publ-imp-default.lua filetype=scripts foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system > 2: filename=cont-new.mkxl filetype=tex foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl usedmethod=database
system > 3: filename=lang-exc.lua filetype=scripts foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system > 4: filename=lang-us.lua filetype=scripts foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system > 5: filename=/Users/adeimantos/Documents/context/TRAVAIL/ConTeXt_Test_FooteNote-ComplexMedieval.tex format=tex foundname=/Users/adeimantos/Documents/context/TRAVAIL/ConTeXt_Test_FooteNote-ComplexMedieval.tex fullname=/Users/adeimantos/Documents/context/TRAVAIL/ConTeXt_Test_FooteNote-ComplexMedieval.tex usedmethod=direct
system > 6: filename=lang-la.lua filetype=scripts foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/patterns/mkiv/lang-la.lua fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/patterns/mkiv/lang-la.lua usedmethod=database
system > 7: filename=lmmono10-regular filetype=otf format=otf foundname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/lm/lmmono10-regular.otf fullname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/lm/lmmono10-regular.otf usedmethod=database
system > 8: filename=type-imp-texgyre.mkiv filetype=tex foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv usedmethod=database
system > 9: filename=lm.lfg filetype=tex foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system > 10: filename=texgyrepagella-regular filetype=otf format=otf foundname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf fullname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf usedmethod=database
system > 11: filename=texgyrepagella-math.otf filetype=otf format=otf foundname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf fullname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf usedmethod=database
system > 12: filename=pagella-math.lfg filetype=tex foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg usedmethod=database
system > 13: filename=lang-fr.lua filetype=scripts foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/patterns/mkiv/lang-fr.lua fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/patterns/mkiv/lang-fr.lua usedmethod=database
system > 14: filename=texgyrepagella-italic filetype=otf format=otf foundname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-italic.otf fullname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-italic.otf usedmethod=database
system > 15: filename=lmmono10-italic filetype=otf format=otf foundname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/lm/lmmono10-italic.otf fullname=/Users/adeimantos/Documents/context/tex/texmf/fonts/opentype/public/lm/lmmono10-italic.otf usedmethod=database
system > 16: filename=lpdf-pdx.xml filetype=tex foundname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/adeimantos/Documents/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database
system > stop used files
system > start commandline options
system > currentrun="1"
system > fulljobname="./ConTeXt_Test_FooteNote-ComplexMedieval.tex"
system > input="./ConTeXt_Test_FooteNote-ComplexMedieval.tex"
system > kindofrun="1"
system > maxnofruns="9"
system > synctex="1"
system > texmfbinpath="/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin"
system > stop commandline options
system > start commandline files
system > 1: ./ConTeXt_Test_FooteNote-ComplexMedieval.tex
system > stop commandline files
modules > start used modules
modules > stop used modules
references > start missing references
references > 4 [][lr:b:10]
references > 4 [][lr:b:11]
references > 4 [][lr:b:12]
references > 4 [][lr:b:13]
references > 4 [][lr:b:14]
references > 4 [][lr:b:15]
references > 4 [][lr:b:16]
references > 4 [][lr:b:17]
references > 4 [][lr:b:18]
references > 4 [][lr:b:19]
references > 4 [][lr:b:1]
references > 4 [][lr:b:20]
references > 4 [][lr:b:21]
references > 4 [][lr:b:22]
references > 4 [][lr:b:23]
references > 4 [][lr:b:24]
references > 4 [][lr:b:2]
references > 4 [][lr:b:3]
references > 4 [][lr:b:4]
references > 4 [][lr:b:5]
references > 4 [][lr:b:6]
references > 4 [][lr:b:7]
references > 4 [][lr:b:8]
references > 4 [][lr:b:9]
references > stop missing references
system >
system > status after finishing run
system >
system > -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system > string pool hash lookup node token buffer input file nest parameter save font language mark insert
system > -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system > max 2097152 100000000 2097152 2097152 100000000 10000000 100000000 100000 2000 10000 100000 500000 100000 10000 10000 500
system > min 150000 10000000 150000 150000 1000000 1000000 1000000 10000 500 1000 20000 100000 250 250 50 10
system > set 500000 10000000 250000 250000 50000000 10000000 10000000 100000 2000 10000 100000 500000 100000 250 250 250
system > stp 100000 1000000 100000 100000 500000 250000 1000000 10000 250 1000 10000 10000 250 250 50 25
system >
system > mem 150000 914211 150000 1000000 1000000 1000000 10000 500 1000 20000 10000 4218880 192 1200 1120
system > all 2400000 914211 2400000 9000000 8000000 1000000 320000 16000 48000 80000 160000 4218880 192 28800 35840
system >
system > ini 2142178 850710 0 45009 0 493538 0
system > ptr 47864 9555 47847 568607 0 0 0 0 0 17 13 0 0 11
system > top 47865 740049 131074 90159 557195 553 53 5 19 41 548 250 250 50 35
system > -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system >
system > current input type : initial
system >
system > approximate memory : 30835795 (29 MB)
system >
system > expansion depth : min: 10000, max: 1000000, set: 10000, top: 10
system >
system > luabytecode registers : 1001
system > luabytecode bytes : 16032 (0 MB)
system > luastate bytes now : 58885927 (56 MB)
system > luastate bytes max : 58885927 (56 MB)
system >
system > file callbacks : 402
system > saved callbacks : 3482
system > direct callbacks : 2
system > function callbacks : 3266
system > value callbacks : 3
system > message callbacks : 0
system > bytecode callbacks : 599
system >
system > mp instances : 0
system > mp estimated memory : 0 (0 MB)
system > mp file callbacks : 0
system > mp text callbacks : 0
system > mp script callbacks : 0
system > mp log callbacks : 0
system >
system > total callbacks : 7754
system > mp total callbacks : 0
system > backend callbacks : 0
system >
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path: /Users/adeimantos/Documents/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.005 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 16 found files, scanned paths: <none>
mkiv lua stats > stored bytecode data: 501 modules (0.288 sec), 98 tables (0.016 sec), 599 chunks (0.304 sec)
mkiv lua stats > traced context: maxstack: 1607, freed: 0, unreachable: 1607
mkiv lua stats > cleaned up reserved nodes: 71 nodes, 9 lists of 435
mkiv lua stats > node memory usage: 81 attribute, 25 glue, 62 glue_spec, 3 kern, 2 penalty, 2 temp
mkiv lua stats > node list callback tasks: 12 unique task lists, 8 instances (re)created, 1745 calls
mkiv lua stats > h-node processing time: 0.018 seconds including kernel
mkiv lua stats > synctex tracing: 1 referenced files, 2 files ignored, 161 objects flushed, logfile: ConTeXt_Test_FooteNote-ComplexMedieval.synctex
mkiv lua stats > used backend: pdf
mkiv lua stats > jobdata time: 0.004 seconds saving, 0.000 seconds loading
mkiv lua stats > callbacks: file: 402, saved: 3482, direct: 2, function: 3266, value: 3, message: 0, bytecode: 599, late 0, total: 7754 (0 per page)
mkiv lua stats > randomizer: initialized with value 0.22231521776903
mkiv lua stats > loaded patterns: en::1 fr::61 la::65, load time: 0.000
mkiv lua stats > interactive elements: 0 references, 72 destinations
mkiv lua stats > loaded fonts: 5 files: lmmono10-italic.otf, lmmono10-regular.otf, texgyrepagella-math.otf, texgyrepagella-italic.otf, texgyrepagella-regular.otf
mkiv lua stats > font engine: otf 3.119, afm 1.513, tfm 1.000, 13 instances, 6 shared in backend, 1 common vectors, 5 common hashes, load time 0.166 seconds
mkiv lua stats > body font sizes: defined: 10pt 11pt 12pt 14.4pt 17.3pt 20.7pt 4pt 5pt 6pt 7pt 8pt 9pt, undefined: 6.24pt 7.8pt 9.36pt
mkiv lua stats > font embedding time: 0.006 seconds, 4 fonts
mkiv lua stats > result saved in file: ConTeXt_Test_FooteNote-ComplexMedieval.pdf, compresslevel 1, objectcompresslevel 3
mkiv lua stats > positions: 4 collected, 0 deltas, 0 shared partials, 0 partial entries
mkiv lua stats > cross referencing: 96 identified, 24 unknown
mkiv lua stats > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats > used engine: luametatex version: 2.0935, functionality level: 20211230, format id: 610, compiler: clang
mkiv lua stats > tex properties: 740049 hash slots used of 2097152, 47847 control sequences, approximate memory usage: 29 MB
mkiv lua stats > lua properties: engine: lua 5.4, used memory: 58 MB, ctx: 56 MB, max: 56 MB, symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.689 seconds, 1 processed pages, 1 shipped pages, 1.450 pages/second
[-- Attachment #5: ConTeXt_Test_FooteNote-ComplexMedieval.pdf --]
[-- Type: application/pdf, Size: 20790 bytes --]
[-- Attachment #6: ConTeXt_Test_FooteNote-ComplexMedieval.tex --]
[-- Type: application/octet-stream, Size: 2749 bytes --]
% Le script suivant nécessite différents tests avec une manipulation des paramètres, afin de préciser ce qui convient le mieux à votre travail d'édition. Ce script offre le schéma de plusieurs possibilités d'affichage des notes en bas de page avec diverses possibilités simultanées. On peut affiner encore,en ajoutant d'autres commandes stipulant les marges, les en-têtes, le numéro des pages, etc.
\mainlanguage[la] % Définition du latin comme langue principale du document.
\setupbodyfontenvironment[default][em=italic]
\setuplayout[header=2cm, footer=2cm] % Paramétrage de la page;
\setuplinenumbering[step=2] % La sortie PDF comportera une numérotation de 5 en 5; on peut régler sur 1 (ou 10).
\setupnotations[alternative=serried] % On définit le caractère séquentiel des notes.
\definelinenote[aNote] % Plusieurs manières d'afficher les notes ici, notamment en une ou en plusieurs colonnes (n=2, ou n=3).
\definelinenote[bNote][n=2]
\definelinenote[cNote][n=3]
\definelinenote[dNote][paragraph=yes] % Les notes se suivent sur la même ligne.
\def\ANote#1#2{#1\aNote{#1] #2}}
\def\BNote#1#2{#1\bNote{#1] #2}}
\def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupbodyfont[palatino, 7.8pt]
\starttext
\start\fr % On indique à ConTeXt que l'on veut ici du texte en français (ou 'en' pour l'anglais).
{\em Définir un apparat critique et le mettre en page avec un traitement de texte courant est un véritable casse-tête. \type{LaTeX} et \type{ConTeXt} offrent des outils d'automatisation encore assez mal connus dans la communauté des éditeurs, notamment dans l'édition savante, pour la collation et la comparaison de textes médiévaux}.\par
\startlinenumbering
\dorecurse{6}% À utiliser seulement pour répéter le paragraphe suivant, ici 8 fois.
{Cum defensionum \CNote{laboribus}{première note} senatoriisque
muneribus aut omnino aut magna ex parte essem aliquando liberatus,
rettuli me, Brute, te hortante maxime ad ea studia, quae retenta
animo, remissa temporibus, longo intervallo intermissa revocavi, et
cum omnium artium, quae ad rectam vivendi viam pertinerent,
\ANote{ratio}{seconde note} et disciplina studio sapientiae, quae
philosophia dicitur, contineretur, hoc mihi Latinis litteris
\DNote{inlustrandum}{troisième note} putavi, non quia
\BNote{philosophia}{quatrième note} Graecis et litteris et doctoribus
percipi non posset, sed meum semper iudicium fuit omnia nostros aut
invenisse per se sapientius quam Graecos aut accepta ab illis
fecisse meliora, quae quidem digna statuissent, in quibus
elaborarent.\par}
\stoplinenumbering
\stoptext
[-- Attachment #7: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: TEST criticus apparatus
2022-01-06 13:09 TEST criticus apparatus Jean-Pierre Delange via ntg-context
@ 2022-01-06 16:56 ` Pablo Rodriguez via ntg-context
2022-01-06 20:54 ` Jean-Pierre Delange via ntg-context
2022-01-08 12:33 ` TEST criticus apparatus with line numbering in footnotes Jean-Pierre Delange via ntg-context
0 siblings, 2 replies; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-01-06 16:56 UTC (permalink / raw)
To: Jean-Pierre Delange via ntg-context; +Cc: Pablo Rodriguez
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
On 1/6/22 2:09 PM, Jean-Pierre Delange via ntg-context wrote:
> I’ve tested the attached file on MacOS (High Sierra) . See the
> result in PDF : the numbering of notes appears as « ? ».
Jean-Pierre,
your code contains "\start\fr" with no matching "\stop".
I wonder whether "\startlanguage[fr] ... \stoplanguage" would be more
readable.
> The same file works fine under Linux.
Line numbering couldn’t be solved by ConTeXt (I’m on Linux 64bit).
I hope it helps,
Pablo
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ConTeXt_Test_FooteNote-ComplexMedieval_fixed.tex --]
[-- Type: text/x-tex; name="ConTeXt_Test_FooteNote-ComplexMedieval_fixed.tex", Size: 2742 bytes --]
% Le script suivant nécessite différents tests avec une manipulation des paramètres, afin de préciser ce qui convient le mieux à votre travail d'édition. Ce script offre le schéma de plusieurs possibilités d'affichage des notes en bas de page avec diverses possibilités simultanées. On peut affiner encore,en ajoutant d'autres commandes stipulant les marges, les en-têtes, le numéro des pages, etc.
\mainlanguage[la] % Définition du latin comme langue principale du document.
\setupbodyfontenvironment[default][em=italic]
\setuplayout[header=2cm, footer=2cm] % Paramétrage de la page;
\setuplinenumbering[step=2] % La sortie PDF comportera une numérotation de 5 en 5; on peut régler sur 1 (ou 10).
\setupnotations[alternative=serried] % On définit le caractère séquentiel des notes.
\definelinenote[aNote] % Plusieurs manières d'afficher les notes ici, notamment en une ou en plusieurs colonnes (n=2, ou n=3).
\definelinenote[bNote][n=2]
\definelinenote[cNote][n=3]
\definelinenote[dNote][paragraph=yes] % Les notes se suivent sur la même ligne.
\def\ANote#1#2{#1\aNote{#1] #2}}
\def\BNote#1#2{#1\bNote{#1] #2}}
\def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupbodyfont[palatino, 7.8pt]
\starttext
\startlanguage[fr]
% On indique à ConTeXt que l'on veut ici du texte en français (ou 'en' pour l'anglais).
{\em Définir un apparat critique et le mettre en page avec un traitement de texte courant est un véritable casse-tête. \type{LaTeX} et \type{ConTeXt} offrent des outils d'automatisation encore assez mal connus dans la communauté des éditeurs, notamment dans l'édition savante, pour la collation et la comparaison de textes médiévaux}.
\stoplanguage
\startlinenumbering
\dorecurse{6}% À utiliser seulement pour répéter le paragraphe suivant, ici 8 fois.
{Cum defensionum \CNote{laboribus}{première note} senatoriisque
muneribus aut omnino aut magna ex parte essem aliquando liberatus,
rettuli me, Brute, te hortante maxime ad ea studia, quae retenta
animo, remissa temporibus, longo intervallo intermissa revocavi, et
cum omnium artium, quae ad rectam vivendi viam pertinerent,
\ANote{ratio}{seconde note} et disciplina studio sapientiae, quae
philosophia dicitur, contineretur, hoc mihi Latinis litteris
\DNote{inlustrandum}{troisième note} putavi, non quia
\BNote{philosophia}{quatrième note} Graecis et litteris et doctoribus
percipi non posset, sed meum semper iudicium fuit omnia nostros aut
invenisse per se sapientius quam Graecos aut accepta ab illis
fecisse meliora, quae quidem digna statuissent, in quibus
elaborarent.\par}
\stoplinenumbering
\stoptext
[-- Attachment #3: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: TEST criticus apparatus
2022-01-06 16:56 ` Pablo Rodriguez via ntg-context
@ 2022-01-06 20:54 ` Jean-Pierre Delange via ntg-context
2022-01-08 12:33 ` TEST criticus apparatus with line numbering in footnotes Jean-Pierre Delange via ntg-context
1 sibling, 0 replies; 4+ messages in thread
From: Jean-Pierre Delange via ntg-context @ 2022-01-06 20:54 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jean-Pierre Delange
Thank you Pablo : it works fine on MACOS either !
> Le 6 janv. 2022 à 17:56, Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> a écrit :
>
> <ConTeXt_Test_FooteNote-ComplexMedieval_fixed.tex>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: TEST criticus apparatus with line numbering in footnotes
2022-01-06 16:56 ` Pablo Rodriguez via ntg-context
2022-01-06 20:54 ` Jean-Pierre Delange via ntg-context
@ 2022-01-08 12:33 ` Jean-Pierre Delange via ntg-context
1 sibling, 0 replies; 4+ messages in thread
From: Jean-Pierre Delange via ntg-context @ 2022-01-08 12:33 UTC (permalink / raw)
To: Pablo Rodriguez via ntg-context; +Cc: Jean-Pierre Delange
[-- Attachment #1.1: Type: text/plain, Size: 4319 bytes --]
The numbering of lines works fine on MacOS High Sierra and on Linux x64:
under linux x64 my CTX version is current version: 2020.01.30 and for
MacOS : 2021.12.30.
Now, I have to play in order to get a two columns of different texts
with a critical apparatus in footnotes.... on the basis of this code
(I've enriched the didascalies for people who are fresh beginners):
\mainlanguage[la] % Définition du latin comme langue principale du
document/Latin as main language.
\setupbodyfontenvironment[default][em=italic]
\setuplayout[header=2cm, footer=2cm] % Paramétrage de la page;
\setuplinenumbering[step=5] % La sortie PDF comportera une numérotation
des lignes de 5 en 5; on peut régler de 1 à 10/Ruling linenumbering from
1 to 10.
\setupnotations[alternative=serried] % On définit le caractère
séquentiel des notes/ Definethe sequential mode of the notes.
\definelinenote[aNote] % Plusieurs manières d'afficher les notes ici,
notamment en une ou en plusieurs colonnes (n=2, ou n=3)/Several ways to
display the notes here, especially in one or more columns (n = 2, or n
= 3)
\definelinenote[bNote][n=2]
\definelinenote[cNote][n=3]
\definelinenote[dNote][paragraph=yes] % Les notes se suivent sur la même
ligne/this option allow notes following on the same line .
\def\ANote#1#2{#1\aNote{#1] #2}}
\def\BNote#1#2{#1\bNote{#1] #2}}
\def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupbodyfont[palatino, 7.8pt]
\starttext
\startlanguage[fr] % On indique à ConTeXt que l'on veut ici du texte en
français (ou 'en' pour l'anglais)/We tell ConTeXt that we want text here
in French (or 'en' for English/It is not the same as the \fallback command.
{\em Définir un apparat critique et le mettre en page avec un traitement
de texte courant est un véritable casse-tête. \type{LaTeX} et
\type{ConTeXt} offrent des outils d'automatisation encore assez mal
connus dans la communauté des éditeurs, notamment dans l'édition
savante, pour la collation et la comparaison de textes médiévaux}.\par
\stoplanguage
\startlinenumbering
\dorecurse{6}% À utiliser seulement pour répéter le paragraphe suivant,
ici 6 fois/use thiscommand only to repeat the next paragraph, here 6 times.
{Cum defensionum \CNote{laboribus}{première note} senatoriisque
muneribus aut omnino aut magna ex parte essem aliquando liberatus,
rettuli me, Brute, te hortante maxime ad ea studia, quae retenta
animo, remissa temporibus, longo intervallo intermissa revocavi, et
cum omnium artium, quae ad rectam vivendi viam pertinerent,
\ANote{ratio}{seconde note} et disciplina studio sapientiae, quae
philosophia dicitur, contineretur, hoc mihi Latinis litteris
\DNote{inlustrandum}{troisième note} putavi, non quia
\BNote{philosophia}{quatrième note} Graecis et litteris et doctoribus
percipi non posset, sed meum semper iudicium fuit omnia nostros aut
invenisse per se sapientius quam Graecos aut accepta ab illis
fecisse meliora, quae quidem digna statuissent, in quibus
elaborarent.\par}
\stoplinenumbering
\stoptext
Le 06/01/2022 à 17:56, Pablo Rodriguez via ntg-context a écrit :
> On 1/6/22 2:09 PM, Jean-Pierre Delange via ntg-context wrote:
>> I’ve tested the attached file on MacOS (High Sierra) . See the
>> result in PDF : the numbering of notes appears as « ? ».
> Jean-Pierre,
>
> your code contains "\start\fr" with no matching "\stop".
>
> I wonder whether "\startlanguage[fr] ... \stoplanguage" would be more
> readable.
>
>> The same file works fine under Linux.
> Line numbering couldn’t be solved by ConTeXt (I’m on Linux 64bit).
>
> I hope it helps,
>
> Pablo
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist :ntg-context@ntg.nl /http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage :http://www.pragma-ade.nl /http://context.aanhet.net
> archive :https://bitbucket.org/phg/context-mirror/commits/
> wiki :http://contextgarden.net
> ___________________________________________________________________________________
--
Jean-Pierre Delange
Agrégé de philosophie
Ancients&Moderns
"Few discoveries are more irritating than those which expose the pedigree of ideas" - Lord Acton
[-- Attachment #1.2: Type: text/html, Size: 10620 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-08 12:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 13:09 TEST criticus apparatus Jean-Pierre Delange via ntg-context
2022-01-06 16:56 ` Pablo Rodriguez via ntg-context
2022-01-06 20:54 ` Jean-Pierre Delange via ntg-context
2022-01-08 12:33 ` TEST criticus apparatus with line numbering in footnotes Jean-Pierre Delange via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).