-
Notifications
You must be signed in to change notification settings - Fork 19
Reference matching performance is poorer than expected #142
Comments
Actually, I think part of this is that Texture is dying on line length when we paste the ref-list back into the document as a single string. We probably just need to run the equivalent of xmllint --format on that when we're doing it... |
@kaschioudi, would it make sense to just run an I added a stub in b18bc54, does it look right? I'm not actually making the call yet... |
@axfelix : I did not run the code but it looks good to me. However I believe
|
Really? |
I may be wrong but here's my understanding of the inner working. OTS
and the command output is stored in $this->output which can be obtained by calling Command:: getOutputString()
However sometimes the error output (STDERR) also needs to be redirected to the output error (STDOUT) and I believe it's done like this |
Yeah, I know how to redirect stderr to stdout, I'm mostly not clear on how best to actually write the output (however we're capturing it) over the preexisting XML :) If I use the stdout redirect, we don't have any $this-output. If we use this function with $this->output, then I don't need to pass it an output filename, I just need to return the output, and write it over what we have. I'll play with it... |
I think there may have been a regression to our performance in matching inline references to the bibliography -- also noticing that we're sometimes getting
YYYY-Mon
style data returned under the<year>
element returned from CrossRef, which we may need to strip as it could be a contributing factor.The text was updated successfully, but these errors were encountered: