Skip to content

Commit

Permalink
Merge pull request #22 from GabinL21/upgrade-code-examples
Browse files Browse the repository at this point in the history
Upgrade code examples to Pharo 9+
  • Loading branch information
Ducasse authored Dec 3, 2022
2 parents 51371a1 + a95024b commit f168d0b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Citezen-Reborn.package/CZBblGenerator.class/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pay attention, we make sure that DOI and HALID are managed at the end (in case t


| visitor bibset |
bibset := CZBibParser parse: (FileStream readOnlyFileNamed: 'rmod.bib') contents.
bibset := CZBibParser parse: ('rmod.bib' asFileReference) contents.
bibset scope: CZSet standardDefinitions.
visitor := CZBblGenerator new filename: 'rmod.bbl'.
visitor visit: bibset.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commentStamp" : "StephaneDucasse 9/29/2021 18:00",
"commentStamp" : "GabinLaigle 12/2/2022 00:27",
"super" : "CZFileFormatGenerator",
"category" : "Citezen-Reborn-FormattingVisitors",
"classinstvars" : [ ],
Expand Down
2 changes: 1 addition & 1 deletion src/Citezen-Reborn.package/CZHTMLGenerator.class/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
A CZHTMLGenerator is generating nice html for us.

| visitor bibset |
bibset := CZBibParser parse: (FileStream readOnlyFileNamed: 'rmod.bib') contents.
bibset := CZBibParser parse: ('rmod.bib' asFileReference) contents.
bibset scope: CZSet standardDefinitions.
visitor := CZHTMLGenerator new filename: 'rmod-Generated.html'.
visitor visit: bibset.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commentStamp" : "StephaneDucasse 8/10/2016 12:45",
"commentStamp" : "GabinLaigle 12/2/2022 00:26",
"super" : "CZFileFormatGenerator",
"category" : "Citezen-Reborn-FormattingVisitors",
"classinstvars" : [ ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Currently there is a problem with the generation because it is not simple to see


| visitor bibset |
bibset := CZBibParser parse: (FileStream readOnlyFileNamed: 'rmod.bib') contents.
bibset := CZBibParser parse: ('rmod.bib' asFileReference) contents.
bibset scope: CZSet standardDefinitions.
visitor := CZLaTeXGenerator new filename: 'rmod-Generated.tex'.
visitor visit: bibset.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commentStamp" : "StephaneDucasse 8/10/2016 11:58",
"commentStamp" : "GabinLaigle 12/2/2022 00:26",
"super" : "CZFileFormatGenerator",
"category" : "Citezen-Reborn-FormattingVisitors",
"classinstvars" : [ ],
Expand Down

0 comments on commit f168d0b

Please sign in to comment.