darioteixeira / lambdoc

Lambdoc is a library providing support for semantically complex documents in Ocsigen web applications
GNU General Public License v2.0
17 stars 1 forks source link

Language consistency #21

Open edwintorok opened 9 years ago

edwintorok commented 9 years ago
darioteixeira commented 9 years ago

About the spacing: I'm not following your sometext \sref{label} example. What would sometext actually consist of? Note that \sref already automatically adds the name of the entity.

About items: there's a good reason why \item in UL or OL does not take a parameter -- it actually has none. \item is used as a separator between each fragment (list of blocks).

About the inline equivalent of source and verbatim: my plan is for code to play that role.

About the block equivalent of some inline contexts: I would suggest using CSS to achieve 2-column layouts. Otherwise I fear over-complicating the language for very niche applications.

edwintorok commented 9 years ago

Spacing example: 'Thus as shown in \sref{fig:1} you can do X'.

darioteixeira commented 9 years ago

In that example, \sref would already automatically add a nbsp between "Figure" and "1" (if it doesn't, that's a bug). Where else would you need the nbsp?

edwintorok commented 9 years ago

I was under the impression that non-breaking spaces should be used before Figure too but I was wrong, so ignore the request about spacing.