Render Formatting CommandGroups
Open, NormalPublic

Related Objects

davidev added a project: Restricted Project.Jun 13 2016, 7:04 AM
davidev moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 13 2016, 7:04 AM
davidev triaged this task as High priority.Jun 17 2016, 5:13 PM

@grigoletti I need some help.

CommandGroups is the texla object to represent the Latex structure

{ \sc\itshape text}

Now I have to render it to wikitext, what's the best syntax? nested templates?

davidev lowered the priority of this task from High to Normal.Sep 30 2016, 3:09 PM
ruphy edited projects, added Restricted Project; removed Restricted Project.Jan 10 2017, 2:18 PM
ruphy edited projects, added WikiToLearn: TeXLa; removed Restricted Project.Jan 10 2017, 2:31 PM
davidev moved this task from Backlog to Renderer on the WikiToLearn: TeXLa board.Jan 18 2017, 12:09 AM
davidev renamed this task from Render CommandGroups to Render Formatting CommandGroups.Feb 24 2017, 11:17 AM
davidev closed this task as a duplicate of T4574: parse switch typographical commands.
davidev reopened this task as Open.
davidev removed davidev as the assignee of this task.Feb 24 2017, 11:20 AM
davidev added a subscriber: mapellidario.

Ok, let's define which text formatting rules are used by visualeditor:

  • Bold face
  • Italics
  • Small capital letters
  • Code
  • Preformatted text
  • Small text
  • Big text
  • Strike text

I see that some of these rules are converted as wikitext, like '' and some other ones are converted in their html5 tag, like <s>

I don't know if we should think about using a template for every type of formatting and then using nested templates or using html tag. I know that we want to avoid at all costs html inside our pages, but visualeditor add them under the hood. So to decide better I'd like to ask @crisbal and @tomaluca what do they think about it.
Should we use a template for every type of formatting or we can use the same html tags used by visualeditor?

I'll start only implementing the bold and italics, and leaving the plain text in the other cases.

Thanks!