| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| refnotes:start [2016/10/12 17:00] – markus | refnotes:start [2016/10/12 18:20] (current) – markus |
|---|
| ====== References ====== | ====== References ====== |
| |
| In this namespace you can define commonly used notes (i.e., //references//) for the [[doku>plugin:refnotes|RefNotes plugin]]. You can define references using [[wp>BibTeX]] syntax. BibTeX entries have to be wrapped into a ''<code bibtex>...</code>'' section. The key of BibTeX entry serves as the reference name. A separate namespace for accessing those references can be either specified as part of the key or in a separate comment (see example below) for all entries that follow. | In this namespace you can define commonly used notes (i.e., //references//) for the [[doku>plugin:refnotes|RefNotes plugin]]. You can define references using [[wp>BibTeX]] syntax. BibTeX entries have to be wrapped into a ''<code bibtex>...</code>'' section. The key of BibTeX entry serves as the reference name. A separate namespace for accessing those references can be either specified as part of the key or in a separate comment (see example below) for all entries that follow. Always use a namespace within ''cite:'' to get the correct formatting of references. |
| |
| ===== BibTeX example ===== | ===== BibTeX example ===== |
| | |
| | In this example we cite [(:cite:example:schrodinger1935)] and [(:cite:example:kepler1937)] with the markup code ''%%[(:cite:example:schrodinger1935)]%%'' and ''%%[(:cite:example:kepler1937)]%%'' respectively. |
| |
| <code bibtex> | <code bibtex> |
| @Comment{refnotes, | @comment{refnotes, |
| namespace = "ref:prog" | namespace = "cite:example" |
| } | } |
| |
| @Book{GangOfFour, | @article{schrodinger1935, |
| author = "Erich {Gamma} and Richard {Helm} and Ralph {Johnson} and John {Vlissides}", | title={Die gegenwärtige Situation in der Quantenmechanik}, |
| author-ref = "Gamma, et al.", | author={Schrödinger, Erwin}, |
| title = "Design Patterns: Elements of Reusable Object-Oriented Software", | journal={Naturwissenschaften}, |
| publisher = "Addison-Wesley", | volume={23}, |
| year = 1994, | number={49}, |
| address = "Reading, Mass.", | pages={823--828}, |
| pages = 395, | year={1935}, |
| isbn = "0-201-63361-2", | publisher={Springer} |
| url = "http://en.wikipedia.org/wiki/Design_Patterns" | |
| } | } |
| |
| @Article{:ref:Knuth-LCE-1985, | @book{kepler1937, |
| author = "Donald Knuth", | title={Astronomia nova}, |
| title = "Deciphering a linear congruential encryption", | author={Kepler, Johannes and Caspar, Max and von Dyck, Walther and Hammer, Franz}, |
| journal = "IEEE Transactions on Information Theory", | year={1937}, |
| volume = "31(1)", | publisher={CH Beck'sche Verlagsbuchhandlung} |
| year = 1985, | |
| month = "Jan", | |
| publisher = "IEEE", | |
| pages = "49-52", | |
| issn = "0018-9448", | |
| url = "http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=1056997" | |
| } | } |
| | |
| </code> | </code> |