IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Mise en forme Discussion :

Liste des auteurs dans le texte avec utilisation d'un style numérique


Sujet :

Mise en forme

  1. #1
    Membre expérimenté
    Avatar de Aramis
    Profil pro
    Inscrit en
    Juin 2002
    Messages
    1 493
    Détails du profil
    Informations personnelles :
    Âge : 43
    Localisation : Belgique

    Informations forums :
    Inscription : Juin 2002
    Messages : 1 493
    Points : 1 638
    Points
    1 638
    Par défaut Liste des auteurs dans le texte avec utilisation d'un style numérique
    Bonjour a toutes et a tous,

    Dans mon domaine de recherche le style de referencement courament utilise est celui propose par l'IEEE et l'ACM. Ce sont des styles ou chaque reference est un nombre, tel que [7] par exemple. Ce style a l'avantage de ne pas *trop* gener la lecture. Qui plus est, il est souvent plus facile d'identifier un article dans la bibliographie a l'aide d'un nombre plutot qu'une liste d'auteurs. Malheureusement, l'utilisation numerique a aussi ses desavantages: il faut connaitre le noms de auteurs. En effet, certaines tournures de phrase m'obligent a utiliser les auteurs d'un article en tant que sujet. Recemment, j'ai relu l'une des mes publications et j'ai ecorche le noms de pas mal d'auteurs

    Je suis donc a la recherche d'une methode/technique/macros/paquetage sous LaTeX qui me permettrai d'obtenir la liste des auteurs dans le texte, tout en permettant un referencement numerique. J'ai lu attentivement la documentation de IEEETranS et ce style est compatible avec natbib. Malheureusement, la combinaison de ces deux paquetages "marchent" mais pas comme je le veux. Que ca soit avec \citep{key} ou bien \citet{key}, natbib me retourne toujours un nombre Meme chose avec le style alpha. Meme si la compatibilite est garantie entre les paquetages il semblerai que le gros avantage de natbib soit la combinaison avec des styles que l'on appele auteur-date.

    Si quelqu'un a une idee, poster ici

    Merci d'avance,

    Ar@mi$
    Avant de Poster Lire les Regles! Merci
    -------------------------------------------------
    "The only Way for Evils to Triumph is for Good Men to Do Nothing"
    Edmund Burke (1729 - 1797)

  2. #2
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    12
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2007
    Messages : 12
    Points : 9
    Points
    9
    Par défaut
    Pourquoi ne pas faire un index ?

  3. #3
    Membre expérimenté
    Avatar de Aramis
    Profil pro
    Inscrit en
    Juin 2002
    Messages
    1 493
    Détails du profil
    Informations personnelles :
    Âge : 43
    Localisation : Belgique

    Informations forums :
    Inscription : Juin 2002
    Messages : 1 493
    Points : 1 638
    Points
    1 638
    Par défaut
    Bonjour,

    je ne suis pas sure de bien comprendre... qu'est ce que cela veut dire exactement?

    Merci,

    Ar@mi$
    Avant de Poster Lire les Regles! Merci
    -------------------------------------------------
    "The only Way for Evils to Triumph is for Good Men to Do Nothing"
    Edmund Burke (1729 - 1797)

  4. #4
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    12
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2007
    Messages : 12
    Points : 9
    Points
    9
    Par défaut
    Je ne suis pas trop sûr moi non plus d'avoir compris tes besoins.
    Mais ma suggestion est d'utiliser un index dans lequel il y aurait les noms des auteurs de la bibliographie. J'ai croisé ça quelque part dans une doc de je ne sais plus quel package. Désolé de ne pas être plus précis.

  5. #5
    Membre expérimenté
    Avatar de Aramis
    Profil pro
    Inscrit en
    Juin 2002
    Messages
    1 493
    Détails du profil
    Informations personnelles :
    Âge : 43
    Localisation : Belgique

    Informations forums :
    Inscription : Juin 2002
    Messages : 1 493
    Points : 1 638
    Points
    1 638
    Par défaut
    Re,

    je pense qu'il serai mieux pour moi de donner un exemple. Les codes et textes suivant sont issus de ma these, et donc en Anglais.

    Ma situation en ce moment:
    Dans l'exemple suivant j'utilise le style IEEE pour mon referencement cela donne en LaTeX:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    Bruschi et al. \cite{36} argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. Indeed, as security is not normally the prime concern of home users, these devices are typically left powered-on and network connected when unattended. This would leave intruders the luxury of time to discover, and compromise hosts. Brushi et al. underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    La sortie serai :
    Bruschi et al. [14] argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. Indeed, as security is not normally the prime concern of home users, these devices are typically left powered-on and network connected when unattended. This would leave intruders the luxury of time to discover, and compromise hosts. Brushi et al. underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    Comme vous pouvez le voir dans l'exemple ci dessus, lorsque j'ai besoin des noms d'auteurs je suis oblige de le taper *a la main* dans le code, et par consequent cela m'arrive d'ecire Brudchi a la place de Bruschui. Par ailleurs, il est arrive que j'oublie le et al. aussi :'(

    Le meme texte que ci-dessus avec NatBib et plainnat:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    \citet{36} argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. Indeed, as security is not normally the prime concern of home users, these devices are typically left powered-on and network connected when unattended. This would leave intruders the luxury of time to discover, and compromise hosts. \citet{36} underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    Ce qui donne
    Bruschi et al. (2001) argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. Indeed, as security is not normally the prime concern of home users, these devices are typically left powered-on and network connected when unattended. This would leave intruders the luxury of time to discover, and compromise hosts. Brushi et al. (2001) underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    Avec la commande \citep{36} j'obtiendrai un truc du style (Bruschi et al. 2001).


    Meme texte avec IEEE et Natbib
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    \citet{36} argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. Indeed, as security is not normally the prime concern of home users, these devices are typically left powered-on and network connected when unattended. This would leave intruders the luxury of time to discover, and compromise hosts. \citet{36} underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    Donne:
    [14] argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. Indeed, as security is not normally the prime concern of home users, these devices are typically left powered-on and network connected when unattended. This would leave intruders the luxury of time to discover, and compromise hosts. [14] underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    Comme vous pouvez le constater les auteurs ont disparu

    Ce que je veux simplement c'est avoir acces a une commande qui me retourne la liste des auteurs tel que Bruschi et al. (et non pas Bruschi et al. 2001) sans m'empecher d'utiliser un systeme de referencement numerique.

    A vos claviers

    Merci encore,

    Ar@mi$
    Avant de Poster Lire les Regles! Merci
    -------------------------------------------------
    "The only Way for Evils to Triumph is for Good Men to Do Nothing"
    Edmund Burke (1729 - 1797)

  6. #6
    Membre expérimenté
    Avatar de Aramis
    Profil pro
    Inscrit en
    Juin 2002
    Messages
    1 493
    Détails du profil
    Informations personnelles :
    Âge : 43
    Localisation : Belgique

    Informations forums :
    Inscription : Juin 2002
    Messages : 1 493
    Points : 1 638
    Points
    1 638
    Par défaut
    Pour celles et ceux qui sont interreses, j'ai reposte ce probleme sur la mailling liste de LaTeX. Si j'obtiens une bonne reponse, vous serez les premiers a le savoir


    Ar@mi$
    Avant de Poster Lire les Regles! Merci
    -------------------------------------------------
    "The only Way for Evils to Triumph is for Good Men to Do Nothing"
    Edmund Burke (1729 - 1797)

  7. #7
    Membre régulier
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    95
    Détails du profil
    Informations personnelles :
    Âge : 42
    Localisation : Belgique

    Informations forums :
    Inscription : Mai 2007
    Messages : 95
    Points : 100
    Points
    100
    Par défaut biblatex
    J'ai pour l'instant moi même un tout autre problème avec le package que je te propose, mais il pourrait répondre à tes besoins : biblatex.
    En effet ce package parmi ses (très) nombreuses possibilités offre \citeauthor, \citetitle et d'autres.
    Par ailleurs la doc est très complète...

  8. #8
    Membre actif
    Inscrit en
    Juin 2004
    Messages
    215
    Détails du profil
    Informations forums :
    Inscription : Juin 2004
    Messages : 215
    Points : 235
    Points
    235
    Par défaut
    chez moi natbib marche bien pour faire ca. Pour obtenir Machin et al. [1] j'ai ca:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    \renewcommand{\cite}[1]{\citeauthor{#1}~\citep{#1}}
    c'est bien pratique

  9. #9
    Membre expérimenté
    Avatar de Aramis
    Profil pro
    Inscrit en
    Juin 2002
    Messages
    1 493
    Détails du profil
    Informations personnelles :
    Âge : 43
    Localisation : Belgique

    Informations forums :
    Inscription : Juin 2002
    Messages : 1 493
    Points : 1 638
    Points
    1 638
    Par défaut
    @boulde,

    pourriez-vous elaborer en donnant un bout de code par exemple. Je viens de tester sans success. Mon code est le suivant:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
     
    \documentclass[a4paper, 12pt]{article}
     
    \usepackage{natbib}
    \bibliographystyle{IEEETranS}
    \bibpunct{[}{]}{,}{a}{,}{,}
     
    \title{blah blah blah}
    \author{moi moi moi}
    \date{}
     
    \renewcommand{\cite}[1]{\citeauthor{#1}~\citep{#1}}
    \begin{document}
    \maketitle
     
    \cite{36} argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. Indeed, as security is not normally the prime concern of home users, these devices are typically left powered-on and network connected when unattended. This would leave intruders the luxury of time to discover, and compromise hosts. \cite{36} underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
     
    \bibliography{myBiblio}
    \end{document}
    me donne [1] a chaque entree de \cite{36}

    [1] argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. Indeed, as security is not normally the prime concern of home users, these devices are typically left powered-on and network connected when unattended. This would leave intruders the luxury of time to discover, and compromise hosts. [1] underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    @oesibius,
    pendant un instant j'etais tente d'ecrire que biblatex n'etait pas pour moi. Mais pour honnete mon test etait bien trop rapide pour etre juge concluant (edit: biblatex ne trouve pas les entrees necessaire dans mon fichier *.bib - pas cool). C'est idiot mais ce paquetage fait telement de chose qu'il est difficile de voir si oui ou non il correspond aux besoins d'autrui

    Je serai tres bientot de retour


    Happy TeXing,

    Ar@mi$
    Avant de Poster Lire les Regles! Merci
    -------------------------------------------------
    "The only Way for Evils to Triumph is for Good Men to Do Nothing"
    Edmund Burke (1729 - 1797)

  10. #10
    Membre actif
    Inscrit en
    Juin 2004
    Messages
    215
    Détails du profil
    Informations forums :
    Inscription : Juin 2004
    Messages : 215
    Points : 235
    Points
    235
    Par défaut
    alors apparemment ca ne marche pas avec IEEETran ...
    avec \bibliographystyle{plainnat} ca marche. Il y a peut être des adaptations existantes pour IEEE ?

    et pour avoir "Auteur [1]" : \usepackage[square,numbers]{natbib}

  11. #11
    Membre expérimenté
    Avatar de Aramis
    Profil pro
    Inscrit en
    Juin 2002
    Messages
    1 493
    Détails du profil
    Informations personnelles :
    Âge : 43
    Localisation : Belgique

    Informations forums :
    Inscription : Juin 2002
    Messages : 1 493
    Points : 1 638
    Points
    1 638
    Par défaut
    @boulde,

    en effet, vous avez raison c'est effectivement IEEETranS qui pose probleme. J'en etais sure que les developpeurs de LaTeX n'avaient pas attendu mon arrive pour creer une commande qui retourne la liste des auteurs . Par ailleurs, sans redefinir la commande "\cite{key}", il est possible de faire ce que je demande avec natbib et plainnat.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
     
    \documentclass[a4paper, 12pt]{article}
     
    \usepackage[square,numbers]{natbib}
    \bibliographystyle{plainnat}
     
    \title{blah blah blah}
    \author{moi moi moi}
    \date{}
     
    \begin{document}
    \maketitle
     
    \citet{36} argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. 
    % % omitted % %
     \citeauthor{36} underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    \bibliography{myBiblio}
    \end{document}
    Donne
    Bruschi et al. [1] argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. [...] Bruschi et al. underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    Ce qui est tres bien! Merci beaucoup!

    Reste maintenant a resoudre ce probleme de style de referencement. Je suis certain que "plainnat" est bien, mais je serai plus rassure si je vous pouvez faire la meme chose avec IEEETranS, ou bien n'importe quel style plebicite par l'IEEE.

    @oesibius,

    j'ai reussi a me depatouiller avec biblatex. Et voici, un extrait qui marche a peu pres
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
     
    \documentclass[a4paper, 12pt]{article}
    \usepackage[style=numeric]{biblatex}
    \bibliography{myBiblio}
    \begin{document}
    Bruschi et al. \cite{36} argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky.
    % % omitted % %
    \textcite{36} underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    \printbibliography[maxnames=12] %otherwise only prints 3 authors and "et al."
    \end{document}
    Ce qui donne:
    Bruschi et al. [1] argue that the combination of always-on broadband Internet and multitude of networked devices around the home is potentially risky. [...] Bruschi and Rosti [1] underline that a network can be endangered by only a handful of hosts, thus they take the approach of lowering the harming capabilities of networked devices.
    Et pour les articles avec 3 auteurs ou plus, c'est le format Auters et al. [n] qui est utilise. Entre temps, on m'a dit que biblatex possedait une commande qui retourne seulement les auteurs. Je ne l'ai pas encore trouve. Il y a aussi le fait que l'auteur de biblatex peut changer les commandes inclues dans le paquetage sans guarantie de compatibilite avec les anciennes commandes/versions ce qui limite la longetivite des documents ecrits a l'aide be biblatex Comme ci-dessus, il y a toujours ce doute en ce qui concerne le style de referencement.

    En tous cas grace a vous deux le shilmblick avance - merci beaucoup.

    Ar@mi$
    Avant de Poster Lire les Regles! Merci
    -------------------------------------------------
    "The only Way for Evils to Triumph is for Good Men to Do Nothing"
    Edmund Burke (1729 - 1797)

  12. #12
    Membre régulier
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    95
    Détails du profil
    Informations personnelles :
    Âge : 42
    Localisation : Belgique

    Informations forums :
    Inscription : Mai 2007
    Messages : 95
    Points : 100
    Points
    100
    Par défaut auteurs
    il s'agit tout simplement de \citeauthor{bibkey}. Tu as d'ailleurs aussi \citetitle{bibkey} qui est très pratique et, pour un besoin quelconque plus particulier ils ont pensé à faire \citefield{bibkey}{field} pour aller chercher n'importe quelle donnée sur ton élément de bibliographie. Pour toutes ces commandes il existe des options que sont [prenote] et [postnote]. Je te conseille vivement d'aller voir le pdf de documentation du package, très clair et ultra documenté. Les commandes dont je te parle se trouvent aux pages 47/48

  13. #13
    Membre actif
    Inscrit en
    Juin 2004
    Messages
    215
    Détails du profil
    Informations forums :
    Inscription : Juin 2004
    Messages : 215
    Points : 235
    Points
    235
    Par défaut
    il y a un IEEEtranN.bst, spécial pour natbib

    Note that the packages at IEEE's site do not contain the natbib and
    alphanumeric variants (e.g., IEEEtranN.bst, etc.) as these are not used
    for IEEE related work. These files can be obtained on CTAN.
    http://www.ctan.org/tex-archive/macr...EEtran/bibtex/

Discussions similaires

  1. Trouver la list des element dans un menu avec webdriver
    Par stpaul04 dans le forum Tests et Performance
    Réponses: 2
    Dernier message: 17/07/2014, 22h19
  2. Réponses: 2
    Dernier message: 02/09/2010, 10h26
  3. Réponses: 4
    Dernier message: 14/01/2008, 00h15
  4. Utiliser des Filler dans les structures avec ACCEPT
    Par beegees dans le forum Cobol
    Réponses: 2
    Dernier message: 13/01/2008, 19h09

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo