[CWB] Strange behaviour of cqpWeb?

Josep M. Fontana josepm.fontana at upf.edu
Thu Apr 30 12:00:31 CEST 2026


Thanks Andrew and Stephanie for your prompt response!

Yes, Stephanie. Please do send me the CSS you mention. I will appreciate 
it. It will be really helpful.

Now I am embarrassed. I spent close to an hour puzzling over this and 
fiddling here and there with different settings to try to solve a 
problem I didn't understand. If I had just looked at the horizontal 
scroll bar. Now it looks so obvious.

One of our users had asked me to vastly increase the context because she 
needed to see a lot of context for the work she is doing but for some 
reason she cannot get the text of the paragraph by clicking on the link 
of the concordance. This works with the browsers I use but she claims 
she's tried with various browsers to no avail. Since I was busy, it was 
easier for me to just increase the context. The problem is that I had 
forgotten I had done it and now it didn't occur to me to go to the 
horizontal scroll bar.

Here's the problem:

=============================

...
<enty>
Transcrivim    transcriure    VDR1P-    VPrin_<C
</enty>
el    el    EA--MS    DN>
passatge    passatge    N5-MS    CD
:    :    F.    PT
</p>

<p id="iec1241.p31">
"Vinguda la nit de las bodas, digué Eufemiano a son fill Aleix: fill, 
entrau al aposento a visitar a vostra esposa. Ho feu així com son pare 
li manà: saludà a la sua esposa, y li digué: Deu te salve criatura de 
Deu, esposa de Jesu Crist, y li comensà a contar la vida que feren les 
Verges, y las altres Santas que son en lo Cel, y que molt bo era lo 
Matrimoni per aquell que be usaba de ell; mes que molt millor, y mes 
santa cosa era la limpia virginitat, y que de això era Deu molt pagat, y 
tota la sua Cort celestial. Li digué altres cosas molt espirituals, que 
la gracia de Deu li inspirà. També li digué: germana y senyora, habeu 
vist que maravellosas y honradas bodas se nos han fet? Per ventura las 
habeu vos vistas, ni oídas tals? Ella respongué que no: Aleix li digué 
aleshores: pues, voleu vos, que aquestas honras, plahers y alegrias que 
las tingam vos y jo cada dia pera sempre? Digué ella: Senyor, si que ho 
voldria. Li digué ell, pues germana y senyora, ab vostra llicencia, si 
vos plau aniré de aqui a Jerusalem, y quant de alli vinga, portaré cosa 
ab que sempre tingam aquestos plahers y molts mes. A lo que digué ella 
que li plahía."    INDEF    W    __UNDEF__
</p>
<p id="iec1241.p32">
Passaren    passar    VDP3P-    VPrin_<C
els    el    EA--MP    DN>
...
=============================

It looks like a problem with the tokenization of text that appears 
within quotation marks.

JM


>
>
>> On 29 Apr 2026, at 19:31, Hardie, Andrew via CWB 
>> <cwb at sslmit.unibo.it> wrote:
>>
>> ANYWAY: nothing is wrong. In the second screenshot, one of the query 
>> results (number 6) has a lefthand context that is very wide (because 
>> a ton of tokens are coming out as [UNREADABLE]). That makes that 
>> column of the display so wide that all the other columns are out of 
>> sight rightwards. Since the lefthand context is right-aligned, even 
>> that is invisible. So fi you scroll rightwards, it will all become 
>> visible.
>
> And it helps to have a CSS layout that hides overflow text rather than 
> extending the column beyond screen width, which gives a display that's 
> much closer to the kwic format we're used to.
>
> Not sure whether you still have to patch the PHP code to make it work, 
> but I can send you the CSS that I use (the right trick was discovered 
> by Laurence for AntConc).
>
> Best,
> Stephanie
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20260430/2134e0da/attachment-0001.html>


More information about the CWB mailing list