AMC−ANNOTATE

åå

AMC-annotate − AMCé¸æå¼è©¦é¨åé¡ã®çæ¡ã«æ¡ç¹çµæãè¨å¥ãã

æ¦è¦

auto−multiple−choice annotate −−project project−dir −−names−file students.csv [annotation options...]

解説

AMC−annotate.plã³ãã³ãã¯ãçæ¡ã«åè¨- åã®æ¡ç¹ã¨å¨ä½ã®æ¡ç¹ãè¨å¥ããPDFãã¡ã¤ã«ï¼åé¨èå¥ã®è¤æ°ãã¡ã¤ã«ãå¨ä½ã®åä¸ãã¡ã¤ã«ï¼ãåºåãã¾ãã

å¨è¬ãªãã·ã§ã³
−−project
project−dir

ããã¸ã§ã¯ãåããã£ã¬ã¯ããªãè¨å®ãã¾ãã

−−data project−data−dir

ãã¼ã¿ãã¡ã¤ã«ããããã£ã¬ã¯ããªï¼ããã©ã«ãå¤ã¯project−dir/dataï¼ãæå®ãã¾ãã

−−pdf−dir pdf−dir

ãã- ã¸ã§ã¯ãã®pdfãã£ã¬ã¯ããªï¼ããã©ã«ãå¤ã¯project−dir/cr/corrections/pdfï¼ãè¨- å®ãã¾ãã

−−names−file students−list.csv

åé¨èåç°¿ãã¡ã¤ã«åãè¨å®ãã¾ãã

−−names−encoding encoding

students−list.csvã®ã¨ã³ã³ã¼ãã£ã³ã°ï¼ããã©ã«ãã¯utf−8ï¼ãé¸æãã¾ãã

−−association−key key

åé¨èèå¥ã«ä½¿ç¨ããã«ã©ã ï¼åé¨èåç°¿ãã¡ã¤ã«åã®ã«ã©ã åï¼ãè¨å®ãã¾ããè- å¥æã«å®éã«ä½¿ç¨ããå¤ããã¼ã¿ãã¼ã¹ã«æ ¼ç´ããããããããã©ã«ãå¤ã¨ãªãã®ã§ããã®ãªãã·ã§ã³ã¯ä½¿ç¨ãã¹ãã§ããã¾ããã

−−subject subject.pdf

試é¨åé¡ãã¡ã¤ã«ï¼ããã©ã«ãå¤ã¯project−dir/DOC−sujet.pdfï¼ã®ãã¹ãè¨- å®ãã¾ãã

−−compose mode

ãã¼ã¯ããããã¯ã¹ã®ãªããã¼ã¸ï¼ä¾ãã°ç- æ¡ç¨ç´ããåã«ããåé¡ã®ã¿ã®ãã¼ã¸ãªã©ï¼ãåé¡ç¨ç´ãããã£ã¦ããå ´åã«ãã®ãªãã·ã§ã³ã使ç¨ãã¾ããmodeã1ã®ã¨ãã¯ãåé¡ç¨ç´ãããã¼ã¸ãåå¾ããåé¨èã®ç- æ¡ã¨åãããã«ãã¼ã¯ãè¨å¥ããåãæ¡ç¹è¨å·ãç- æ¡ç¨ç´ã«è¨å¥ãã¾ããmodeã2ã®ã¨ãã¯ãæ¡ç¹æ¸ã®ç- æ¡ç¨ç´ãããã¼ã¸ãåå¾ããï¼éè¤ããã®ã§ï¼æ¡ç¹è¨å·ã¯è¨å¥ãã¾ããã

−−corrected corrected.pdf

PDFã®æ¨¡ç¯è§£ç- ã®ãã¹ï¼ããã©ã«ãã¯project−dir/DOC−corrected.pdfããã¡ã¤ã«ãå- å¨ããªããã°ã−−n−copies, −−with, −−filter, −−filtered−sourceã®åãªãã·ã§ã³ã®å¤ãç¨ãã¦ä½æããã¾ãï¼ãè¨å®ãã¾ãã

−−darkness−threshold t

é»ãã¯ã»ã«æ¯çã®é¾å¤ãè¨- å®ãã¾ããæ¡ç¹æã«å®éã«ä½¿ç¨ããå¤ããã¼ã¿ãã¼ã¹ã«æ ¼ç´ããããããããã©ã«ãå¤ã¨ãªãã®ã§ããã®ãªãã·ã§ã³ã¯ä½¿ç¨ãã¹ãã§ããã¾ããã

