View Single Post
Old 11-22-2018, 12:36 PM   #6
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,248
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Tex2002ans View Post
Always rename the gibberish filenames to logical ones. It will make things SO MUCH easier to understand.

Then I also merge all files that need to be merged.

For example, your Endnotes file might be split into 100 "index_split_459" pieces. I merge them all into a single one and call it Endnotes.xhtml. Again, this makes the code so much easier to read/manipulate (and you can always split it in the future).
Exactly! I tried not to change the given code, so it would be clearer to understand, but the best practice is:
  1. Polish the code (removing all those <sup> elements, for example);
  2. Rename the files in a logical sense;
  3. Merge all the notes (in a certain level) into a sigle file.
thiago.eec is offline   Reply With Quote