[racket-users] Re: Build racket failure if I translate the text in racket/share/pkgs/scribble-lib/scribble/private/manual-bind.rkt

2018-09-09 Thread Oling Cat
OK, I should make this 
<https://github.com/racket/racket/blob/cd9071cb9b3edc534f78c64f8063848459c9dcd3/pkgs/racket-index/scribblings/main/private/make-search.rkt#L151>
 
change together.

On Friday, September 7, 2018 at 9:26:45 PM UTC+8, Oling Cat wrote:
>
> I'm translating the racket docs into Chinese and made some change in 
> scribble like this 
> <https://github.com/Racket-zh/scribble/commit/692a5ac0b3044238f1adf7c4c51fde34cd890f21>
> ,
> and it will cause follow errors:
>
> raco setup: rendering: /racket-index/scribblings/main/search.scrbl
>> make-script: internal error: unexpected tooltip
>>   context...:
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/pkgs/racket-index/scribblings/main/private/make-search.rkt:116:4:
>>  
>> for-loop
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/pkgs/racket-index/scribblings/main/private/make-search.rkt:64:0:
>>  
>> make-script
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:971:4:
>>  
>> render-content method in render%
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1528:4:
>>  
>> render-plain-content method in render-mixin
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:971:4:
>>  
>> render-content method in render%
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1188:4:
>>  
>> do-render-paragraph method in render-mixin
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1216:4:
>>  
>> render-intrapara-block method in render-mixin
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:917:4:
>>  
>> render-compound-paragraph method in render%
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1768:4:
>>  
>> render-compound-paragraph method in render-mixin
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1175:6:
>>  
>> loop
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1172:4:
>>  
>> render-flow* method in render-mixin
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1099:4:
>>  
>> render-part-content method in render-mixin
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:820:4:
>>  
>> render-one-part method in render-mixin
>>loop
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/contract-render.rkt:14:4:
>>  
>> render method in override-render-mixin
>>   
>>  
>> /home/cat/Source/Racket-zh/racket/pkgs/racket-index/setup/scribble.rkt:1431:3
>>... 
>
>
> I'm confusing that why the building will fail if I just replace some ASCII 
> strings with Unicode string? How to resolve it?
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Build racket failure if I translate the text in racket/share/pkgs/scribble-lib/scribble/private/manual-bind.rkt

2018-09-07 Thread Oling Cat
I'm translating the racket docs into Chinese and made some change in
scribble like this

,
and it will cause follow errors:

raco setup: rendering: /racket-index/scribblings/main/search.scrbl
> make-script: internal error: unexpected tooltip
>   context...:
>
>  
> /home/cat/Source/Racket-zh/racket/pkgs/racket-index/scribblings/main/private/make-search.rkt:116:4:
> for-loop
>
>  
> /home/cat/Source/Racket-zh/racket/pkgs/racket-index/scribblings/main/private/make-search.rkt:64:0:
> make-script
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:971:4:
> render-content method in render%
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1528:4:
> render-plain-content method in render-mixin
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:971:4:
> render-content method in render%
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1188:4:
> do-render-paragraph method in render-mixin
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1216:4:
> render-intrapara-block method in render-mixin
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:917:4:
> render-compound-paragraph method in render%
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1768:4:
> render-compound-paragraph method in render-mixin
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1175:6:
> loop
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1172:4:
> render-flow* method in render-mixin
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:1099:4:
> render-part-content method in render-mixin
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/html-render.rkt:820:4:
> render-one-part method in render-mixin
>loop
>
>  
> /home/cat/Source/Racket-zh/racket/racket/share/pkgs/scribble-lib/scribble/contract-render.rkt:14:4:
> render method in override-render-mixin
>
>  /home/cat/Source/Racket-zh/racket/pkgs/racket-index/setup/scribble.rkt:1431:3
>...


I'm confusing that why the building will fail if I just replace some ASCII
strings with Unicode string? How to resolve it?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.