🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.dtp.tex.gust
Article #27396

Re: [gust-l] [Q] zapętlony problem

#27396
From: Paweł Wlaź
Date: Thu, 30 Aug 2018 11:47
27 lines
1969 bytes

On Thu, 30 Aug 2018, jacek kmiecik wrote:

> W dniu 30.08.2018 o 02:08, Paweł Wlaź pisze:
>>   \def\fixbox#1{\expandafter\fik@#1@mik}
>
> Ja wiedziałem... że jakiś expandafter lub noexpand a może nie daj boże 
> afterassigment -- zawsze miałem kłopot z prawidłowym ich użyciem.
>
>> to zadziała to prawidłowo. Nie wiem czy dobrze to sobie tłumaczę, ale 
>> przetestowałem
>
> Nie ważne, ważne że zadziałało. A gdyby tak stopień skomplikowania podnieść? 
> Bo docelowo potrzebny jest skorowidz...
>
> \def\fix@#1 #2@mik{\mbox{#2 #1}\index{#2\space #1}}
>
> i tutaj już nie mam pojęcia gdzie sobie ten lewarek 
> expanafter/noexpand/afterass... sobie wsadzić ;)
>

Wydaje mi się, że ten jeden \expandafter wewnątrz definicji \fixbox 
wystarczy. A czy są jakieś konkretne problemy?

-- 
Paweł
Technical Details
Message-ID: <alpine.LNX.2.20.1808301344470.10778@mat.pol.lublin.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <0057ac77-22e9-06c0-5dbf-8f814b9ad4af@agh.edu.pl> <alpine.LNX.2.20.1808300204270.24973@mat.pol.lublin.pl> <37bee2ca-d62d-7b1c-5ca4-9f60ad366b40@agh.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Date: Thu, 30 Aug 2018 13:47:08 +0200 (CEST)
From: Paweł Wlaź <pwlaz@mat.pol.lublin.pl>
To: gust-l@man.torun.pl
Subject: Re: [gust-l] [Q] zapętlony problem
Organization: Polish Association GUST
Message-ID: <alpine.LNX.2.20.1808301344470.10778@mat.pol.lublin.pl>
References: <0057ac77-22e9-06c0-5dbf-8f814b9ad4af@agh.edu.pl> <alpine.LNX.2.20.1808300204270.24973@mat.pol.lublin.pl> <37bee2ca-d62d-7b1c-5ca4-9f60ad366b40@agh.edu.pl>
In-Reply-To: <37bee2ca-d62d-7b1c-5ca4-9f60ad366b40@agh.edu.pl>
MIME-Version: 1.0
Newsgroups: pl.comp.dtp.tex.gust
Reply-To: gust-l@man.torun.pl
Approved: mjsz@umk.pl
Lines: 30
NNTP-Posting-Host: 158.75.33.82
X-Trace: 1535629642 unt-rea-b-01.news.neostrada.pl 585 158.75.33.82:43636
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit