theBeamBook icon indicating copy to clipboard operation
theBeamBook copied to clipboard

Suggestion: Make explicit the version of Erlang in the book

Open hirotnk opened this issue 7 years ago • 11 comments

As stated here, it may be helpful to explicitly state somewhere in the book which version it targets. Then readers can guess about the contents of the book even after the implementation is changed later. Since sometimes there are major changes that affect the contents of this book.

hirotnk avatar Apr 20 '17 05:04 hirotnk

Yes, I have been thinking about this. One problem is that right now there are old pieces of text written when Erlang was on version 14 and and 15 and newer parts that cover version 18 and 19. Perhaps we would need to tag each chapter with which Erlang version it is updated to?

The goal right now is to cover Erlang 19 but we can not really state in the preface or introduction that the book covers 19 since some chapters have not been revised to that version.

I am all for making this information clear in some way so any suggestion on how to do it is welcome.

happi avatar Apr 20 '17 06:04 happi

I think a [NOTE] at the start of each chapter describing which version it was written for would be great.

garazdawi avatar Apr 20 '17 06:04 garazdawi

OTP 21 changes how messages are added to other processes, but I'm not 💯 if the diagrams need to change.

KronicDeth avatar Aug 11 '18 21:08 KronicDeth

Agreed with @garazdawi 's comment above, I think just adding OTP version to [NOTE] would work. If there is more to say, we can always add descriptions to it.

As a side note, I tried to add some tags icon with right-aligned as below, but it did not work for pdf:

Screen Shot 2020-03-08 at 20 33 53

hirotnk avatar Mar 09 '20 03:03 hirotnk

How bad did it look in the PDF? (or did it not even build?)

happi avatar Mar 11 '20 07:03 happi

It built, but looks as below: Screen Shot 2020-03-11 at 20 27 12

  • I see it's using dblatex, but asciidoctor-pdf can not be used?
  • Also, shaape does not look being maintained anymore (https://github.com/christiangoltz/shaape/issues/20), the last commit was 2014. Does it make sense to look for an alternative ?

hirotnk avatar Mar 12 '20 03:03 hirotnk

Yes it might be a good time to update the build process. My plan is to get to finish the missing chapters in the near future and I will work more actively on the book now.

If you have some suggestions please let me know.

happi avatar Mar 12 '20 05:03 happi

The addition of missing chapters would be great. Does it help in any way to try to improve the formatting or layout at the moment, or better to wait for now?

hirotnk avatar Mar 13 '20 03:03 hirotnk

If you want to do it please go ahead, I would appreciate it.

happi avatar Mar 13 '20 05:03 happi

Got it.

hirotnk avatar Mar 14 '20 03:03 hirotnk

As part of https://github.com/happi/theBeamBook/pull/135, Admonition icon works in pdf as below: Screen Shot 2020-04-18 at 3 02 23 PM

On HTML, it looks as below: Screen Shot 2020-04-18 at 3 05 39 PM

hirotnk avatar Apr 18 '20 22:04 hirotnk