Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1008 connectés 

 


Avec quel éditeur faites-vous du LateX ?
Sondage à 2 choix possibles.




Attention si vous cliquez sur "voir les résultats" vous ne pourrez plus voter

 Mot :   Pseudo :  
  Aller à la page :
 
 Page :   1  2  3  4  5  ..  116  117  118  119  120  121
Auteur Sujet :

[Topic unique] LaTeX (R)

n°3381445
Hegemonie
Posté le 28-08-2020 à 17:32:27  profilanswer
 

Reprise du message précédent :
Table des cartes, si ce sont des figures tu peux faire un listeoffigure, si ce sont des tableaux un listoftable.
 
Pour les notation, regarde du côté des nomenclatures :jap:

mood
Publicité
Posté le 28-08-2020 à 17:32:27  profilanswer
 

n°3381446
Axel57000
Posté le 28-08-2020 à 17:35:32  profilanswer
 

Hegemonie a écrit :

Table des cartes, si ce sont des figures tu peux faire un listeoffigure, si ce sont des tableaux un listoftable.
 
Pour les notation, regarde du côté des nomenclatures :jap:


Et pour la biblio ?
Généralement, je la mets sur cette forme : AUTEUR A., (année), Titre en italique, Lieu de l'éditeur, Éditeur, nombre de pages.
A moins de la faire manuellement je ne vois pas comment je peux faire une biblio sous cette forme avec Bibtex ou autre.

n°3381458
RandallBog​gs
Posté le 28-08-2020 à 18:24:23  profilanswer
 

Axel57000 a écrit :


Et pour la biblio ?
Généralement, je la mets sur cette forme : AUTEUR A., (année), Titre en italique, Lieu de l'éditeur, Éditeur, nombre de pages.
A moins de la faire manuellement je ne vois pas comment je peux faire une biblio sous cette forme avec Bibtex ou autre.


C'est que tu ne sais pas comment fonctionne bibtex. Il suffit de te créer ton propre style :

 

$ tex makebst
$ latex lenom.dbj

 


Message édité par RandallBoggs le 28-08-2020 à 18:31:45
n°3381461
RandallBog​gs
Posté le 28-08-2020 à 18:30:47  profilanswer
 

5 minutes pour pondre ceci :

