Open AitzazImtiaz opened 2 years ago
There isn't currently an option to do this. You could do it by going through sciarticle.in
and scirules.in
, and editing out all uses of CITATION
and NOCITATION
. Many of the sentences use a citation like a noun, though, so you would have to rewrite them into something that would still be grammatical, or remove them and optionally replace them with some different sentences.
Hey sorry on passing it late, I need no reference section at all, will this be possible by cutting out the code?
I'm not sure if bibtex will complain about having no citations. You might need to delete the lines that generate the bibliography, the four lines at https://github.com/neldredge/mathgen/blob/12f5e6056fd60fcfff530da8ffda846ee15f9549/sciarticle.in#L343-L346 And then possibly stop bibtex from running at all, by deleting https://github.com/neldredge/mathgen/blob/12f5e6056fd60fcfff530da8ffda846ee15f9549/mathgen.pl#L358
Thanks, oh my god! I started cutting many things, but although it will not generate bibtex file, there are on-line citations, what about them?
Like, if I cut that, a possible output would be
we wish to extend the result of [??] to...
This means I think it is not possible to cut out references, I should drop out of Schwarzman School of Computer Science😫
@neldredge Sorry I am spamming lol, if refrences become optional, scibook will be hard to be identified as computer generated, the only game is references, if anyone see the reference they would know it's a gibberish, but if we skip reference, it will be hard to track by a average person that this is generated gibberish.
Hey @neldredge , it's important, Can you try this code from my fork? Sorry I don't have a Linux nor equipment on windows, I would be heavily in debt to you for this: https://GitHub.com/AitzazImtiaz/mathgen Is this code working and not generating citations on book and article, or else it is not running at all?
It will be highly appreciated if you could run and test that code :D
@neldredge Yea, it doesn't works, my friend tested, but dude, he tested yours as well, he got the output:
$ perl -I ./mathgen.pl --mode=view --author="Mr Beast" --viewer=xpdf
This output is received on my fork as well as your repository.
Output:
Unrecognized switch: --mode=view (-h will show valid options
You have a typo in the command line; you're missing the argument to -I
. To search the current directory for modules, you need -I .
so make it
perl -I . ./mathgen.pl --mode=view --author="Mr Beast" --viewer=xpdf
I tried your fork. I think you accidentally deleted the closing brace of TITLEBLOCK_ARTICLE
. There are also some rules that you deleted without removing all uses of them, e.g. LATEX_FOOTER
, and I think there is still at least one use of CITATION
.
Thanks 🙏, let me recheck
Is it possible that when I run mathgen, I can pass an instruction to add no reference, It is really annoying to do all that manually when the reference does not make sense in the first place.