jonaslindemann / modern_fortran_book

Modern Fortran in Science and Technology
GNU General Public License v3.0
50 stars 12 forks source link

a few bugs found #3

Open msz59 opened 2 years ago

msz59 commented 2 years ago

Thanks for a great resource!

After a cursory reading of some chapters, I've found following "bugs":

  1. "The Fortran Language" chapter, "program case_sample", case (:0) should result in write(,) 'Less than one.' (instead of "Greater")
  2. "Fortran and Python" - there are several places where one reads "-function", "-variables", "-file" or "-attributes" with apparently lacking a term immediately preceding the "-". I guess it should be "C-xxxx" but probably it requires a verification
  3. There are places where "raw syntax" can be seen, like ftype{integer} or "10:math:^{-300}" but that might be just deficiency of the browser (checked in Firefox and Chrome on Linux)

regards, Michal

jonaslindemann commented 2 years ago

Thanks for your feedback. I will review your changes and update the documentation.

jonaslindemann commented 2 years ago

Should be fixed now. Available here:

https://modern-fortran-in-science-and-technology.readthedocs.io/en/latest/

msz59 commented 2 years ago

Thanks a lot for the fixes. Still, one can see quite a few "raw syntax" samples, including cite{} ref{} fkeyw{} pkeyw{} ffname{}. There is also a strange block of LaTeX-like syntax, beginning with "begin{table}begin{center}begin{tabular}" (no backslashes before begin) and containing "caption{Formatting codes in fkeyw{read}/write}". Needless to say, this is rendered quite messy in a browser.

jonaslindemann commented 2 years ago

Thanks again. Will go though it again. This book was transferred from LaTeX and has some remnants from this conversion.