Code :
  1. %%
  2. %% This is file `hfr.bst',
  3. %% generated with the docstrip utility.
  4. %%
  5. %% The original source files were:
  6. %%
  7. %% merlin.mbs  (with options: `babel,ay,nat,annote,vonx,nm-rvv,nmft,nmft-sc,nmand-rm,keyxyr,blkyear,dt-beg,yr-par,note-yr,tit-it,vol-bf,vnum-x,volp-com,num-xser,pg-bk,add-pub,pre-pub,blk-com,injnl,ppx,xedn,and-xcom,etal-it,nfss,')
  8. %% ----------------------------------------
  9. %% *** For Axel57000 ***
  10. %%
  11. %% Copyright 1994-2011 Patrick W Daly
  12. % ===============================================================
  13. % IMPORTANT NOTICE:
  14. % This bibliographic style (bst) file has been generated from one or
  15. % more master bibliographic style (mbs) files, listed above.
  16. %
  17. % This generated file can be redistributed and/or modified under the terms
  18. % of the LaTeX Project Public License Distributed from CTAN
  19. % archives in directory macros/latex/base/lppl.txt; either
  20. % version 1 of the License, or any later version.
  21. % ===============================================================
  22. % Name and version information of the main mbs file:
  23. % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)]
  24. %   For use with BibTeX version 0.99a or later
  25. %-------------------------------------------------------------------
  26. % This bibliography style file requires a file named  babelbst.tex
  27. %   containing the definitions of word commands like \bbleditor, etc.
  28. % This is an author-year citation style bibliography. As such, it is
  29. % non-standard LaTeX, and requires a special package file to function properly.
  30. % Such a package is    natbib.sty   by Patrick W. Daly
  31. % The form of the \bibitem entries is
  32. %   \bibitem[Jones et al.(1990)]{key}...
  33. %   \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
  34. % The essential feature is that the label (the part in brackets) consists
  35. % of the author names, as they should appear in the citation, with the year
  36. % in parentheses following. There must be no space before the opening
  37. % parenthesis!
  38. % With natbib v5.3, a full list of authors may also follow the year.
  39. % In natbib.sty, it is possible to define the type of enclosures that is
  40. % really wanted (brackets or parentheses), but in either case, there must
  41. % be parentheses in the label.
  42. % The \cite command functions as follows:
  43. %   \citet{key} ==>>                Jones et al. (1990)
  44. %   \citet*{key} ==>>               Jones, Baker, and Smith (1990)
  45. %   \citep{key} ==>>                (Jones et al., 1990)
  46. %   \citep*{key} ==>>               (Jones, Baker, and Smith, 1990)
  47. %   \citep[chap. 2]{key} ==>>       (Jones et al., 1990, chap. 2)
  48. %   \citep[e.g.][]{key} ==>>        (e.g. Jones et al., 1990)
  49. %   \citep[e.g.][p. 32]{key} ==>>   (e.g. Jones et al., 1990, p. 32)
  50. %   \citeauthor{key} ==>>           Jones et al.
  51. %   \citeauthor*{key} ==>>          Jones, Baker, and Smith
  52. %   \citeyear{key} ==>>             1990
  53. %---------------------------------------------------------------------
  54. ENTRY
  55.   { address
  56.     annote
  57.     author
  58.     booktitle
  59.     chapter
  60.     edition
  61.     editor
  62.     eid
  63.     howpublished
  64.     institution
  65.     journal
  66.     key
  67.     month
  68.     note
  69.     number
  70.     organization
  71.     pages
  72.     publisher
  73.     school
  74.     series
  75.     title
  76.     type
  77.     volume
  78.     year
  79.   }
  80.   {}
  81.   { label extra.label sort.label short.list }
  82. INTEGERS { output.state before.all mid.sentence after.sentence after.block }
  83. FUNCTION {init.state.consts}
  84. { #0 'before.all :=
  85.   #1 'mid.sentence :=
  86.   #2 'after.sentence :=
  87.   #3 'after.block :=
  88. }
  89. STRINGS { s t}
  90. FUNCTION {output.nonnull}
  91. { 's :=
  92.   output.state mid.sentence =
  93.     { ", " * write$ }
  94.     { output.state after.block =
  95.         { add.period$ write$
  96.           newline$
  97.           "\newblock " write$
  98.         }
  99.         { output.state before.all =
  100.             'write$
  101.             { add.period$ " " * write$ }
  102.           if$
  103.         }
  104.       if$
  105.       mid.sentence 'output.state :=
  106.     }
  107.   if$
  108.   s
  109. }
  110. FUNCTION {output}
  111. { duplicate$ empty$
  112.     'pop$
  113.     'output.nonnull
  114.   if$
  115. }
  116. FUNCTION {output.check}
  117. { 't :=
  118.   duplicate$ empty$
  119.     { pop$ "empty " t * " in " * cite$ * warning$ }
  120.     'output.nonnull
  121.   if$
  122. }
  123. FUNCTION {fin.entry}
  124. { add.period$
  125.   write$
  126.   newline$
  127.   annote missing$
  128.     { "\bibAnnoteFile{" cite$ * "}" * write$ newline$ }
  129.     { "\bibAnnote{" cite$ * "}{" * annote * "}" * write$ newline$
  130.     }
  131.   if$
  132. }
  133. FUNCTION {new.block}
  134. { output.state before.all =
  135.     'skip$
  136.     { after.block 'output.state := }
  137.   if$
  138. }
  139. FUNCTION {new.sentence}
  140. { output.state after.block =
  141.     'skip$
  142.     { output.state before.all =
  143.         'skip$
  144.         { after.sentence 'output.state := }
  145.       if$
  146.     }
  147.   if$
  148. }
  149. FUNCTION {add.blank}
  150. {  " " * before.all 'output.state :=
  151. }
  152. FUNCTION {date.block}
  153. {
  154.   skip$
  155. }
  156. FUNCTION {not}
  157. {   { #0 }
  158.     { #1 }
  159.   if$
  160. }
  161. FUNCTION {and}
  162. {   'skip$
  163.     { pop$ #0 }
  164.   if$
  165. }
  166. FUNCTION {or}
  167. {   { pop$ #1 }
  168.     'skip$
  169.   if$
  170. }
  171. FUNCTION {new.block.checkb}
  172. { empty$
  173.   swap$ empty$
  174.   and
  175.     'skip$
  176.     'new.block
  177.   if$
  178. }
  179. FUNCTION {field.or.null}
  180. { duplicate$ empty$
  181.     { pop$ "" }
  182.     'skip$
  183.   if$
  184. }
  185. FUNCTION {emphasize}
  186. { duplicate$ empty$
  187.     { pop$ "" }
  188.     { "\emph{" swap$ * "}" * }
  189.   if$
  190. }
  191. FUNCTION {bolden}
  192. { duplicate$ empty$
  193.     { pop$ "" }
  194.     { "\textbf{" swap$ * "}" * }
  195.   if$
  196. }
  197. FUNCTION {scaps}
  198. { duplicate$ empty$
  199.     { pop$ "" }
  200.     { "\textsc{" swap$ * "}" * }
  201.   if$
  202. }
  203. FUNCTION {bib.name.font}
  204. { scaps }
  205. FUNCTION {bib.fname.font}
  206. { bib.name.font }
  207. FUNCTION {tie.or.space.prefix}
  208. { duplicate$ text.length$ #3 <
  209.     { "~" }
  210.     { " " }
  211.   if$
  212.   swap$
  213. }
  214. FUNCTION {capitalize}
  215. { "\capitalize" swap$ * }
  216. FUNCTION {space.word}
  217. { " " swap$ * " " * }
  218. % Here are the language-specific definitions for explicit words.
  219. % Each function has a name bbl.xxx where xxx is the English word.
  220. % The BABEL language selection is made here; definitions in babelbst.tex.
  221. FUNCTION {bbl.and}
  222. { "\bbland{}"}
  223. FUNCTION {bbl.etal}
  224. { "\bbletal{}"}
  225. FUNCTION {bbl.editors}
  226. { "\bbleditors{}" }
  227. FUNCTION {bbl.editor}
  228. { "\bbleditor{}" }
  229. FUNCTION {bbl.edby}
  230. { "\bbledby{}" }
  231. FUNCTION {bbl.edition}
  232. { "\bbledition{}" }
  233. FUNCTION {bbl.volume}
  234. { "\bblvolume{}" }
  235. FUNCTION {bbl.of}
  236. { "\bblof{}" }
  237. FUNCTION {bbl.number}
  238. { "\bblnumber{}" }
  239. FUNCTION {bbl.nr}
  240. { "\bblno{}" }
  241. FUNCTION {bbl.in}
  242. { "\bblin{}" }
  243. FUNCTION {bbl.pages}
  244. { "" }
  245. FUNCTION {bbl.page}
  246. { "" }
  247. FUNCTION {bbl.chapter}
  248. { "\bblchapter{}" }
  249. FUNCTION {bbl.techrep}
  250. { "\bbltechreport{}" }
  251. FUNCTION {bbl.mthesis}
  252. { "\bblmthesis{}" }
  253. FUNCTION {bbl.phdthesis}
  254. { "\bblphdthesis{}" }
  255. MACRO {jan} {"\bbljan{}"}
  256. MACRO {feb} {"\bblfeb{}"}
  257. MACRO {mar} {"\bblmar{}"}
  258. MACRO {apr} {"\bblapr{}"}
  259. MACRO {may} {"\bblmay{}"}
  260. MACRO {jun} {"\bbljun{}"}
  261. MACRO {jul} {"\bbljul{}"}
  262. MACRO {aug} {"\bblaug{}"}
  263. MACRO {sep} {"\bblsep{}"}
  264. MACRO {oct} {"\bbloct{}"}
  265. MACRO {nov} {"\bblnov{}"}
  266. MACRO {dec} {"\bbldec{}"}
  267. MACRO {acmcs} {"ACM Computing Surveys"}
  268. MACRO {acta} {"Acta Informatica"}
  269. MACRO {cacm} {"Communications of the ACM"}
  270. MACRO {ibmjrd} {"IBM Journal of Research and Development"}
  271. MACRO {ibmsj} {"IBM Systems Journal"}
  272. MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
  273. MACRO {ieeetc} {"IEEE Transactions on Computers"}
  274. MACRO {ieeetcad}
  275. {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
  276. MACRO {ipl} {"Information Processing Letters"}
  277. MACRO {jacm} {"Journal of the ACM"}
  278. MACRO {jcss} {"Journal of Computer and System Sciences"}
  279. MACRO {scp} {"Science of Computer Programming"}
  280. MACRO {sicomp} {"SIAM Journal on Computing"}
  281. MACRO {tocs} {"ACM Transactions on Computer Systems"}
  282. MACRO {tods} {"ACM Transactions on Database Systems"}
  283. MACRO {tog} {"ACM Transactions on Graphics"}
  284. MACRO {toms} {"ACM Transactions on Mathematical Software"}
  285. MACRO {toois} {"ACM Transactions on Office Information Systems"}
  286. MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
  287. MACRO {tcs} {"Theoretical Computer Science"}
  288. FUNCTION {bibinfo.check}
  289. { swap$
  290.   duplicate$ missing$
  291.     {
  292.       pop$ pop$
  293.       ""
  294.     }
  295.     { duplicate$ empty$
  296.         {
  297.           swap$ pop$
  298.         }
  299.         { swap$
  300.           pop$
  301.         }
  302.       if$
  303.     }
  304.   if$
  305. }
  306. FUNCTION {bibinfo.warn}
  307. { swap$
  308.   duplicate$ missing$
  309.     {
  310.       swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
  311.       ""
  312.     }
  313.     { duplicate$ empty$
  314.         {
  315.           swap$ "empty " swap$ * " in " * cite$ * warning$
  316.         }
  317.         { swap$
  318.           pop$
  319.         }
  320.       if$
  321.     }
  322.   if$
  323. }
  324. INTEGERS { nameptr namesleft numnames }
  325. STRINGS  { bibinfo}
  326. FUNCTION {format.names}
  327. { 'bibinfo :=
  328.   duplicate$ empty$ 'skip$ {
  329.   's :=
  330.   "" 't :=
  331.   #1 'nameptr :=
  332.   s num.names$ 'numnames :=
  333.   numnames 'namesleft :=
  334.     { namesleft #0 > }
  335.     { s nameptr
  336.       "{vv~}{ll}{ jj}{ f{.}.}"
  337.       format.name$
  338.       bib.name.font
  339.       bibinfo bibinfo.check
  340.       't :=
  341.       nameptr #1 >
  342.         {
  343.           namesleft #1 >
  344.             { ", " * t * }
  345.             {
  346.               s nameptr "{ll}" format.name$ duplicate$ "others" =
  347.                 { 't := }
  348.                 { pop$ }
  349.               if$
  350.               t "others" =
  351.                 {
  352.                   " " * bbl.etal emphasize *
  353.                 }
  354.                 {
  355.                   bbl.and
  356.                   space.word * t *
  357.                 }
  358.               if$
  359.             }
  360.           if$
  361.         }
  362.         't
  363.       if$
  364.       nameptr #1 + 'nameptr :=
  365.       namesleft #1 - 'namesleft :=
  366.     }
  367.   while$
  368.   } if$
  369. }
  370. FUNCTION {format.names.ed}
  371. {
  372.   'bibinfo :=
  373.   duplicate$ empty$ 'skip$ {
  374.   's :=
  375.   "" 't :=
  376.   #1 'nameptr :=
  377.   s num.names$ 'numnames :=
  378.   numnames 'namesleft :=
  379.     { namesleft #0 > }
  380.     { s nameptr
  381.       "{f{.}.~}{vv~}{ll}{ jj}"
  382.       format.name$
  383.       bibinfo bibinfo.check
  384.       't :=
  385.       nameptr #1 >
  386.         {
  387.           namesleft #1 >
  388.             { ", " * t * }
  389.             {
  390.               s nameptr "{ll}" format.name$ duplicate$ "others" =
  391.                 { 't := }
  392.                 { pop$ }
  393.               if$
  394.               t "others" =
  395.                 {
  396.                   " " * bbl.etal emphasize *
  397.                 }
  398.                 {
  399.                   bbl.and
  400.                   space.word * t *
  401.                 }
  402.               if$
  403.             }
  404.           if$
  405.         }
  406.         't
  407.       if$
  408.       nameptr #1 + 'nameptr :=
  409.       namesleft #1 - 'namesleft :=
  410.     }
  411.   while$
  412.   } if$
  413. }
  414. FUNCTION {format.key}
  415. { empty$
  416.     { key field.or.null }
  417.     { "" }
  418.   if$
  419. }
  420. FUNCTION {format.authors}
  421. { author "author" format.names
  422. }
  423. FUNCTION {get.bbl.editor}
  424. { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
  425. FUNCTION {format.editors}
  426. { editor "editor" format.names duplicate$ empty$ 'skip$
  427.     {
  428.       "," *
  429.       " " *
  430.       get.bbl.editor
  431.       *
  432.     }
  433.   if$
  434. }
  435. FUNCTION {format.book.pages}
  436. { pages "pages" bibinfo.check
  437.   duplicate$ empty$ 'skip$
  438.     { " " * bbl.pages * }
  439.   if$
  440. }
  441. FUNCTION {format.note}
  442. {
  443. note empty$
  444.     { "" }
  445.     { note #1 #1 substring$
  446.       duplicate$ "{" =
  447.         'skip$
  448.         { output.state mid.sentence =
  449.           { "l" }
  450.           { "u" }
  451.         if$
  452.         change.case$
  453.         }
  454.       if$
  455.       note #2 global.max$ substring$ * "note" bibinfo.check
  456.     }
  457.   if$
  458. }
  459. FUNCTION {format.title}
  460. { title
  461.   duplicate$ empty$ 'skip$
  462.     { "t" change.case$ }
  463.   if$
  464.   "title" bibinfo.check
  465.   duplicate$ empty$ 'skip$
  466.     {
  467.       emphasize
  468.     }
  469.   if$
  470. }
  471. FUNCTION {format.full.names}
  472. {'s :=
  473. "" 't :=
  474.   #1 'nameptr :=
  475.   s num.names$ 'numnames :=
  476.   numnames 'namesleft :=
  477.     { namesleft #0 > }
  478.     { s nameptr
  479.       "{vv~}{ll}" format.name$
  480.       't :=
  481.       nameptr #1 >
  482.         {
  483.           namesleft #1 >
  484.             { ", " * t * }
  485.             {
  486.               s nameptr "{ll}" format.name$ duplicate$ "others" =
  487.                 { 't := }
  488.                 { pop$ }
  489.               if$
  490.               t "others" =
  491.                 {
  492.                   " " * bbl.etal emphasize *
  493.                 }
  494.                 {
  495.                   bbl.and
  496.                   space.word * t *
  497.                 }
  498.               if$
  499.             }
  500.           if$
  501.         }
  502.         't
  503.       if$
  504.       nameptr #1 + 'nameptr :=
  505.       namesleft #1 - 'namesleft :=
  506.     }
  507.   while$
  508. }
  509. FUNCTION {author.editor.key.full}
  510. { author empty$
  511.     { editor empty$
  512.         { key empty$
  513.             { cite$ #1 #3 substring$ }
  514.             'key
  515.           if$
  516.         }
  517.         { editor format.full.names }
  518.       if$
  519.     }
  520.     { author format.full.names }
  521.   if$
  522. }
  523. FUNCTION {author.key.full}
  524. { author empty$
  525.     { key empty$
  526.          { cite$ #1 #3 substring$ }
  527.           'key
  528.       if$
  529.     }
  530.     { author format.full.names }
  531.   if$
  532. }
  533. FUNCTION {editor.key.full}
  534. { editor empty$
  535.     { key empty$
  536.          { cite$ #1 #3 substring$ }
  537.           'key
  538.       if$
  539.     }
  540.     { editor format.full.names }
  541.   if$
  542. }
  543. FUNCTION {make.full.names}
  544. { type$ "book" =
  545.   type$ "inbook" =
  546.   or
  547.     'author.editor.key.full
  548.     { type$ "proceedings" =
  549.         'editor.key.full
  550.         'author.key.full
  551.       if$
  552.     }
  553.   if$
  554. }
  555. FUNCTION {output.bibitem}
  556. { newline$
  557.   "\bibitem[{" write$
  558.   label write$
  559.   " )" make.full.names duplicate$ short.list =
  560.      { pop$ }
  561.      { * }
  562.    if$
  563.   "}]{" * write$
  564.   cite$ write$
  565.   "}" write$
  566.   newline$
  567.   ""
  568.   before.all 'output.state :=
  569. }
  570. FUNCTION {n.dashify}
  571. {
  572.   't :=
  573.   ""
  574.     { t empty$ not }
  575.     { t #1 #1 substring$ "-" =
  576.         { t #1 #2 substring$ "--" = not
  577.             { "--" *
  578.               t #2 global.max$ substring$ 't :=
  579.             }
  580.             {   { t #1 #1 substring$ "-" = }
  581.                 { "-" *
  582.                   t #2 global.max$ substring$ 't :=
  583.                 }
  584.               while$
  585.             }
  586.           if$
  587.         }
  588.         { t #1 #1 substring$ *
  589.           t #2 global.max$ substring$ 't :=
  590.         }
  591.       if$
  592.     }
  593.   while$
  594. }
  595. FUNCTION {word.in}
  596. { bbl.in
  597.   " " * }
  598. FUNCTION {format.date}
  599. { year "year" bibinfo.check duplicate$ empty$
  600.     {
  601.     }
  602.     'skip$
  603.   if$
  604.   extra.label *
  605.   before.all 'output.state :=
  606.   " (" swap$ * " )" *
  607. }
  608. FUNCTION {format.btitle}
  609. { title "title" bibinfo.check
  610.   duplicate$ empty$ 'skip$
  611.     {
  612.       emphasize
  613.     }
  614.   if$
  615. }
  616. FUNCTION {either.or.check}
  617. { empty$
  618.     'pop$
  619.     { "can't use both " swap$ * " fields in " * cite$ * warning$ }
  620.   if$
  621. }
  622. FUNCTION {format.bvolume}
  623. { volume empty$
  624.     { "" }
  625.     { bbl.volume volume tie.or.space.prefix
  626.       "volume" bibinfo.check * *
  627.       series "series" bibinfo.check
  628.       duplicate$ empty$ 'pop$
  629.         { swap$ bbl.of space.word * swap$
  630.           emphasize * }
  631.       if$
  632.       "volume and number" number either.or.check
  633.     }
  634.   if$
  635. }
  636. FUNCTION {format.number.series}
  637. { volume empty$
  638.     { number empty$
  639.         { series field.or.null }
  640.         { series empty$
  641.             { number "number" bibinfo.check }
  642.             { output.state mid.sentence =
  643.                 { bbl.number }
  644.                 { bbl.number capitalize }
  645.               if$
  646.               number tie.or.space.prefix "number" bibinfo.check * *
  647.               bbl.in space.word *
  648.               series "series" bibinfo.check *
  649.             }
  650.           if$
  651.         }
  652.       if$
  653.     }
  654.     { "" }
  655.   if$
  656. }
  657. FUNCTION {format.edition}
  658. { edition duplicate$ empty$ 'skip$
  659.     {
  660.       output.state mid.sentence =
  661.         { "l" }
  662.         { "t" }
  663.       if$ change.case$
  664.       "edition" bibinfo.check
  665.       " " * bbl.edition *
  666.     }
  667.   if$
  668. }
  669. INTEGERS { multiresult }
  670. FUNCTION {multi.page.check}
  671. { 't :=
  672.   #0 'multiresult :=
  673.     { multiresult not
  674.       t empty$ not
  675.       and
  676.     }
  677.     { t #1 #1 substring$
  678.       duplicate$ "-" =
  679.       swap$ duplicate$ "," =
  680.       swap$ "+" =
  681.       or or
  682.         { #1 'multiresult := }
  683.         { t #2 global.max$ substring$ 't := }
  684.       if$
  685.     }
  686.   while$
  687.   multiresult
  688. }
  689. FUNCTION {format.pages}
  690. { pages duplicate$ empty$ 'skip$
  691.     { duplicate$ multi.page.check
  692.         {
  693.           n.dashify
  694.         }
  695.         {
  696.         }
  697.       if$
  698.       "pages" bibinfo.check
  699.     }
  700.   if$
  701. }
  702. FUNCTION {format.journal.pages}
  703. { pages duplicate$ empty$ 'pop$
  704.     { swap$ duplicate$ empty$
  705.         { pop$ pop$ format.pages }
  706.         {
  707.           ", " *
  708.           swap$
  709.           n.dashify
  710.           "pages" bibinfo.check
  711.           *
  712.         }
  713.       if$
  714.     }
  715.   if$
  716. }
  717. FUNCTION {format.journal.eid}
  718. { eid "eid" bibinfo.check
  719.   duplicate$ empty$ 'pop$
  720.     { swap$ duplicate$ empty$ 'skip$
  721.       {
  722.           ", " *
  723.       }
  724.       if$
  725.       swap$ *
  726.     }
  727.   if$
  728. }
  729. FUNCTION {format.vol.num.pages}
  730. { volume field.or.null
  731.   duplicate$ empty$ 'skip$
  732.     {
  733.       "volume" bibinfo.check
  734.     }
  735.   if$
  736.   bolden
  737.   eid empty$
  738.     { format.journal.pages }
  739.     { format.journal.eid }
  740.   if$
  741. }
  742. FUNCTION {format.chapter.pages}
  743. { chapter empty$
  744.     'format.pages
  745.     { type empty$
  746.         { bbl.chapter }
  747.         { type "l" change.case$
  748.           "type" bibinfo.check
  749.         }
  750.       if$
  751.       chapter tie.or.space.prefix
  752.       "chapter" bibinfo.check
  753.       * *
  754.       pages empty$
  755.         'skip$
  756.         { ", " * format.pages * }
  757.       if$
  758.     }
  759.   if$
  760. }
  761. FUNCTION {format.booktitle}
  762. {
  763.   booktitle "booktitle" bibinfo.check
  764.   emphasize
  765. }
  766. FUNCTION {format.in.ed.booktitle}
  767. { format.booktitle duplicate$ empty$ 'skip$
  768.     {
  769.       editor "editor" format.names.ed duplicate$ empty$ 'pop$
  770.         {
  771.           "," *
  772.           " " *
  773.           get.bbl.editor
  774.           ", " *
  775.           * swap$
  776.           * }
  777.       if$
  778.       word.in swap$ *
  779.     }
  780.   if$
  781. }
  782. FUNCTION {format.thesis.type}
  783. { type duplicate$ empty$
  784.     'pop$
  785.     { swap$ pop$
  786.       "t" change.case$ "type" bibinfo.check
  787.     }
  788.   if$
  789. }
  790. FUNCTION {format.tr.number}
  791. { number "number" bibinfo.check
  792.   type duplicate$ empty$
  793.     { pop$ bbl.techrep }
  794.     'skip$
  795.   if$
  796.   "type" bibinfo.check
  797.   swap$ duplicate$ empty$
  798.     { pop$ "t" change.case$ }
  799.     { tie.or.space.prefix * * }
  800.   if$
  801. }
  802. FUNCTION {format.article.crossref}
  803. {
  804.   word.in
  805.   " \cite{" * crossref * "}" *
  806. }
  807. FUNCTION {format.book.crossref}
  808. { volume duplicate$ empty$
  809.     { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
  810.       pop$ word.in
  811.     }
  812.     { bbl.volume
  813.       swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
  814.     }
  815.   if$
  816.   " \cite{" * crossref * "}" *
  817. }
  818. FUNCTION {format.incoll.inproc.crossref}
  819. {
  820.   word.in
  821.   " \cite{" * crossref * "}" *
  822. }
  823. FUNCTION {format.org.or.pub}
  824. { 't :=
  825.   ""
  826.   address empty$ t empty$ and
  827.     'skip$
  828.     {
  829.       address "address" bibinfo.check *
  830.       t empty$
  831.         'skip$
  832.         { address empty$
  833.             'skip$
  834.             { ": " * }
  835.           if$
  836.           t *
  837.         }
  838.       if$
  839.     }
  840.   if$
  841. }
  842. FUNCTION {format.publisher.address}
  843. { publisher "publisher" bibinfo.warn format.org.or.pub
  844. }
  845. FUNCTION {format.organization.address}
  846. { organization "organization" bibinfo.check format.org.or.pub
  847. }
  848. FUNCTION {article}
  849. { output.bibitem
  850.   format.authors "author" output.check
  851.   author format.key output
  852.   format.date "year" output.check
  853.   date.block
  854.   format.title "title" output.check
  855.   crossref missing$
  856.     {
  857.       journal
  858.       "journal" bibinfo.check
  859.       emphasize
  860.       word.in swap$ *
  861.       "journal" output.check
  862.       format.vol.num.pages output
  863.     }
  864.     { format.article.crossref output.nonnull
  865.       format.pages output
  866.     }
  867.   if$
  868.   format.note output
  869.   fin.entry
  870. }
  871. FUNCTION {book}
  872. { output.bibitem
  873.   author empty$
  874.     { format.editors "author and editor" output.check
  875.       editor format.key output
  876.     }
  877.     { format.authors output.nonnull
  878.       crossref missing$
  879.         { "author and editor" editor either.or.check }
  880.         'skip$
  881.       if$
  882.     }
  883.   if$
  884.   format.date "year" output.check
  885.   date.block
  886.   format.btitle "title" output.check
  887.   crossref missing$
  888.     { format.bvolume output
  889.       format.number.series output
  890.       format.publisher.address output
  891.     }
  892.     {
  893.       format.book.crossref output.nonnull
  894.     }
  895.   if$
  896.   format.edition output
  897.   format.book.pages output
  898.   format.note output
  899.   fin.entry
  900. }
  901. FUNCTION {booklet}
  902. { output.bibitem
  903.   format.authors output
  904.   author format.key output
  905.   format.date "year" output.check
  906.   date.block
  907.   format.title "title" output.check
  908.   howpublished "howpublished" bibinfo.check output
  909.   address "address" bibinfo.check output
  910.   format.book.pages output
  911.   format.note output
  912.   fin.entry
  913. }
  914. FUNCTION {inbook}
  915. { output.bibitem
  916.   author empty$
  917.     { format.editors "author and editor" output.check
  918.       editor format.key output
  919.     }
  920.     { format.authors output.nonnull
  921.       crossref missing$
  922.         { "author and editor" editor either.or.check }
  923.         'skip$
  924.       if$
  925.     }
  926.   if$
  927.   format.date "year" output.check
  928.   date.block
  929.   format.btitle "title" output.check
  930.   crossref missing$
  931.     {
  932.       format.publisher.address output
  933.       format.bvolume output
  934.       format.chapter.pages "chapter and pages" output.check
  935.       format.number.series output
  936.     }
  937.     {
  938.       format.chapter.pages "chapter and pages" output.check
  939.       format.book.crossref output.nonnull
  940.     }
  941.   if$
  942.   format.edition output
  943.   format.note output
  944.   fin.entry
  945. }
  946. FUNCTION {incollection}
  947. { output.bibitem
  948.   format.authors "author" output.check
  949.   author format.key output
  950.   format.date "year" output.check
  951.   date.block
  952.   format.title "title" output.check
  953.   crossref missing$
  954.     { format.in.ed.booktitle "booktitle" output.check
  955.       format.publisher.address output
  956.       format.bvolume output
  957.       format.number.series output
  958.       format.chapter.pages output
  959.       format.edition output
  960.     }
  961.     { format.incoll.inproc.crossref output.nonnull
  962.       format.chapter.pages output
  963.     }
  964.   if$
  965.   format.note output
  966.   fin.entry
  967. }
  968. FUNCTION {inproceedings}
  969. { output.bibitem
  970.   format.authors "author" output.check
  971.   author format.key output
  972.   format.date "year" output.check
  973.   date.block
  974.   format.title "title" output.check
  975.   crossref missing$
  976.     { format.in.ed.booktitle "booktitle" output.check
  977.       publisher empty$
  978.         { format.organization.address output }
  979.         { organization "organization" bibinfo.check output
  980.           format.publisher.address output
  981.         }
  982.       if$
  983.       format.bvolume output
  984.       format.number.series output
  985.       format.pages output
  986.     }
  987.     { format.incoll.inproc.crossref output.nonnull
  988.       format.pages output
  989.     }
  990.   if$
  991.   format.note output
  992.   fin.entry
  993. }
  994. FUNCTION {conference} { inproceedings }
  995. FUNCTION {manual}
  996. { output.bibitem
  997.   format.authors output
  998.   author format.key output
  999.   format.date "year" output.check
  1000.   date.block
  1001.   format.btitle "title" output.check
  1002.   organization "organization" bibinfo.check output
  1003.   address "address" bibinfo.check output
  1004.   format.edition output
  1005.   format.note output
  1006.   fin.entry
  1007. }
  1008. FUNCTION {mastersthesis}
  1009. { output.bibitem
  1010.   format.authors "author" output.check
  1011.   author format.key output
  1012.   format.date "year" output.check
  1013.   date.block
  1014.   format.btitle
  1015.   "title" output.check
  1016.   bbl.mthesis format.thesis.type output.nonnull
  1017.   school "school" bibinfo.warn output
  1018.   address "address" bibinfo.check output
  1019.   format.note output
  1020.   fin.entry
  1021. }
  1022. FUNCTION {misc}
  1023. { output.bibitem
  1024.   format.authors output
  1025.   author format.key output
  1026.   format.date "year" output.check
  1027.   date.block
  1028.   format.title output
  1029.   howpublished "howpublished" bibinfo.check output
  1030.   format.note output
  1031.   fin.entry
  1032. }
  1033. FUNCTION {phdthesis}
  1034. { output.bibitem
  1035.   format.authors "author" output.check
  1036.   author format.key output
  1037.   format.date "year" output.check
  1038.   date.block
  1039.   format.btitle
  1040.   "title" output.check
  1041.   bbl.phdthesis format.thesis.type output.nonnull
  1042.   school "school" bibinfo.warn output
  1043.   address "address" bibinfo.check output
  1044.   format.note output
  1045.   fin.entry
  1046. }
  1047. FUNCTION {proceedings}
  1048. { output.bibitem
  1049.   format.editors output
  1050.   editor format.key output
  1051.   format.date "year" output.check
  1052.   date.block
  1053.   format.btitle "title" output.check
  1054.   format.bvolume output
  1055.   format.number.series output
  1056.   publisher empty$
  1057.     { format.organization.address output }
  1058.     { organization "organization" bibinfo.check output
  1059.       format.publisher.address output
  1060.     }
  1061.   if$
  1062.   format.note output
  1063.   fin.entry
  1064. }
  1065. FUNCTION {techreport}
  1066. { output.bibitem
  1067.   format.authors "author" output.check
  1068.   author format.key output
  1069.   format.date "year" output.check
  1070.   date.block
  1071.   format.title
  1072.   "title" output.check
  1073.   format.tr.number output.nonnull
  1074.   institution "institution" bibinfo.warn output
  1075.   address "address" bibinfo.check output
  1076.   format.note output
  1077.   fin.entry
  1078. }
  1079. FUNCTION {unpublished}
  1080. { output.bibitem
  1081.   format.authors "author" output.check
  1082.   author format.key output
  1083.   format.date "year" output.check
  1084.   date.block
  1085.   format.title "title" output.check
  1086.   format.note "note" output.check
  1087.   fin.entry
  1088. }
  1089. FUNCTION {default.type} { misc }
  1090. READ
  1091. FUNCTION {sortify}
  1092. { purify$
  1093.   "l" change.case$
  1094. }
  1095. INTEGERS { len }
  1096. FUNCTION {chop.word}
  1097. { 's :=
  1098.   'len :=
  1099.   s #1 len substring$ =
  1100.     { s len #1 + global.max$ substring$ }
  1101.     's
  1102.   if$
  1103. }
  1104. FUNCTION {format.lab.names}
  1105. { 's :=
  1106.   "" 't :=
  1107.   s #1 "{vv~}{ll}" format.name$
  1108.   s num.names$ duplicate$
  1109.   #2 >
  1110.     { pop$
  1111.       " " * bbl.etal emphasize *
  1112.     }
  1113.     { #2 <
  1114.         'skip$
  1115.         { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
  1116.             {
  1117.               " " * bbl.etal emphasize *
  1118.             }
  1119.             { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
  1120.               * }
  1121.           if$
  1122.         }
  1123.       if$
  1124.     }
  1125.   if$
  1126. }
  1127. FUNCTION {author.key.label}
  1128. { author empty$
  1129.     { key empty$
  1130.         { cite$ #1 #3 substring$ }
  1131.         'key
  1132.       if$
  1133.     }
  1134.     { author format.lab.names }
  1135.   if$
  1136. }
  1137. FUNCTION {author.editor.key.label}
  1138. { author empty$
  1139.     { editor empty$
  1140.         { key empty$
  1141.             { cite$ #1 #3 substring$ }
  1142.             'key
  1143.           if$
  1144.         }
  1145.         { editor format.lab.names }
  1146.       if$
  1147.     }
  1148.     { author format.lab.names }
  1149.   if$
  1150. }
  1151. FUNCTION {editor.key.label}
  1152. { editor empty$
  1153.     { key empty$
  1154.         { cite$ #1 #3 substring$ }
  1155.         'key
  1156.       if$
  1157.     }
  1158.     { editor format.lab.names }
  1159.   if$
  1160. }
  1161. FUNCTION {calc.short.authors}
  1162. { type$ "book" =
  1163.   type$ "inbook" =
  1164.   or
  1165.     'author.editor.key.label
  1166.     { type$ "proceedings" =
  1167.         'editor.key.label
  1168.         'author.key.label
  1169.       if$
  1170.     }
  1171.   if$
  1172.   'short.list :=
  1173. }
  1174. FUNCTION {calc.label}
  1175. { calc.short.authors
  1176.   short.list
  1177.   "("
  1178.   *
  1179.   year duplicate$ empty$
  1180.   short.list key field.or.null = or
  1181.      { pop$ "" }
  1182.      'skip$
  1183.   if$
  1184.   *
  1185.   'label :=
  1186. }
  1187. FUNCTION {sort.format.names}
  1188. { 's :=
  1189.   #1 'nameptr :=
  1190.   ""
  1191.   s num.names$ 'numnames :=
  1192.   numnames 'namesleft :=
  1193.     { namesleft #0 > }
  1194.     { s nameptr
  1195.       "{ll{ }}{  f{ }}{  jj{ }}"
  1196.       format.name$ 't :=
  1197.       nameptr #1 >
  1198.         {
  1199.           "   "  *
  1200.           namesleft #1 = t "others" = and
  1201.             { "zzzzz" 't := }
  1202.             'skip$
  1203.           if$
  1204.           t sortify *
  1205.         }
  1206.         { t sortify * }
  1207.       if$
  1208.       nameptr #1 + 'nameptr :=
  1209.       namesleft #1 - 'namesleft :=
  1210.     }
  1211.   while$
  1212. }
  1213. FUNCTION {sort.format.title}
  1214. { 't :=
  1215.   "A " #2
  1216.     "An " #3
  1217.       "The " #4 t chop.word
  1218.     chop.word
  1219.   chop.word
  1220.   sortify
  1221.   #1 global.max$ substring$
  1222. }
  1223. FUNCTION {author.sort}
  1224. { author empty$
  1225.     { key empty$
  1226.         { "to sort, need author or key in " cite$ * warning$
  1227.           ""
  1228.         }
  1229.         { key sortify }
  1230.       if$
  1231.     }
  1232.     { author sort.format.names }
  1233.   if$
  1234. }
  1235. FUNCTION {author.editor.sort}
  1236. { author empty$
  1237.     { editor empty$
  1238.         { key empty$
  1239.             { "to sort, need author, editor, or key in " cite$ * warning$
  1240.               ""
  1241.             }
  1242.             { key sortify }
  1243.           if$
  1244.         }
  1245.         { editor sort.format.names }
  1246.       if$
  1247.     }
  1248.     { author sort.format.names }
  1249.   if$
  1250. }
  1251. FUNCTION {editor.sort}
  1252. { editor empty$
  1253.     { key empty$
  1254.         { "to sort, need editor or key in " cite$ * warning$
  1255.           ""
  1256.         }
  1257.         { key sortify }
  1258.       if$
  1259.     }
  1260.     { editor sort.format.names }
  1261.   if$
  1262. }
  1263. FUNCTION {presort}
  1264. { calc.label
  1265.   label sortify
  1266.   "    "
  1267.   *
  1268.   type$ "book" =
  1269.   type$ "inbook" =
  1270.   or
  1271.     'author.editor.sort
  1272.     { type$ "proceedings" =
  1273.         'editor.sort
  1274.         'author.sort
  1275.       if$
  1276.     }
  1277.   if$
  1278.   #1 entry.max$ substring$
  1279.   'sort.label :=
  1280.   sort.label
  1281.   *
  1282.   "    "
  1283.   *
  1284.   title field.or.null
  1285.   sort.format.title
  1286.   *
  1287.   #1 entry.max$ substring$
  1288.   'sort.key$ :=
  1289. }
  1290. ITERATE {presort}
  1291. SORT
  1292. STRINGS { last.label next.extra }
  1293. INTEGERS { last.extra.num last.extra.num.extended last.extra.num.blank number.label }
  1294. FUNCTION {initialize.extra.label.stuff}
  1295. { #0 int.to.chr$ 'last.label :=
  1296.   "" 'next.extra :=
  1297.   #0 'last.extra.num :=
  1298.   "a" chr.to.int$ #1 - 'last.extra.num.blank :=
  1299.   last.extra.num.blank 'last.extra.num.extended :=
  1300.   #0 'number.label :=
  1301. }
  1302. FUNCTION {forward.pass}
  1303. { last.label label =
  1304.     { last.extra.num #1 + 'last.extra.num :=
  1305.       last.extra.num "z" chr.to.int$ >
  1306.        { "a" chr.to.int$ 'last.extra.num :=
  1307.          last.extra.num.extended #1 + 'last.extra.num.extended :=
  1308.        }
  1309.        'skip$
  1310.       if$
  1311.       last.extra.num.extended last.extra.num.blank >
  1312.         { last.extra.num.extended int.to.chr$
  1313.           last.extra.num int.to.chr$
  1314.           * 'extra.label := }
  1315.         { last.extra.num int.to.chr$ 'extra.label := }
  1316.       if$
  1317.     }
  1318.     { "a" chr.to.int$ 'last.extra.num :=
  1319.       "" 'extra.label :=
  1320.       label 'last.label :=
  1321.     }
  1322.   if$
  1323.   number.label #1 + 'number.label :=
  1324. }
  1325. FUNCTION {reverse.pass}
  1326. { next.extra "b" =
  1327.     { "a" 'extra.label := }
  1328.     'skip$
  1329.   if$
  1330.   extra.label 'next.extra :=
  1331.   extra.label
  1332.   duplicate$ empty$
  1333.     'skip$
  1334.     { "{\natexlab{" swap$ * "}}" * }
  1335.   if$
  1336.   'extra.label :=
  1337.   label extra.label * 'label :=
  1338. }
  1339. EXECUTE {initialize.extra.label.stuff}
  1340. ITERATE {forward.pass}
  1341. REVERSE {reverse.pass}
  1342. FUNCTION {bib.sort.order}
  1343. { sort.label
  1344.   "    "
  1345.   *
  1346.   year field.or.null sortify
  1347.   *
  1348.   "    "
  1349.   *
  1350.   title field.or.null
  1351.   sort.format.title
  1352.   *
  1353.   #1 entry.max$ substring$
  1354.   'sort.key$ :=
  1355. }
  1356. ITERATE {bib.sort.order}
  1357. SORT
  1358. FUNCTION {begin.bib}
  1359. { preamble$ empty$
  1360.     'skip$
  1361.     { preamble$ write$ newline$ }
  1362.   if$
  1363.   "\begin{thebibliography}{" number.label int.to.str$ * "}" *
  1364.   write$ newline$
  1365.   "\providecommand{\natexlab}[1]{#1}"
  1366.   write$ newline$
  1367.   "\input{babelbst.tex}" write$ newline$
  1368.   "\newcommand{\Capitalize}[1]{\uppercase{#1}}" write$ newline$
  1369.   "\newcommand{\capitalize}[1]{\expandafter\Capitalize#1}" write$ newline$
  1370.   "\providecommand{\bibAnnoteFile}[1]{%"
  1371.   write$ newline$
  1372.   "  \IfFileExists{#1}{\begin{quotation}\noindent\textsc{Key:} #1\\"
  1373.   write$ newline$
  1374.   "  \textsc{Annotation:}\ \input{#1}\end{quotation}}{}}"
  1375.   write$ newline$
  1376.   "\providecommand{\bibAnnote}[2]{%"
  1377.   write$ newline$
  1378.   "  \begin{quotation}\noindent\textsc{Key:} #1\\"
  1379.   write$ newline$
  1380.   "  \textsc{Annotation:}\ #2\end{quotation}}"
  1381.   write$ newline$
  1382. }
  1383. EXECUTE {begin.bib}
  1384. EXECUTE {init.state.consts}
  1385. ITERATE {call.type$}
  1386. FUNCTION {end.bib}
  1387. { newline$
  1388.   "\end{thebibliography}" write$ newline$
  1389. }
  1390. EXECUTE {end.bib}
  1391. %% End of customized bst file
  1392. %%
  1393. %% End of file `hfr.bst'.


à sauver dans un fichier monstyle.bib

n°3381462
biezdomny
MONSTERS DO NOT EAT QUICHE!
Posté le 28-08-2020 à 19:50:23  profilanswer
 

Tu as utilisé les scripts pour faire son propre bst en répondant à des questions ? (J'utilise Biblatex et on a pas ça alors ça rend jaloux un peu.)


---------------
Expos et muséesÉgyptologie (stupid sexy Jean-François Champollion) — team bépo
n°3381464
RandallBog​gs
Posté le 28-08-2020 à 20:14:47  profilanswer
 

biezdomny a écrit :

Tu as utilisé les scripts pour faire son propre bst en répondant à des questions ? (J'utilise Biblatex et on a pas ça alors ça rend jaloux un peu.)


Oui ; là, j'ai torché un truc rapido en conformité avec l'exemple choisi.
 

n°3381466
RandallBog​gs
Posté le 28-08-2020 à 21:57:11  profilanswer
 

J'ai fait ça trop vite, j'obtiens ça :
 
https://zupimages.net/up/20/35/1dyc.jpg
 
OK pour les livres, pas pour les articles (j'ai répondu oui à un tas de trucs sans regarder le détail).

n°3381490
Axel57000
Posté le 29-08-2020 à 12:27:11  profilanswer
 

RandallBoggs a écrit :

J'ai fait ça trop vite, j'obtiens ça :
 
https://zupimages.net/up/20/35/1dyc.jpg
 
OK pour les livres, pas pour les articles (j'ai répondu oui à un tas de trucs sans regarder le détail).


Ouais c'est ça l'idée pour mon exemple de biblio, même si je rajouterai une virgule après l'initiale. Je vais me pencher sur la question.

n°3387786
Arkin
Posté le 28-11-2020 à 13:11:45  profilanswer
 

https://q.uiver.app/
 
moi qui me disait comment faire si je veux taper mon cours de catégories :o


---------------
Kiribati se dit kiribass,khmer rouge se dit kmaille rouge,Lesotho se dit léssoutou,Laos se dit lao
n°3387788
DayWalker ​II
Posté le 28-11-2020 à 13:34:55  profilanswer
 

biezdomny a écrit :

Tu as utilisé les scripts pour faire son propre bst en répondant à des questions ? (J'utilise Biblatex et on a pas ça alors ça rend jaloux un peu.)


 
Ca m'intéresse pas qu'un peu... quel genre de script / générateur de styles  ?

mood
Publicité
Posté le 28-11-2020 à 13:34:55  profilanswer
 

n°3387836
RandallBog​gs
Posté le 29-11-2020 à 09:11:51  profilanswer
 

Arkin a écrit :

https://q.uiver.app/
 
moi qui me disait comment faire si je veux taper mon cours de catégories :o


 [:kazama:3]   Génial !

n°3387838
RandallBog​gs
Posté le 29-11-2020 à 09:21:26  profilanswer
 

DayWalker II a écrit :

 

Ca m'intéresse pas qu'un peu... quel genre de script / générateur de styles  ?


C'est le script de base associé à BibTeX pour créer son fichier bst :

 

 $ tex makebst  

 

Tu réponds à toute une série de question. Parfois, il faut procéder par essai-erreur, c'est assez rebarbatif. Lire des sources de bst de base est utile aussi pour aller modifier le .bst directement dans le code. La syntaxe est du type polonaise inversée. C'est comme ça que j'ai pondu le bst demandé en deux temps trois mouvements.

 

Suite à des discussions avec des collègues de type encore plus obsessionnel que moi, je me pose toujours la question de BibLaTeX au lieu de BibTeX pour mon manuscrit d'HDR. Comme j'aime bien faire mon geek sous LaTeX, ce serait l'occasion de tenter l'expérience, ne serait-ce que pour me faire un avis dessus.  [:dks]

 

Autre question que je me pose : dois-je basculer de Computer Modern vers lmodern, même si je n'aime pas le gras sans serif de lmodern que je trouve beaucoup trop gras à mon goût, préférant la version medium de CM...  [:transparency]

 

La vie, c'est pas simple...  [:osweat]

 

/ my life


Message édité par RandallBoggs le 29-11-2020 à 09:23:06
n°3387865
DayWalker ​II
Posté le 29-11-2020 à 15:44:41  profilanswer
 

Pour ma part, j'avais déjà utilisé la version 0.x de biblatex à l'époque où il n'était pas encore hébergé sur le CTAN pour ma thèse.
 
Pour mon HDR, je l'ai utilisé aussi, avec listes de références chapitrées, et ma biblio personnelle séparée, sans doublons. Par contre, je ne me suis pas cassé les pieds à faire mon "style" de références, vu qu'on n'est pas trop intégristes là dessus dans mon domaine tant que toutes les information sont présentes.
 
Question police, j'ai utilisé charter. Pas trop gras, pas trop espacé. Enfin, je l'ai trouvée pas trop mal, avec des sérif relativement discrets.

n°3403972
biezdomny
MONSTERS DO NOT EAT QUICHE!
Posté le 19-07-2021 à 13:07:10  profilanswer
 

Je pose ça ici pour RandallBoggs et autres Emacseux :o
 
https://lucidmanager.org/productivi [...] de-export/


---------------
Expos et muséesÉgyptologie (stupid sexy Jean-François Champollion) — team bépo
n°3413384
biezdomny
MONSTERS DO NOT EAT QUICHE!
Posté le 07-12-2021 à 18:42:14  profilanswer
 

Citation :

Articles should be submitted in English as a Microsoft Word document with figures as separate files, no longer than  
7000 words and 20 figures.  
 
Please also include a short biography of yourself, no more than 50 words, to be included in the journal.  
Use  a  minimum  of  formatting  in  your  article,  and  keep  all  text  at  Gentium  11pt  size.  The  editors  will  then  fit  the  
format to our specifications.
 
If your article  includes non-English languages,  please also include a PDF file and highlight  any special characters for  
the attention of the editor.


 
 [:oh-la-vache-eh:4]  
 
À la longue je saurai même plus comment on fait du LaTeX.


---------------
Expos et muséesÉgyptologie (stupid sexy Jean-François Champollion) — team bépo
n°3413385
Fork Bomb
Obsédé textuel
Posté le 07-12-2021 à 18:49:56  profilanswer
 

biezdomny a écrit :

Citation :

Articles should be submitted in English as a Microsoft Word document with figures as separate files, no longer than  
7000 words and 20 figures.  
 
Please also include a short biography of yourself, no more than 50 words, to be included in the journal.  
Use  a  minimum  of  formatting  in  your  article,  and  keep  all  text  at  Gentium  11pt  size.  The  editors  will  then  fit  the  
format to our specifications.
 
If your article  includes non-English languages,  please also include a PDF file and highlight  any special characters for  
the attention of the editor.


 
 [:oh-la-vache-eh:4]  
 
À la longue je saurai même plus comment on fait du LaTeX.


Lyx.


---------------
Décentralisons Internet-Bépo-Troll Bingo - "Pour adoucir le mélange, pressez trois quartiers d’orange !"
n°3413386
Hegemonie
Posté le 07-12-2021 à 18:55:36  profilanswer
 

Boarf, y'a pas de photos à mettre ni de formatting, LaTeX sert à rien du coup :o

n°3413575
mange cail​loux
Posté le 10-12-2021 à 17:53:32  profilanswer
 

Bonjour topic,
 
Savez-vous s'il est possible de mélanger plusieurs tailles de pages dans un seul doc LaTeX ? Je n'ai rien trouvé sur le net.
 
Dans mon cas, c'est pour des annexes avec des plans à mettre en A3 dans un doc rédigé en A4. Au pire on peut se débrouiller avec pdfcreator mais si jamais il existe une solution pour le faire directement dans le *.tex, ça simplifie les choses.

n°3413602
RandallBog​gs
Posté le 11-12-2021 à 08:03:11  profilanswer
 
n°3413609
mange cail​loux
Posté le 11-12-2021 à 11:17:28  profilanswer
 


Ça fonctionne, merci bien  :jap:  
 
Avec le package \typearea et ces options pour remplir la page :
\KOMAoptions{paper=A3,DIV=classic}
\recalctypearea


Message édité par mange cailloux le 11-12-2021 à 11:32:23
n°3422894
Arkin
Posté le 04-07-2022 à 15:54:31  profilanswer
 

plop les texeux :o
 
je cherche à modifier mon theoremstyle pour avoir quelque chose qui ressemble à ça :
https://i.imgur.com/5VZIzXD.png
 
osef du contenu :o
 
je veux :  
* le titre (theoreme, définition...) et le numéro en gras et souligné, un espace et un deux points. éventuellement à côté le nom du théorème ou de la définition entre parenthèses ou en italique.
* le début à la ligne en décalé
* un double trait qui part du soulignage et descend jusqu'à la dernière ligne avec un petit retour vers la droite en bas.
 
 
j'ai trouvé ce qu'il me fallait pour les sections/chapitres mais pour ça ce que je ne trouve ne convient pas, j'ai plein de truc pour les listes de théorèmes, pour encadrer mais pour un truc comme ça qui n'était juste une ligne ni une boite complète.
 
des idées :??:


---------------
Kiribati se dit kiribass,khmer rouge se dit kmaille rouge,Lesotho se dit léssoutou,Laos se dit lao
n°3422895
RandallBog​gs
Posté le 04-07-2022 à 15:58:57  profilanswer
 

Arkin a écrit :

plop les texeux :o
 
je cherche à modifier mon theoremstyle pour avoir quelque chose qui ressemble à ça :
https://i.imgur.com/5VZIzXD.png
 
osef du contenu :o
 
je veux :  
* le titre (theoreme, définition...) et le numéro en gras et souligné, un espace et un deux points. éventuellement à côté le nom du théorème ou de la définition entre parenthèses ou en italique.
* le début à la ligne en décalé
* un double trait qui part du soulignage et descend jusqu'à la dernière ligne avec un petit retour vers la droite en bas.
 
 
j'ai trouvé ce qu'il me fallait pour les sections/chapitres mais pour ça ce que je ne trouve ne convient pas, j'ai plein de truc pour les listes de théorèmes, pour encadrer mais pour un truc comme ça qui n'était juste une ligne ni une boite complète.
 
des idées :??:


package thmbox, à tweaker pour avoir ta double ligne

n°3422919
Romn
Posté le 05-07-2022 à 00:22:57  profilanswer
 

Pour une formation Matlab que je donnais, je m'étais fait une commande pour faire des blocs "task" dont la numérotation se ré-initialisait à chaque subsection :
 
https://img.super-h.fr/images/2022/07/05/20b080cb50be2d69b5110e45d89a3373.md.png
 

Code :
  1. \usepackage[framemethod=TikZ]{mdframed}
  2. [...]
  3. % Task box
  4. \newcounter{task}[subsection]\setcounter{task}{0} % Create a counter for tasks that reset at subsection
  5. \renewcommand{\thetask}{\arabic{task}}  % Define how the task number is represented
  6. \newenvironment{task}[2][]{%
  7. \refstepcounter{task}%
  8. \ifstrempty{#1}% No title provided
  9. {\mdfsetup{%
  10. frametitle={%
  11. %\tikz[baseline=(current bounding box.east),outer sep=0pt]
  12. %\node[anchor=east,rectangle,fill=blue!20]
  13. {\strut Task~\thetask}}}
  14. }%
  15. {\mdfsetup{% Title provided
  16. frametitle={%
  17. %\tikz[baseline=(current bounding box.east),outer sep=0pt]
  18. %\node[anchor=east,rectangle,fill=blue!20]
  19. {\strut Task~\thetask:~#1}}}%
  20. }%
  21. \mdfsetup{
  22. nobreak=true,
  23. roundcorner=5pt
  24. %innertopmargin=10pt,linecolor=blue!20,%
  25. %linewidth=2pt,topline=true,%
  26. %frametitleaboveskip=\dimexpr-\ht\strutbox\relax
  27. }
  28. \begin{mdframed}[]\relax%
  29. \label{#2}}
  30. {\end{mdframed}}
  31.        [...]
  32. \subsection{Saving and Loading Variables}
  33. You can save variables in your workspace to a \matlab specific file format called a MAT-file using the save command:
  34. \begin{lstlisting}[language=Matlab]
  35. >> save foo x
  36. \end{lstlisting}
  37. The command above saves a variable named \q{x} to a MAT-file named \q{foo.mat}.
  38. \begin{task}[]{}
  39. Run \q{Saving\_and\_Loading\_Variables} to generate Workspace.
  40. \end{task}


 
Ça utilise le package mdframed.
Les tâches ont été prévues pour pouvoir avoir un titre en paramètre mais finalement je ne l'ai jamais utilisé.
Tu peux adapter un peu mon code pour avoir le titre d'abord en dehors et la boîte ensuite.
Tu peux personnaliser chaque bordure indépendamment : https://tex.stackexchange.com/quest [...] f-mdframed
Donc n'en mettre que une double bordure à gauche dans ton cas (le début de bordure en bas va peut-être être pas évident à faire).


Message édité par Romn le 05-07-2022 à 11:14:30

---------------
DVD |  Ludothèque: BGG
n°3422927
Ciler
Posté le 05-07-2022 à 09:52:40  profilanswer
 

OUi, propre  [:implosion du tibia]


---------------
And I looked, and behold a pale horse: and his name that sat on him was Death, and Hell followed with him. Revelations 6:8
n°3422931
Romn
Posté le 05-07-2022 à 11:19:43  profilanswer
 

Ravi que ça vous plaise. [:cerveau cawa2]  
 
Vous noterez qu'il y a aussi un peu de code :
https://img.super-h.fr/images/2022/07/05/1cccb68159a52a342777c3fd304f1c25.png
 
C'est fait avec le package listing (c'est pas de moi) :

Code :
  1. \usepackage{listings}
  2. \lstloadlanguages{Matlab}%
  3. \lstset{language=Matlab,                   % Use \matlab
  4.         %frame=single,                           % Single frame around code
  5.         %basicstyle=\small\ttfamily,          % Use small true type font
  6.         keywordstyle=[1]\color{Blue}\bfseries,  % \matlab functions bold and blue
  7.         keywordstyle=[2]\color{Purple},            % \matlab function arguments purple
  8.         keywordstyle=[3]\color{Blue}\underbar,  % User functions underlined and blue
  9.         identifierstyle=,                       % Nothing special about identifiers
  10.                                                 % Comments small dark green courier
  11.         commentstyle=\usefont{T1}{pcr}{m}{sl}\color{MyDarkGreen}\small,
  12.         stringstyle=\color{Purple},             % Strings are purple
  13.         showstringspaces=false,                 % Don't put marks in string spaces
  14.         tabsize=4,                              % 5 spaces per tab
  15.         %
  16.         %%% Put standard \matlab functions not included in the default
  17.         %%% language here
  18.         morekeywords={xlim,ylim,var,alpha,factorial,poissrnd,normpdf,normcdf,methods,properties,classdef},
  19.         %
  20.         %%% Put \matlab function parameters here
  21.         morekeywords=[2]{on, off, interp},
  22.         %
  23.         %%% Put user defined functions here
  24.         morekeywords=[3]{FindESS, homework_example,methods,properties,classdef},
  25.         %
  26.         morecomment=[l][\color{Blue}]{...},     % Line continuation (...) like blue comment
  27.         numbers=left,                           % Line numbers on left
  28.         firstnumber=1,                          % Line numbers start with line 1
  29.         numberstyle=\tiny\color{Blue},          % Line numbers are blue
  30.         stepnumber=1                            % Line numbers go in steps of 5
  31.         }
  32. [...]
  33. \begin{lstlisting}[language=Matlab]
  34. >> x = rand(2)
  35. x =
  36.     0.8147    0.1270
  37.     0.9058    0.9134
  38. \end{lstlisting}


 
Je voulais que les numéros de ligne soit aligné avec le début de ligne (voir un peu en retrait sur la droite) plutôt que dans la marge mais je n'ai pas réussi à le faire (enfin comme j'ai écris mon support de cours la vieille de faire le cours pour la première fois je n'ai pas trop eu le temps d'approfondir).


---------------
DVD |  Ludothèque: BGG
n°3422938
Ciler
Posté le 05-07-2022 à 14:42:07  profilanswer
 

lstlistings ets un peu chiant pour ça :o


---------------
And I looked, and behold a pale horse: and his name that sat on him was Death, and Hell followed with him. Revelations 6:8
n°3422946
Romn
Posté le 05-07-2022 à 22:28:57  profilanswer
 

Tu en as un autre à conseiller ?


---------------
DVD |  Ludothèque: BGG
n°3422953
Ciler
Posté le 06-07-2022 à 08:52:38  profilanswer
 

Romn a écrit :

Tu en as un autre à conseiller ?


J'ai un collègue qui préfère minted, mais je ne peut ni le conseiller ni le déconseiller, je ne l'ai jamais utililsé.


---------------
And I looked, and behold a pale horse: and his name that sat on him was Death, and Hell followed with him. Revelations 6:8
n°3423065
RandallBog​gs
Posté le 09-07-2022 à 17:02:41  profilanswer
 

Je m'étais penché sur la quesiton et minted s'appuie sur je ne sais plus quel moteur python. Personnellement, j'utilise listings depuis des années, j'en suis content ou presque (problèmes de gestion de certaines espaces, option column=fullflexible pour les copier-coller à partir d'un pdf, comprenne qui pourra :p )

Message cité 1 fois
Message édité par RandallBoggs le 09-07-2022 à 17:02:52
n°3423066
RandallBog​gs
Posté le 09-07-2022 à 17:03:43  profilanswer
 

Sinon, pour tes histoires d'alignement, encapsuler ton listing dans une minipage indentée de la bonne longueur ?


Message édité par RandallBoggs le 09-07-2022 à 17:04:03
n°3423074
Ciler
Posté le 10-07-2022 à 10:05:49  profilanswer
 

RandallBoggs a écrit :

Je m'étais penché sur la quesiton et minted s'appuie sur je ne sais plus quel moteur python. Personnellement, j'utilise listings depuis des années, j'en suis content ou presque (problèmes de gestion de certaines espaces, option column=fullflexible pour les copier-coller à partir d'un pdf, comprenne qui pourra :p )


Moi aussi, et effectivement j'ai découvert le truc fantastique de l'alignement des colonnes (du coup passage sur une police à chasse fixe pour le code).
 
Le principal problème que j'ai est la gestion des espaces autour du code qui ne me satisfait pas (mais j'ai pas trouvé de solution).  
 
Après le rendu est nickel je trouve, et moi je numérote pas les lignes vu que c'est pas standard dans les sujets du bac.
 
https://rehost.diberie.com/Picture/Get/r/79212


Message édité par Ciler le 10-07-2022 à 10:06:32

---------------
And I looked, and behold a pale horse: and his name that sat on him was Death, and Hell followed with him. Revelations 6:8
n°3428441
biezdomny
MONSTERS DO NOT EAT QUICHE!
Posté le 21-11-2022 à 17:09:32  profilanswer
 

J'ai jamais compris les histoires d'encodage [:massys]  
 
L'idée là c'est que j'ai un gros truc à rédiger, et que j'essaie d'avoir tout ce qui est notes et rédaction en cours au même endroit, à savoir un Dokuwiki.  
 
Au lieu de gérer des fichiers en parallèle, et au moins pour avoir un ordre d'idée d'à quoi ça commence à ressembler, je me suis fait un petit script :  
- j'exporte du wiki mon agrégat de documents sous forme d'un gros fichier HTML ;
- je passe pandoc dessus pour le convertir en LaTeX ;  
- à côté de ça j'ai un fichier avec des macros de base et un \input{mon fichier converti}.
 
Donc en théorie y a qu'à mettre à jour puis à compiler [:mycrub]  
 
Bon évidemment y a plein de trucs qui chient, mais ça c'est normal, je vais sûrement ajouter un ou deux sed pour gérer des bouts de wiki ou de HTML qui traînent et qui sont mal interprétés par LaTeX, par exemple, mais :  
 
Est-ce qu'il y a un truc dans inputenc ou un autre package qu'on peut utiliser pour qu'il reconnaisse nativement tous les caractères accentués ? Là j'utilise latin1, les minuscules ont l'air de passer mais pas À ni Ö par exemple.  
 
(Oui je peux faire un sed pour les remplacer par du code avant de compiler, mais s'il y avait un moyen qu'elles passent direct je trouverais ça plus pratique.)


---------------
Expos et muséesÉgyptologie (stupid sexy Jean-François Champollion) — team bépo
n°3428442
Trit'
Posté le 21-11-2022 à 17:31:28  profilanswer
 

biezdomny a écrit :

Est-ce qu'il y a un truc dans inputenc ou un autre package qu'on peut utiliser pour qu'il reconnaisse nativement tous les caractères accentués ? Là j'utilise latin1, les minuscules ont l'air de passer mais pas À ni Ö par exemple.


UTF-8, plutôt ! Latin-1, c’était l’ancienne page de code ISO-8859-1 utilisée par les versions européennes de Windows (enfin, presque, puisque Windows utilisait la variante Windows-1252, identique à 3 caractères près). Inutile de dire que cet encodage est tellement obsolète qu’il est désormais à fuir depuis au moins 20 ans !

n°3428447
biezdomny
MONSTERS DO NOT EAT QUICHE!
Posté le 21-11-2022 à 18:19:36  profilanswer
 

Je suis une vieille personne :o

 

Cela dit j'ai évidemment essayé utf8 aussi et c'est pire, j'ai des messages d'erreur sans aucune information, du genre « Package inputenc Error: Invalid UTF-8 byte sequence. » sur une ligne vide. Au moins latin1 il me disait c'était quoi son problème :o

 

Edit : sachant que le fichier que pandoc m'a sorti est censé être de l'UTF-8 évidemment [:tartare de marmotte:4]


Message édité par biezdomny le 21-11-2022 à 18:21:40

---------------
Expos et muséesÉgyptologie (stupid sexy Jean-François Champollion) — team bépo
n°3428453
RandallBog​gs
Posté le 21-11-2022 à 20:08:50  profilanswer
 

Tu dois d'abord convertir ton latin1 en utf8, du genre (j'ai ça en stock sur mon ordi) :
 

Code :
  1. #!/bin/bash
  2. if test  $# != 1
  3. then
  4.     echo "script shell pour convertir un fichier iso-latin1 en utf 8 à la volée"
  5.     echo "usage : $0 entree"
  6.     exit
  7. fi
  8. fichier="$1"temp
  9. iconv --to-code=UTF-8 --from-code=ISO-8859-1 $1 fichier
  10. mv fichier $1


 
Ensuite tu passes la moulinette.

n°3428455
biezdomny
MONSTERS DO NOT EAT QUICHE!
Posté le 21-11-2022 à 20:20:31  profilanswer
 

Merci ! Mais pas besoin normalement puisque rien dans la chaîne (avant d'arriver à LaTeX) n'était dans un autre encodage qu'UTF-8.

 

J'ai un Wiki qui enregistre ses documents en UTF-8, à partir duquel wget m'a fabriqué un fichier HTML qui est en UTF-8, et pandoc me l'a transformé en .tex qui est en UTF-8.

 

Après avoir changé latin1 en utf-8 dans ma conf LaTeX, j'ai supprimé les fichiers temporaires au cas où et recompilé, et rien à faire. J'ai même forcé un iconv sur le .tex au cas où (qui est la commande que tu utilises dans ton script).

 

Je vais essayer de tout refaire depuis le début et de compiler le LaTeX en ligne de commande pour voir, des fois que j'aurais un problème avec de vieux fichiers temporaires cachés de TexStudio ou je ne sais quoi [:transparency]

 

Edit : ce sont des sauts de ligne qui ont l'air de poser problème, pas tous, certains seulement, qui génèrent quatre messages d'erreur chacun (comme s'il y avait quatre bytes à problème à chaque fois).  


Message édité par biezdomny le 21-11-2022 à 20:22:24

---------------
Expos et muséesÉgyptologie (stupid sexy Jean-François Champollion) — team bépo
n°3428459
RandallBog​gs
Posté le 21-11-2022 à 21:04:01  profilanswer
 

Oui, oups, réponse parcellaire. Dommage que cel an'ait pas fonctionné du premier coup

 

J'ai une certaine pratique de ce genre de trucs quand je me retrouve à traiter un document coposite, issu de différents fichiers sources, encodés qui en utf8, qui en latin1, mac et/ou dos... La moulinette échoue parfois. Je dois alors recourir à vim et/ou emacs avec sauvegarde (donc conversion) dans l'encodage voulu. D'autres fois, ce qui marche, c'est copier-coller d'un emacs à l'autre, voire d'un vim à emacs ou vice-versa ou en récupérant la sortie du terminal (avec cat). Bref, c'est la plaie. Je compatis, pour être passé par là.

 

Ce qui est certain, c'est que inputenc est très souvent mis en échec et qu'il vaut mieux au préalable avoir fait passer les choses dans une moulinette voire plusieurs.

 

Ah bah ça les retour chariots, windows vs linux, c'est soit 2 bytes, soit 1 byte. C'est comme ça...  [:spamafotev]  :sarcastic:


Message édité par RandallBoggs le 21-11-2022 à 21:08:23
n°3428462
biezdomny
MONSTERS DO NOT EAT QUICHE!
Posté le 21-11-2022 à 21:30:41  profilanswer
 

Tout a été fait sous Linux [:fegafobobos:2]  
 
Cela dit, c'est une bonne idée tiens, je regarderai si par hasard Dokuwiki ne générerait pas des retours chariot bizarres dans certains cas, vu que j'ai diverses extensions tierces installées et qu'il y en a une qui sert à intégrer différentes pages au sein d'une seule. Si celle-là pose problème, ça pourrait expliquer que seuls certains retours à la ligne créent des erreurs.


---------------
Expos et muséesÉgyptologie (stupid sexy Jean-François Champollion) — team bépo
n°3428463
RandallBog​gs
Posté le 21-11-2022 à 21:36:26  profilanswer
 

Faut voir si Dokuwiki fait de l'utf8 unix ou windows. Ce n'est pas le même encodage, tout en restant de l'Unicode.

n°3428467
DayWalker ​II
Posté le 21-11-2022 à 23:30:10  profilanswer
 

Ces histoires d'encodage, ca m'a toujours pété les bur...es.

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3  4  5  ..  116  117  118  119  120  121

Aller à :
Ajouter une réponse
 

Sujets relatifs
[Topic] Le FASTPATH chez free !Pourquoi ferme t-on d'autorité un topic...
Je recherche un topic...Où mettre ce filtre ADSL??(fin du topic)
[Topic Unique] Freebox V3.... auront nous la V4 mi-juillet???[Topic Unique] Mozilla Thunderbird 115.10.1
Plus de sujets relatifs à : [Topic unique] LaTeX (R)


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR