dwp-forge / refnotes

4 stars 6 forks source link

Can't start a phrase with direct author citation #47

Closed eduardomozart closed 5 years ago

eduardomozart commented 5 years ago

Consider the following reference:

[(:harvard:Empreendedorismo-Hashimoto>> title: Espírito empreendedor nas organizações: aumentando a competitividade através do intraempreendedorismo author: Marcos Hashimoto ref-author: Hashimoto publisher: Saraiva year: 2013 )]

For e.g, the following phare WON'T generate the mark up correctly:

[(:harvard:Empreendedorismo-Hashimoto>>direct:yes)] trouxe para o estudo da administração uma abrangência maior...

OUTPUT:

trouxe para o estudo da administração uma abrangência maior...

But the following generates the markup correctly:

A nova abordagem de Ducker, segundo [(:harvard:Empreendedorismo-Hashimoto>>direct:yes)], trouxe para o estudo da administração uma abrangência maior...

OUTPUT:

A nova abordagem de Ducker, segundo Hashimoto (2006), trouxe para o estudo da administração uma abrangência maior...

Notes that in the first output, Hashimoto is not printed. But it's printed normally if the direct isn't in the start of the phrase.

Not a big issue, but every time I need to write the phrases in a way that direct citations isn't the first word in the phrase.

dwp-forge commented 5 years ago

Actually, that's not a bug but a feature. I'll try to limit hiding only to paragraphs with no other text.

dwp-forge commented 5 years ago

Implemented in release 2019-02-09.