Partage
  • Partager sur Facebook
  • Partager sur Twitter

Utilisation de Biblatex pour citer des pages web

ajouter "consulté le" à la biblio

Sujet résolu
    1 juin 2020 à 23:50:34

    Bonsoir à tous,

    je suis novice dans l'utilisation de Latex. Je rédige actuellement un document dans lequel j'ai besoin de citer des pageweb et d'ajouter la mention dans la biblio "consulté le".

    J'ai lu un post précédant https://openclassrooms.com/forum/sujet/latex-date-de-publi-consult-pour-les-sites-web dans lequel ilest indiquer d'utiliser biblatex. J'ai tester et j'ai systématiquement le message "empty bibliography" et partout dans le texte où je cite "Citation 'xx' on page x undifined".

    j'ai tester plein de choses mais je n'ai plus d'idées donc si quelqu'un peut m'aider je serai éternellement reconnaissante !:)

    mon fichier .bib

    begin{filecontents*}{\biblio.bib}
    @article{ekholm,
      title={Assessing countries’ historical contributions to GHG emissions},
      author={Ekholm, Tommi and Lindroos, Tomi J},
      year={2015},
      publisher={VTT Technical Research Centre of Finland}
    }
    
    @online{financeetrisque,
    	author = {Bouchet, Vincent and Mottis Nicolas},
    	editor = {The Conversation},
    	title = {Finance et risques climatiques},
    	url = {http://gutenberg.eu.org/},
    	urldate={2020-05-14},
    	year=2019,
    	month=10
    }
    
    @misc{friedrich,
    	author={Friedrich, Marina and Fries, Sébastien and Pahle, Michael and Edenhofer, Ottmar},
    	year={2020},
    	month={03},
    	pages={},
    	title={Understanding the explosive trend in EU ETS prices -fundamentals or speculation?},
    	url = {https://www.researchgate.net/publication/340051363_Understanding_the_explosive_trend_in_EU_ETS_prices_-fundamentals_or_speculation}
    }
    
    @misc{ONU92,
    title={Convention-Cadre des Nations Unies sur les changements climatiques},
    institution={Nations Unies},
    year={1992},
    url = {https://unfccc.int/resource/docs/convkp/convfr.pdf}
    }
    
    @misc{i4ce19,
    	title={L’état du marché carbone européen},
    	author={Alberola, Emilie and Mazzoni, Matteo and Vangenechten, Domien and Caneill, Jean-Yves and Schleicher, Stefan and Cecchetti, Federico and Stoefs, Wijnand and Marcu, Andrei and Vailles, Charlotte
    	},
    	institution={I4CE},
    	year={2019},
    	url= {https://www.i4ce.org/wp-core/wp-content/uploads/2019/06/0617-i4ce-Etude-EtatMarcheCarboneEurope.pdf}
    }
    
    
    @article{xu,
    	author = {Xu, Chi and Kohler, Timothy A. and Lenton, Timothy M. and Svenning, Jens-Christian and Scheffer, Marten},
    	title = {Future of the human climate niche},
    	elocation-id = {201910114},
    	year = {2020},
    	doi = {10.1073/pnas.1910114117},
    	publisher = {National Academy of Sciences},
    	abstract = {blablabla.},
    	issn = {0027-8424},
    	URL = {https://www.pnas.org/content/early/2020/04/28/1910114117},
    	eprint = {https://www.pnas.org/content/early/2020/04/28/1910114117.full.pdf},
    	journal = {Proceedings of the National Academy of Sciences}
    }
    
    @misc{carney,
    author={Carney, Mark},
    year={2015},
    month = {09},
    pages = {},
    title = {Mark Carney: Breaking the tragedy of the horizon – climate change and financial stability},
    url = {https://www.bis.org/review/r151009a.pdf}
    }
    
    @misc{OCDE,
    	author={OCDE},
    	year={2015},
    	title = {The Economic Consequences of Climate Change},
    	url = {https://read.oecd-ilibrary.org/environment/the-economic-consequences-of-climate-change_9789264235410-en#page1"}
    }
    
    
    @misc{carbonclear,
    	author={CarbonClear},
    	year={2011},
    	title = {WHITE PAPER - PAS 2060 - THE FIRST STANDARD FOR CARBON NEUTRALITY},
    }
    
    @misc{natural,
    	author={Natural Capital Partners},
    	year={2020},
    	title = {The CarbonNeutral Protocol},
    	url = {https://carbonneutral.com/pdfs/The_CarbonNeutral_Protocol_Jan_2020.pdf"}
    }
    
    @misc{tcfd
    	author={TCFD},
    	year={2016},
    	title = {Recommendations of the Task Force on Climate-related Financial Disclosures},
    	url = {https://www.fsb-tcfd.org/wp-content/uploads/2016/12/16_1221_TCFD_Report_Letter.pdf}
    }
    
    @misc{wbcsd01
    	author={WBCSD and WRI},
    	year={2001},
    	title = {Le Protocole des gaz à effet de serre : Une	norme de comptabilisation et de	déclaration destinée à l'entreprise},
    	url = {https://www.wbcsd.org/contentwbc/download/2669/33465"}
    }
    
    @misc{wbcsd04
    	author={WBCSD and WRI},
    	year={2004},
    	title = {The Greenhouse Gas Protocol - A Corporate Accounting and Reporting Standard -Revised Edition},
    	url = {https://ghgprotocol.org/sites/default/files/standards/ghg-protocol-revised.pdf"}
    }
    
    @misc{carbone4
    	author={Carbone 4},
    	year={2020},
    	title = {NET ZERO INITIATIVE – UN RÉFÉRENTIEL POUR UNE NEUTRALITÉ CARBONE COLLECTIVE},
    	url = {http://www.carbone4.com/wp-content/uploads/2020/04/Carbone-4-Referentiel-NZI-avril-2020.pdf"}
    }
    
    
    @misc{i4ce17,
    	title={Gérer les risques de transition de son portefeuille : de la théorie à la pratique},
    	author={Nicol, Morgane and Hubert, Romain and Cochran, Ian and Leguet, Benoît},
    	institution={I4CE},
    	year={2017},
    	url= {i4ce.org/wp-core/wp-content/uploads/2017/04/17-04-I4CE-Point-Climats-Résumé-Risques-climatiques-et-acteurs-financiers.pdf}
    }
    
    @misc{iea18,
    	title={World Energy Outlook 2018},
    	author={IEA},
    	year={2018},
    	 url= {https://www.iea.org/reports/world-energy-outlook-2018}
    }
    
    @misc{giec18,
    	title={Réchauffement planétaire de 1,5 °C - Résumé à l'intention des décideurs},
    	author={GIEC},
    	year={2018},
    	url = {https://www.ipcc.ch/site/assets/uploads/sites/2/2019/09/IPCC-Special-Report-1.5-SPM_fr.pdf}
    }
    
    @misc{giec14,
    	title={Changements climatiques 2014 - Rapport de synthèse - Résumé à l’intention des décideurs},
    	author={GIEC},
    	year={2014},
    	url = {https://archive.ipcc.ch/pdf/assessment-report/ar5/syr/AR5_SYR_FINAL_SPM_fr.pdf}
    }
    
    @misc{ue18,
    	title={COMMUNICATION DE LA COMMISSION AU PARLEMENT EUROPÉEN, AU CONSEIL EUROPÉEN, AU CONSEIL, AU COMITÉ DES RÉGIONS, AU COMITÉ ÉCONOMIQUE ET SOCIAL ET À LA BANQUE EUROPÉENNE D'INVESTISSEMENT - Une planète propre pour tous Une vision européenne stratégique à long terme pour une économie prospère, moderne, compétitive et neutre pour le climat},
    	author={Commission européenne, Direction générale de l’action pour le climat},
    	year={2018},
    	url = {https://eur-lex.europa.eu/legal-content/FR/TXT/PDF/?uri=CELEX:52018DC0773&from=FR}
    }
    
    @misc{webinar,
    	author={Huusko, Heidi and Carrillo Pineda, Alberto and Farsan, Alexander and Sottong, John},
    	year={2019},
    	title={Towards a science-based approach to net-zero inthe corporate sector},
    	url = {https://sciencebasedtargets.org/wp-content/uploads/2019/11/Slides_Towards_Science_Based_Approach_Net_Zero_Webinar_Nov62019.pdf}
    }
    
    \end{filecontents*}

    et mon fichier .tex

    \documentclass[french]{report}
    \usepackage[a4paper, top=0.75in, bottom=0.75in, left =0.75in, right=0.75in]{geometry}
    \usepackage{graphicx}
    \title{blabla}
    
    \usepackage[utf8]{inputenc}
    \usepackage{babel}
    \usepackage{float}
    \usepackage{caption}
    \usepackage{url}
    \usepackage{hyperref}
    \usepackage[backend=biber]{biblatex}
    \addbibresource{biblio.bib}
    
    \usepackage{multirow}
    \renewcommand{\arraystretch}{1.5}
    
    \author{}
    \date{\today}
    
    \captionsetup{font=footnotesize}
    
    
    
    \begin{document}
    
    \cite{giec18}
    \printbibliography
    
    \end{document}



    • Partager sur Facebook
    • Partager sur Twitter
      2 juin 2020 à 1:23:58

      Salut,

      Ton fichier bib a des erreurs. Par exemple, il manque une virgule en fin de ligne 89 (et à d'autres fin de lignes). Donc ton appel à biber te donne certainement des erreurs.

      • Partager sur Facebook
      • Partager sur Twitter
      Tutoriel Ruby - Bon tutoriel C - Tutoriel SDL 2 - Python avancé - Faîtes un zeste, devenez des zesteurs
        2 juin 2020 à 14:03:30

        Bonjour,

        merci pour la réponse.

        deux choses,

        -j'ai corrigé la biblio mais ce n'est pas ça (ou pas que ça) car j'ai même essayé de garder juste ma première référence et ça ne fonctionne pas non plus.

        - ça veut dire quoi mon appel à biber?

        • Partager sur Facebook
        • Partager sur Twitter
          2 juin 2020 à 14:09:24

          Tu compiles le document comment ? Si tu le fais à la main, tu appelles pdflatex,lualatex ou autre, puis tu appelles biber, et ensuite tu rappelles pdflatex. Donc pdflatex file.tex, puis biber file et encore une fois pdflatex file.tex. Si tu n'utilises jamais biber, c'est normal que la bibliographie ne soit pas prise en compte.

          • Partager sur Facebook
          • Partager sur Twitter
          Tutoriel Ruby - Bon tutoriel C - Tutoriel SDL 2 - Python avancé - Faîtes un zeste, devenez des zesteurs
            2 juin 2020 à 14:16:54

            Ah super, merci j'avais pas vu que je devais utiliser biber avec biblatex!

            Merci beaucoup!

            -
            Edité par Ane-Ca 2 juin 2020 à 16:30:16

            • Partager sur Facebook
            • Partager sur Twitter
              2 juin 2020 à 18:35:41

              Tu as aussi des boutons pour le faire dans TexStudio. Regarde ici.

              • Partager sur Facebook
              • Partager sur Twitter
              Tutoriel Ruby - Bon tutoriel C - Tutoriel SDL 2 - Python avancé - Faîtes un zeste, devenez des zesteurs

              Utilisation de Biblatex pour citer des pages web

              × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
              × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
              • Editeur
              • Markdown