−−darkness−threshold−up upper_t

é»ãã¯ã»ã«æ¯çã®ä¸éã®é¾å¤ãè¨- å®ãã¾ããæ¡ç¹æã«å®éã«ä½¿ç¨ããå¤ããã¼ã¿ãã¼ã¹ã«æ ¼ç´ããããããããã©ã«ãå¤ã¨ãªãã®ã§ããã®ãªãã·ã§ã³ã¯ä½¿ç¨ãã¹ãã§ããã¾ããã

−−csv−build−name name−model

åé¨èåç°¿ãã¡ã¤ã«ããåé¨èåãæ§æããããã®ã¢ãã«ãè¨- å®ãã¾ããããã©ã«ãå¤ã¯ã(nom|surname) (prenom|name)ãã§ããã®å ´åãæ°åã¯nomã«ã©ã ï¼ãªããã°surnameã«ã©ã ï¼ã®å容ã®å¾ã«prenomã«ã©ã ï¼ãªããã°nameã«ã©ã ï¼ã®å容ãç¶ãããã®ã«ãªãããããã£ã¦ããã©ã³ã¹èªãè±èªã®åç´ãªCSVãã¡ã¤ã«ã§ããã¦ããã¾ãããã¾ãã

−−id−file ids.txt

æ¡ç¹ãè¨å¥ããçæ¡ç¨ç´ã®IDä¸è¦§ãã¡ã¤ã«ï¼åå¥ç- æ¡ç¨ç´ã¢ã¼ããªãåé¨çªå·ãã³ãã¼ç- æ¡ç¨ç´ã¢ã¼ããªãstudent:copyãåè¡ã«ä¸ã¤ï¼ãæå®ãã¾ãããã¡ã¤ã«ãæå®ãããªãå ´åã¯ããã¹ã¦ã®ç- æ¡ç¨ç´ã«æ¡ç¹ãè¨å¥ããã¾ãã

−−debug file.log

ãããã°æå ±ãè¨é²ãããã¡ã¤ã«ãæå®ãã¾ãã

PDFåºåãªãã·ã§ã³
−−single−output

æ¡ç¹æ¸ç- æ¡ãåä¸ã®PDFãã¡ã¤ã«ã«ã¾ã¨ããã«ã¯ãã®ãªãã·ã§ã³ã使ç¨ãã¦ãã ãããããã©ã«ãã®åä½ã¯åé¨èä¸äººã«ã¤ãä¸ã¤ã®PDFãã¡ã¤ã«ãä½æãã¾ãã

−−sort s

以ä¸ã®ã½ã¼ããã¼ãè¨å®ãã¾ãï¼−−single−outputã使ç¨ããå ´åã®ã¿æå¹ï¼:

l

åé¨èåç°¿ãã¡ã¤ã«é ã

m

æ績é ã

i

試é¨åé¡IDé ã

n

æ°åé ã

−−filename−model model

æ¡ç¹è¨å¥æ¸PDFç¨ã®ãã¡ã¤ã«åã¢ãã«ãè¨- å®ãã¾ãããã®ã¢ãã«ã§ã¯ç¹å®ã®ã·ã¼ã±ã³ã¹ã以ä¸ã®ããã«ç½®æããã¾ã:

(N)

ã¯åé¨èåï¼−−csv−build−nameåç§ï¼ã«ç½®æããã¾ãã

(ID)

ã¯åé¨çªå·ã«ç½®æããã¾ãã

(COL)

ã¯åé¨èåç°¿åã®COLã«ã©ã ã®å¤ã«ç½®æããã¾ãã

ããã©ã«ãå¤ã¯ã(N)−(ID).pdfãã§ãã

ã½ã¼ã¹ãã¡ã¤ã«ãªãã·ã§ã³
以ä¸ã®ãªãã·ã§ã³ã¯−−correctedã§æå®ãããã¡ã¤ã«ãå- å¨ããããã®ãã¡ã¤ã«ãåæ§ç¯ããã¨ãã«ä½¿ç¨ããã¾ãã

−−src mcq−source−file −−n−copies n −−with latex−engine −−filter filter−name −−filtered−source fs.tex

AMC-prepare(1)ãåç§ãã¦ãã ããã

ã¹ãã£ã³ç»ååè¾¼ã¿ç¨ãªãã·ã§ã³
ã¹ãã£ã³ç»åãå- å¨ããå ´åãæ¡ç¹è¨å¥æ¸PDFãã¡ã¤ã«ã«åãè¾¼ã¾ãã¾ãã以ä¸ã®ãªãã·ã§ã³ã¯åãè¾¼ãã¹ã- ã£ã³ç»åã®å質ãå¶å¾¡ãããã¡ã¤ã«ãµã¤ãºã縮å°ã§ããããã«ãã¾ãã

−−embedded−max−size maxsize

ã¹ãã£ã³ç»åã®æ大ãµã¤ãºããã¯ã»ã«åä½ã§ï¼widthxheightã®å½¢å¼ã§ï¼è¨- å®ãã¾ããããã©ã«ãå¤ã¯ç©ºã§ããã®å ´åã¯ä¸éã¯ããã¾ãããæå®ãããµã¤ãºãã大ããã¹ã- ã£ã³ç»åã¯æ¡ç¹è¨å¥æ¸ãã¡ã¤ã«ã«åãè¾¼ãåã«ç¸®å°ããã¾ãã

−−embedded−format format

åè¾¼ã¿å½¢å¼ãjpegãpngã§è¨å®ãã¾ãã

−−embedded−jpeg−quality quality

JPEGã§åãè¾¼ãå ´åã®JPEGå質ãï¼1ãã100ã§ï¼è¨å®ãã¾ãã

æ¡ç¹è¨å¥ãªãã·ã§ã³
以ä¸ã®ãªãã·ã§ã³ã¯ã©ã®ãããªæ¡ç¹ãè¨å¥ãããããå¶å¾¡ãã¾ãã

−−font−size fs

ãã©ã³ããµã¤ãºããã¤ã³ãå¤ã§è¨å®ãã¾ãã

−−text−color color

æåã®è²ãè¨å®ãã¾ããããã©ã«ãå¤ã¯redã§ãã

−−verdict header

ååé¨èã®çæ¡ç¨ç´ã®åé ãã¼ã¸ã«è¡¨ç¤ºããããã¹ãããããè¨å®ãã¾ãããã®ãã- ã¹ãã¯è¤æ°è¡ã®ãããç¨ã«æ¹è¡æå- ãå«ããã¨ãã§ãã¾ãã以ä¸ã®ç¹å®ã®ã·ã¼ã±ã³ã¹ãç½®æããã¾ã:

%S

ã¯åé¨èã®ç´ ç¹åè¨ã«ç½®æããã¾ãã

%M

ã¯ç´ ç¹åè¨ã®æºç¹ã«ç½®æããã¾ãã

%s

ã¯åé¨èã®å¾ç¹ã«ç½®æããã¾ãã

%m

ã¯æºç¹ã«ç½®æããã¾ãã

%(ID)

ã¯åé¨èåã«ç½®æããã¾ãã

%(COL)

ã¯åé¨èåç°¿åã®COLã«ã©ã ã®å¤ã«ç½®æããã¾ãã

−−position pos

åè¨åã®æ¡ç¹è¨å¥ä½ç½®ãè¨å®ãã¾ã:

marge

å·¦ãã¼ã¸ã³ã«è¨å¥

marges

ï¼å·¦å³ããããã®ï¼è¿ãæ¹ã®ãã¼ã¸ã³ã«è¨å¥

case

ãã¼ã¯ç¨ããã¯ã¹ã®è¿ãã«è¨å¥

none

æ¡ç¹ãè¨å¥ããªã

−−verdict−question perl−expression

åè¨åã®é£ã«å°å·ãããããã¹ããperlã§è©ä¾¡ãããå¼ã¨ãã¦è¨å®ãã¾ãï¼åç´ãªãã- ã¹ããå¿è¦ãªã"ã§å²ãã§ãã ããï¼ãããã¤ãã®ã·ã¼ã±ã³ã¹ã¯è©ä¾¡ã®åã«ç½®æããã¾ã:

%S

ã¯ãã®è¨åã®ç´ ç¹ã«ç½®æããã¾ãã

%M

ã¯ãã®è¨åã®æºç¹ã«ç½®æããã¾ãã

%s

ã¯%Sã¨åãã§ãããncæ¡ï¼−−ch−signãªãã·ã§ã³åç§ï¼ã«ä¸¸ãããã¾ãã

%m

ã¯%Mã¨åãã§ãããncæ¡ï¼−−ch−signãªãã·ã§ã³åç§ï¼ã«ä¸¸ãããã¾ãã

ãã®ãªãã·ã§ã³ã®ããã©ã«ãå¤ã¯ã"%s/%m"ãã§ããæ¡ä»¶å¼ãï¼( TEST ? IF−YES : IF−NO )ã¨ããperlã®æ§æãç¨ãã¦ï¼æ¸ããã¨ãã§ãã¾ããæºç¹ãªãåæ ¼ãããã§ãªããã°ä¸åæ ¼ã¨æ¸ãã«ã¯ã次ã®ããã«ãã¾ãã

−−verdict−question "(%S==%M ? \"åæ ¼\" : \"ä¸åæ ¼\")"

−−verdict−question−cancelled perl−expression

−−verdict−questionã¨åãã§ããããã£ã³ã»ã«ããè¨- åï¼allowemptyæ¡ç¹åºæºãåç§ï¼ã«é©ç¨ããã¾ããããã©ã«ãå¤ã¯ã"X"ãã§ãã

−−indicatives

æ¡ç¹å¯¾è±¡å¤ã®è¨- åã«ãæ¡ç¹ãè¨å¥ããã«ã¯ãã®ãªãã·ã§ã³ã使ç¨ãã¾ããï¼ãããã®è¨- åã®ç´ ç¹ã¯å¨ä½ã®ç´ ç¹ãè¨ç®ããéã«ã¯ã«ã¦ã³ãããã¾ãããæ£èª¤ã®ç¶æã¯ãããã®è¨- åã«ããã¦ãç¡é¢ä¿ãªã®ã§ã対å¿ããããã¯ã¹ã¸ã®æ£èª¤ãã¼ã¯ã¯è¨å¥ãã¾ããï¼

−−line−width width

æ¡ç¹æã«è¨å¥ããè¨å·ã®ç·å¹ï¼ãã¯ã»ã«æ°ï¼ãè¨å®ãã¾ããããã©ã«ãå¤ã¯2ã§ãã

−−symbols symbols−definition

ã¯ããã¯ã¹ã«ã©ã®ããã«è¨å·ãã¤ããããå®ç¾©ãã¾ããsymbols−definitionã¯ãHA:shape:colorã®å½¢å¼ãã«ã³ãã§åºåã£ããªã¹ãã§ãHã¯0ã1ã§ããã¯ã¹ããã¼ã¯ãã¹ãã§ãªãããã¹ããã表ããAã¯0ã1ã§ããã¯ã¹ããã¼ã¯ããã¦ããªããããã¦ãããã表ããshapeã¯noneãcircleãmarkãboxã®ã©ããä¸ã¤ã§ãããcolorã¯è²ï¼ååã¾ãã¯#RGBã§ã詳細ã¯ImageMagickãGraphicsMagickã®ãã- ã¥ã¡ã³ããåç§ï¼ã表ãã¾ããããã©ã«ãå¤ã¯ã0−0:none,0−1:circle:red,1−0:mark:red,1−1:mark:blueãã§ãã

é·ã
以ä¸ã®é·ãã«ã¯åä½ãæå®ãããã¨ãã§ãã¾ãï¼in, ft, pt, cm, mmï¼ã

−−dist−to−box d

−−position caseã使ç¨ããå ´åã«ãè¨å¥ä½ç½®ã®ããã¯ã¹ããã®è·é¢ãè¨- å®ãã¾ããããã©ã«ãã¯1cmã§ãã

−−dist−margin d

ãã¼ã¸ã³ã®ãµã¤ãºãè¨å®ãã¾ããããã©ã«ãã¯5mmã§ãã

−−dist−margin−global d

ãããã¼ã®ãã¼ã¸ã³ãµã¤ãºãè¨å®ãã¾ããããã©ã«ãã¯3mmã§ãã

èè

Bienvenüe Alexis[FAMILY Given] <[email protected]>

主ãªèè

Sarkar Anirvan[FAMILY Given]

èèã»ç·¨éè

Kagotani Hiroto[FAMILY Given]

ç·¨éè

Bréal Frédéric[FAMILY Given]

èèã»ç·¨éè

Bérard Jean[FAMILY Given]

ãã©ã³ã¹èªçããè±èªçã¸ã®ç¿»è¨³

Khaznadar Georges[FAMILY Given]

ãã©ã³ã¹èªçããè±èªçã¸ã®ç¿»è¨³

Kagotani Hiroto[FAMILY Given]

è±èªçããæ¥æ¬èªçã¸ã®ç¿»è¨³

製ä½èä½

製ä½èä½ © 2008-2018 Alexis Bienvenüe

ãã®ææ¸ã¯GNUä¸è¬å¬è¡å©ç¨è¨±è«¾æ¸ãã¼ã¸ã§ã³2ã¾ãã¯ãã以éã«å¾ã£ã¦å©ç¨ãããã¨ãã§ãã¾ãã